\section{U\-T\-I\-L\-:\-:L\-C\-T\-O\-O\-L\-S Class Reference}
\label{classUTIL_1_1LCTOOLS}\index{U\-T\-I\-L\-::\-L\-C\-T\-O\-O\-L\-S@{U\-T\-I\-L\-::\-L\-C\-T\-O\-O\-L\-S}}


Provides some basic functions for printing event data.  




{\ttfamily \#include $<$U\-T\-I\-L/\-L\-C\-T\-O\-O\-L\-S.\-h$>$}

\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void {\bf dump\-Event} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Event} $\ast$evt)
\begin{DoxyCompactList}\small\item\em Simple function to dump event contents to the screen. \end{DoxyCompactList}\item 
static void {\bf dump\-Event\-Detailed} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Event} $\ast$evt)\label{classUTIL_1_1LCTOOLS_a2028cc260669f1591ec6b8266032ac78}

\begin{DoxyCompactList}\small\item\em Dumps the whole event to the screen, using the dedicated print functions for the different collection types. \end{DoxyCompactList}\item 
static void {\bf dump\-Run\-Header} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Run\-Header} $\ast$run)\label{classUTIL_1_1LCTOOLS_a7f93585b2a7e86609200b0f01f82ad96}

\begin{DoxyCompactList}\small\item\em Simple function to dump the run header to the screen. \end{DoxyCompactList}\item 
static void {\bf print\-M\-C\-Particles} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a49979034f4b4b0315e125971dec4a4d2}

\begin{DoxyCompactList}\small\item\em Complete printout of all M\-C\-Particles in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Sim\-Tracker\-Hits} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a122c0dd48c97d5b8302bf40f9ee88ae7}

\begin{DoxyCompactList}\small\item\em Complete printout of all Sim\-Tracker\-Hits in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-T\-P\-C\-Hits} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_ad90dcec81dfbc2f65abc6a4c780c7a44}

\begin{DoxyCompactList}\small\item\em Complete printout of all T\-P\-C\-Hits in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Tracker\-Raw\-Data} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_ab54dbcdb7f0ae1514ffc0aee5e3f7fb5}

\begin{DoxyCompactList}\small\item\em Complete printout of all Tracker\-Raw\-Data objects in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Tracker\-Data} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a940c44427562223850fa13460f1692b6}

\begin{DoxyCompactList}\small\item\em Complete printout of all Tracker\-Data objects in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Tracker\-Pulse} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a7577051e1a879261bd020c72aa830168}

\begin{DoxyCompactList}\small\item\em Complete printout of all Tracker\-Pulse objects in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Tracker\-Hits} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a2017fb547f413d5ed7f0d6df28a252d8}

\begin{DoxyCompactList}\small\item\em Complete printout of all Tracker\-Hits in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Tracker\-Hit\-Plane} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_ae97e85bc1859c5c86b03c3a5dd6fedf5}

\begin{DoxyCompactList}\small\item\em Complete printout of all Tracker\-Hits in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Tracker\-Hit\-Z\-Cylinder} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_ac5e2516a0e287c9cc964a13fb382ae7b}

\begin{DoxyCompactList}\small\item\em Complete printout of all Tracker\-Hits in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Sim\-Calorimeter\-Hits} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a9d1c1e09d13f8e26f68ecd2c8f42214d}

\begin{DoxyCompactList}\small\item\em Complete printout of all Sim\-Calorimeter\-Hits in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Calorimeter\-Hits} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a74aec6cb5b78c86cf45860cc53d0f12e}

\begin{DoxyCompactList}\small\item\em Complete printout of all Calorimeter\-Hits in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Raw\-Calorimeter\-Hits} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a959ece01e604892ed701740c673cd45d}

\begin{DoxyCompactList}\small\item\em Complete printout of all Raw\-Calorimeter\-Hits in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-L\-C\-Float\-Vecs} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_aaa8c89f5d73f1bda06f940a765fad77d}

\begin{DoxyCompactList}\small\item\em Print L\-C\-Float\-Vec user extension vectors in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-L\-C\-Int\-Vecs} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a69fc708c659e1ee3266a26d88fa51588}

\begin{DoxyCompactList}\small\item\em Print L\-C\-Int\-Vecs user extension vectors in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-L\-C\-Str\-Vecs} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_abfc9c859da06125d6176390a6625715d}

\begin{DoxyCompactList}\small\item\em Print L\-C\-Str\-Vecs user extension vectors in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Tracks} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a675746cf9b79ebd28cdb0dac00d036a2}

\begin{DoxyCompactList}\small\item\em Complete printout of all Tracks in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Clusters} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_ac7c574b56c3d0cd397e278af0fe5a35c}

\begin{DoxyCompactList}\small\item\em Complete printout of all Clusters in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Vertices} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a54cabaa2023fba11c7c62cfdfd4d759d}

\begin{DoxyCompactList}\small\item\em Complete printout of all Vertices in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Reconstructed\-Particles} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a3c46508b0e7ff3eca78a81db721a2e67}

\begin{DoxyCompactList}\small\item\em Complete printout of all Reconstructed\-Particles in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-L\-C\-Generic\-Objects} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a9bfab2a5f5ebcbb7fdcd15fdb144eeb7}

\begin{DoxyCompactList}\small\item\em Complete printout of all L\-C\-Generic\-Objects in the collection. \end{DoxyCompactList}\item 
static void {\bf print\-Relation} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Collection} $\ast$col)\label{classUTIL_1_1LCTOOLS_a48659334591124b56a5c095ca1c46046}

