<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\section{D\-D\-C\-E\-D\-Viewer Class Reference}
\label{classDDCEDViewer}\index{D\-D\-C\-E\-D\-Viewer@{D\-D\-C\-E\-D\-Viewer}}
Inheritance diagram for D\-D\-C\-E\-D\-Viewer\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classDDCEDViewer}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classDDCEDViewer_ab172a2e00567e6f43ba9a535be1886b5}

\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{classDDCEDViewer_abecd4bb7d6abce955646a5a1fbcdeaaa}

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

\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{classDDCEDViewer_a6395ff9de2891c94983aa7f2212e7130}

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

\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{classDDCEDViewer_a9e7d23b6579a1dd15bb4d3b74b050493}

\item 
bool {\bfseries detailled\-Drawing} (std\-::string det\-Name)\label{classDDCEDViewer_a508be6ea6c70f0c9158db47928aa2e80}

\item 
void {\bf draw\-D\-D4\-L\-C\-I\-O} (L\-C\-Event $\ast$evt, D\-D4hep\-::\-Geometry\-::\-L\-C\-D\-D \&amp;lcdd)
\begin{DoxyCompactList}\small\item\em L\-C\-I\-O collection based viewer function for C\-E\-D event dislplay (A. \end{DoxyCompactList}\item 
void {\bfseries draw\-Cluster} (D\-D4hep\-::\-Geometry\-::\-L\-C\-D\-D \&amp;lcdd, int \&amp;layer, unsigned \&amp;np, std\-::string col\-Name, int \&amp;marker, L\-C\-Collection $\ast$col, int \&amp;size)\label{classDDCEDViewer_adaa11e6f81e4b30224278c12c792f8ae}

\item 
void {\bfseries draw\-Track} (D\-D4hep\-::\-Geometry\-::\-L\-C\-D\-D \&amp;lcdd, int \&amp;layer, unsigned \&amp;np, std\-::string col\-Name, int \&amp;marker, L\-C\-Collection $\ast$col, int \&amp;size)\label{classDDCEDViewer_a1a5da4b2d52628d196ac3724fbb199de}

\item 
void {\bfseries draw\-M\-C\-Particle} (D\-D4hep\-::\-Geometry\-::\-L\-C\-D\-D \&amp;lcdd, int \&amp;layer, unsigned \&amp;np, std\-::string col\-Name, int \&amp;marker, L\-C\-Collection $\ast$col, int \&amp;size)\label{classDDCEDViewer_a63305e1fb7719050f52f72e6fa78ecc8}

\item 
void {\bfseries draw\-S\-I\-M\-Tracker\-Hit} (int \&amp;layer, unsigned \&amp;np, std\-::string col\-Name, int \&amp;marker, L\-C\-Collection $\ast$col, std\-::vector$&lt;$ int $&gt;$ \&amp;\-\_\-colors, int \&amp;size)\label{classDDCEDViewer_abc006dc2901c8d55d341cbb08d348c6c}

\item 
void {\bfseries draw\-S\-I\-M\-Calorimeter\-Hit} (int \&amp;layer, unsigned \&amp;np, std\-::string col\-Name, int \&amp;marker, L\-C\-Collection $\ast$col, std\-::vector$&lt;$ int $&gt;$ \&amp;\-\_\-colors, int \&amp;size)\label{classDDCEDViewer_abb6b60a9d3ee84bb6ab83c6aa193c0b5}

\item 
void {\bfseries draw\-Tracker\-Hit} (int \&amp;layer, unsigned \&amp;np, std\-::string col\-Name, int \&amp;marker, L\-C\-Collection $\ast$col, int \&amp;size)\label{classDDCEDViewer_a67d245ca2a8b1e42c641e6ebfb67a062}

\item 
void {\bfseries draw\-Calorimeter\-Hit} (int \&amp;layer, unsigned \&amp;np, std\-::string col\-Name, int \&amp;marker, L\-C\-Collection $\ast$col, int \&amp;size)\label{classDDCEDViewer_abdfd01182232e085cb7f4414dc54f6a2}

\item 
void {\bfseries draw\-Reconstructed\-Particle} (D\-D4hep\-::\-Geometry\-::\-L\-C\-D\-D \&amp;lcdd, int \&amp;layer, unsigned \&amp;np, std\-::string col\-Name, int \&amp;marker, L\-C\-Collection $\ast$col, int \&amp;size)\label{classDDCEDViewer_a57b3d703311beba4d92190592902a8b9}

\item 
void {\bfseries draw\-Jets} (D\-D4hep\-::\-Geometry\-::\-L\-C\-D\-D \&amp;lcdd, int layer, std\-::string col\-Name, L\-C\-Collection $\ast$col)\label{classDDCEDViewer_a27cca4900e0a8010f0597b09a032d7c4}

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

\item 
String\-Vec {\bfseries \-\_\-draw\-Collections\-Layer}\label{classDDCEDViewer_a77964575d59adaa0bec980a1d4b022a6}

\item 
std\-::vector$&lt;$ {\bf Draw\-Parameters} $&gt;$ {\bfseries draw\-Parameters}\label{classDDCEDViewer_ae8cec04de60fca97710577cf75bd36aa}

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

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

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

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

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

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

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

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

\item 
bool {\bfseries \-\_\-use\-Tracker\-For\-Limits\-Of\-Helix}\label{classDDCEDViewer_aef9a071625180f2306ab7f81eb676413}

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

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

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

\item 
int {\bfseries \-\_\-draw\-Ellipsoid\-For\-P\-F\-O\-Clusters}\label{classDDCEDViewer_af64e39fec3f35d8bc27ce2bc1adcffc0}

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

\item 
bool {\bfseries \-\_\-begin}\label{classDDCEDViewer_a5f6746f3566c9b1043fc41270a6e4972}

\item 
String\-Vec {\bfseries \-\_\-detailled}\label{classDDCEDViewer_a8ab7bd2cebac8f9df0f2c837cc51bc21}

\item 
String\-Vec {\bfseries \-\_\-jets}\label{classDDCEDViewer_a999304070dbca19fa244bff9191202d8}

\item 
bool {\bfseries \-\_\-surfaces}\label{classDDCEDViewer_a2de9e16ed40a74402cd97a5db8049251}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\index{D\-D\-C\-E\-D\-Viewer@{D\-D\-C\-E\-D\-Viewer}!draw\-D\-D4\-L\-C\-I\-O@{draw\-D\-D4\-L\-C\-I\-O}}
\index{draw\-D\-D4\-L\-C\-I\-O@{draw\-D\-D4\-L\-C\-I\-O}!DDCEDViewer@{D\-D\-C\-E\-D\-Viewer}}
\subsubsection[{draw\-D\-D4\-L\-C\-I\-O}]{\setlength{\rightskip}{0pt plus 5cm}void D\-D\-C\-E\-D\-Viewer\-::draw\-D\-D4\-L\-C\-I\-O (
\begin{DoxyParamCaption}
\item[{L\-C\-Event $\ast$}]{evt, }
\item[{D\-D4hep\-::\-Geometry\-::\-L\-C\-D\-D \&amp;}]{lcdd}
\end{DoxyParamCaption}
)}\label{classDDCEDViewer_ae9cf8567d61add81f5a44c0c55764a0e}


L\-C\-I\-O collection based viewer function 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} &amp; -\/ collection to be displayed ( Col\-Name, marker type[0-\/2] ) \\
\hline
{\em Draw\-In\-Layer} &amp; -\/ 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}


Modified original code by Thorben Quast (C\-E\-R\-N Summer Student 2015) on 07 August 2015.
\begin{DoxyItemize}
\item removed G\-E\-A\-R dependence
\item refactored drawing of straight lines up to calorimeters 
\end{DoxyItemize}

Referenced by process\-Event().

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


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 
D\-D\-C\-E\-D\-Viewer.\-h\item 
D\-D\-C\-E\-D\-Viewer.\-cc\end{DoxyCompactItemize}
</pre></body></html>