\section{C\-E\-D\-Viewer Class Reference}
\label{classCEDViewer}\index{C\-E\-D\-Viewer@{C\-E\-D\-Viewer}}


L\-C\-I\-O collection based viewer for C\-E\-D event dislplay (A.  




{\ttfamily \#include $<$C\-E\-D\-Viewer.\-h$>$}

Inheritance diagram for C\-E\-D\-Viewer\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classCEDViewer}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classCEDViewer_af94ee3981e43433b081e5f453a7b46f5}

\item 
virtual void {\bf init} ()
\begin{DoxyCompactList}\small\item\em Called at the begin of the job before anything is read. \end{DoxyCompactList}\item 
virtual void {\bf process\-Run\-Header} (L\-C\-Run\-Header $\ast$run)\label{classCEDViewer_a5233a3819354313271c1ea2646b66f70}

\begin{DoxyCompactList}\small\item\em Called for every run. \end{DoxyCompactList}\item 
virtual void {\bf process\-Event} (L\-C\-Event $\ast$evt)\label{classCEDViewer_a7e5ef6b58f61f4b9e21d3b7a3208482d}

\begin{DoxyCompactList}\small\item\em Called for every event -\/ the working horse. \end{DoxyCompactList}\item 
virtual void {\bfseries check} (L\-C\-Event $\ast$evt)\label{classCEDViewer_aeee7e938f1423492a6937ce29b7fee99}

\item 
virtual void {\bf end} ()\label{classCEDViewer_a968d3f250660152ba6c7abffb1ea2e16}

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\item 
void {\bfseries print\-Particle} (int id, L\-C\-Event $\ast$evt)\label{classCEDViewer_aa77aa7322d4b9c4cdf749a3ff2cae8c3}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
String\-Vec {\bf \-\_\-draw\-Collections}\label{classCEDViewer_a4ba51bd0e58799217d63ccda99a85cc8}

\begin{DoxyCompactList}\small\item\em Input collection name. \end{DoxyCompactList}\item 
String\-Vec {\bfseries \-\_\-draw\-Collections\-Layer}\label{classCEDViewer_ae843b111e827503ef4fd5d39f095335b}

\item 
bool {\bfseries \-\_\-using\-Particle\-Gun}\label{classCEDViewer_a75f45e042cbc9a55418cb4a6de5d6c3a}

\item 
int {\bfseries \-\_\-draw\-Helix\-For\-Tracks}\label{classCEDViewer_aa757a83a7733609d0ac07055c89a8974}

\item 
int {\bfseries \-\_\-draw\-Detector\-I\-D}\label{classCEDViewer_a494cf803193034bcd01a29570cb2a42c}

\item 
int {\bfseries \-\_\-color\-Scheme}\label{classCEDViewer_ac067a559a278e4f018553a45874289f6}

\item 
float {\bfseries \-\_\-mcp\-E\-Cut}\label{classCEDViewer_a3a4ab311866d299d441ad6c8fcbe7602}

\item 
float {\bfseries \-\_\-helix\-\_\-max\-\_\-r}\label{classCEDViewer_ac76586dee83b0bf848fa6892447ac1e5}

\item 
float {\bfseries \-\_\-helix\-\_\-max\-\_\-z}\label{classCEDViewer_a7269a74085bc017f696903c7f325cbca}

\item 
bool {\bfseries \-\_\-use\-T\-P\-C\-For\-Limits\-Of\-Helix}\label{classCEDViewer_aa819004850245456b0f4eaadab68d309}

\item 
int {\bfseries \-\_\-wait\-For\-Keyboard}\label{classCEDViewer_a04f8d967bb5bbbc230a291c9004fcd12}

\item 
int {\bfseries \-\_\-draw\-Helix\-For\-P\-F\-Os}\label{classCEDViewer_a170108cfe8c2f95b5c3f60ebc1881d68}