\begin{DoxyCompactList}\small\item\em Print the relation. \end{DoxyCompactList}\item 
static void {\bf print\-Parameters} (const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Parameters} \&params)\label{classUTIL_1_1LCTOOLS_a69119d2ad07f3280f138dae899096866}

\begin{DoxyCompactList}\small\item\em Print the parameters. \end{DoxyCompactList}\item 
static std\-::string {\bf get\-Simulator\-Status\-String} (const {\bf E\-V\-E\-N\-T\-::\-M\-C\-Particle} $\ast$mcp=0)
\begin{DoxyCompactList}\small\item\em Returns a string describing the simulator flag bits set for this particle. \end{DoxyCompactList}\item 
static int {\bfseries print\-Daughter\-Particles} (const {\bf E\-V\-E\-N\-T\-::\-M\-C\-Particle} $\ast$part, int index)\label{classUTIL_1_1LCTOOLS_a828bb0ee194a8393a445e68eb87fffd3}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Provides some basic functions for printing event data. 

\begin{DoxyAuthor}{Author}
gaede 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
Mar 10, 2003 
\end{DoxyVersion}
\begin{DoxySeeAlso}{See Also}
L\-C\-Event 
\end{DoxySeeAlso}


\subsection{Member Function Documentation}
\index{U\-T\-I\-L\-::\-L\-C\-T\-O\-O\-L\-S@{U\-T\-I\-L\-::\-L\-C\-T\-O\-O\-L\-S}!dump\-Event@{dump\-Event}}
\index{dump\-Event@{dump\-Event}!UTIL::LCTOOLS@{U\-T\-I\-L\-::\-L\-C\-T\-O\-O\-L\-S}}
\subsubsection[{dump\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void U\-T\-I\-L\-::\-L\-C\-T\-O\-O\-L\-S\-::dump\-Event (
\begin{DoxyParamCaption}
\item[{const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Event} $\ast$}]{evt}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classUTIL_1_1LCTOOLS_ac14da465e915a1450c7ed8dc42d6bbdf}


Simple function to dump event contents to the screen. 

Also demonstrates the access to event data through the \doxyref{E\-V\-E\-N\-T}{p.}{namespaceEVENT} interface. This is only a short format -\/ one line per collection. 

References E\-V\-E\-N\-T\-::\-L\-C\-Event\-::get\-Collection(), E\-V\-E\-N\-T\-::\-L\-C\-Event\-::get\-Collection\-Names(), E\-V\-E\-N\-T\-::\-L\-C\-Event\-::get\-Detector\-Name(), E\-V\-E\-N\-T\-::\-L\-C\-Event\-::get\-Event\-Number(), E\-V\-E\-N\-T\-::\-L\-C\-Collection\-::get\-Number\-Of\-Elements(), E\-V\-E\-N\-T\-::\-L\-C\-Event\-::get\-Run\-Number(), and E\-V\-E\-N\-T\-::\-L\-C\-Collection\-::get\-Type\-Name().

\index{U\-T\-I\-L\-::\-L\-C\-T\-O\-O\-L\-S@{U\-T\-I\-L\-::\-L\-C\-T\-O\-O\-L\-S}!get\-Simulator\-Status\-String@{get\-Simulator\-Status\-String}}
\index{get\-Simulator\-Status\-String@{get\-Simulator\-Status\-String}!UTIL::LCTOOLS@{U\-T\-I\-L\-::\-L\-C\-T\-O\-O\-L\-S}}
\subsubsection[{get\-Simulator\-Status\-String}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string U\-T\-I\-L\-::\-L\-C\-T\-O\-O\-L\-S\-::get\-Simulator\-Status\-String (
\begin{DoxyParamCaption}
\item[{const {\bf E\-V\-E\-N\-T\-::\-M\-C\-Particle} $\ast$}]{mcp = {\ttfamily 0}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classUTIL_1_1LCTOOLS_a5e2f4855a1494b06a037c01e7f490874}


Returns a string describing the simulator flag bits set for this particle. 

If no M\-C\-Particle given a string describing the bits is returned\-:\par
 

References E\-V\-E\-N\-T\-::\-M\-C\-Particle\-::get\-Simulator\-Status(), E\-V\-E\-N\-T\-::\-M\-C\-Particle\-::has\-Left\-Detector(), E\-V\-E\-N\-T\-::\-M\-C\-Particle\-::is\-Backscatter(), E\-V\-E\-N\-T\-::\-M\-C\-Particle\-::is\-Created\-In\-Simulation(), E\-V\-E\-N\-T\-::\-M\-C\-Particle\-::is\-Decayed\-In\-Calorimeter(), E\-V\-E\-N\-T\-::\-M\-C\-Particle\-::is\-Decayed\-In\-Tracker(), E\-V\-E\-N\-T\-::\-M\-C\-Particle\-::is\-Overlay(), E\-V\-E\-N\-T\-::\-M\-C\-Particle\-::is\-Stopped(), and E\-V\-E\-N\-T\-::\-M\-C\-Particle\-::vertex\-Is\-Not\-Endpoint\-Of\-Parent().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
U\-T\-I\-L/\-L\-C\-T\-O\-O\-L\-S.\-h\item 
L\-C\-T\-O\-O\-L\-S.\-cc\end{DoxyCompactItemize}