\item 
int {\bfseries \-\_\-use\-Color\-For\-Helix\-Tracks}\label{classCEDViewer_aa7572a2cc43e486b539a1653bc76f709}

\item 
Int\-Vec {\bfseries \-\_\-colors}\label{classCEDViewer_a6311062113b64806cfbcffac454b8581}

\item 
int {\bfseries \-\_\-n\-Run}\label{classCEDViewer_ac0c8c05d9ea3954d8106ab5bfd894e35}

\item 
int {\bfseries \-\_\-n\-Evt}\label{classCEDViewer_a4c87247731f1feb0c95b1472e669b3f4}

\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
static const int {\bfseries ncol} = 20\label{classCEDViewer_aaed9dc9d019f89883f5f68f791577c45}

\item 
static const int {\bfseries nscheme} = 10\label{classCEDViewer_ae8bd00a814889b4c2744dc572a8c2639}

\item 
static const int {\bfseries Red} = 0\label{classCEDViewer_a688bd66ae143b899f592563ddb03377c}

\item 
static const int {\bfseries Orange} = 1\label{classCEDViewer_ac8b688c64574adf37744f8f51b4931dd}

\item 
static const int {\bfseries Plum} = 2\label{classCEDViewer_a84719c90429bb909d10fe9b5bd6aa71c}

\item 
static const int {\bfseries Violet} = 3\label{classCEDViewer_ab32999435e497e85c36af671cdfa380e}

\item 
static const int {\bfseries Blue} = 4\label{classCEDViewer_a4fd1e6fd04af2a6b152aeebf8c8ecc84}

\item 
static const int {\bfseries Light\-Blue} = 5\label{classCEDViewer_a3c25fd72693991bafbbf70b21995696d}

\item 
static const int {\bfseries Aquamarine} = 6\label{classCEDViewer_a582dc023ffcfad0c8c426707293864f4}

\item 
static const int {\bfseries Green} = 7\label{classCEDViewer_a427e4e169b58b8e27867063a825d4bc9}

\item 
static const int {\bfseries Olive} = 8\label{classCEDViewer_ad49008436cae8747cf82f3d2db20dfce}

\item 
static const int {\bfseries Yellow} = 9\label{classCEDViewer_a43edc0a85be557ee9d1e343d8a0a0fc3}

\item 
static const int {\bfseries Dark} = 10\label{classCEDViewer_ae39595750862a3a01e1a91472f8bf82d}

\item 
static const int {\bfseries Light} = 11\label{classCEDViewer_a12eff06d107845d1d14a75b3dd9c8b1c}

\item 
static const int {\bfseries Classic} = 12\label{classCEDViewer_a0cfb13a8e48b20560f9e65e69c13c0a1}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
L\-C\-I\-O collection based viewer for C\-E\-D event dislplay (A. 

Zhelezov). Define the collection name, marker, size and optionally the layer number in the steering file. For 'Draw\-Collection' a default layer number in C\-E\-D is chosen.


\begin{DoxyParams}{Parameters}
{\em Draw\-Collection} & -\/ collection to be displayed ( Col\-Name, marker type[0-\/2] ) \\
\hline
{\em Draw\-In\-Layer} & -\/ collection to be displayed ( Col\-Name, marker type[0-\/2], size)\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
F.\-Gaede, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{C\-E\-D\-Viewer.\-h}{p.}{CEDViewer_8h_source} 4773 2015-\/02-\/27 09\-:01\-:23\-Z gaede 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{C\-E\-D\-Viewer@{C\-E\-D\-Viewer}!init@{init}}
\index{init@{init}!CEDViewer@{C\-E\-D\-Viewer}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void C\-E\-D\-Viewer\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classCEDViewer_a03fcf3a115c6589ea8a3c8902ac3a750}


Called at the begin of the job before anything is read. 

Use to initialize the processor, e.\-g. book histograms. 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
C\-E\-D\-Viewer.\-h\item 
C\-E\-D\-Viewer.\-cc\end{DoxyCompactItemize}
