\section{Simple\-Disc\-Digi\-Processor Class Reference}
\label{classSimpleDiscDigiProcessor}\index{Simple\-Disc\-Digi\-Processor@{Simple\-Disc\-Digi\-Processor}}


======= \doxyref{Simple\-Disc\-Digi\-Processor}{p.}{classSimpleDiscDigiProcessor} ========== \par
 Produces a Tracker\-Hit collection from Sim\-Tracker\-Hit collection.  




{\ttfamily \#include $<$Simple\-Disc\-Digi\-Processor.\-h$>$}

Inheritance diagram for Simple\-Disc\-Digi\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classSimpleDiscDigiProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classSimpleDiscDigiProcessor_a7b20533e7a3650d2e05b06b129a8e067}

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

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

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

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

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bfseries process\-\_\-hits\-\_\-loi} (L\-C\-Event $\ast$evt, L\-C\-Collection $\ast$S\-T\-Hcol)\label{classSimpleDiscDigiProcessor_af4968ed21cbc98246dd1182f0274a689}

\item 
void {\bfseries process\-\_\-hits\-\_\-new} (L\-C\-Event $\ast$evt, L\-C\-Collection $\ast$S\-T\-Hcol)\label{classSimpleDiscDigiProcessor_ab09b9d021295736fbdc679d4966cb18a}

\item 
bool {\bfseries has\-Correct\-Z\-Pos} (Sim\-Tracker\-Hit $\ast$hit)\label{classSimpleDiscDigiProcessor_ac0b19bec8ce6fcef5f4de17f540f2d11}

\item 
int {\bfseries get\-Petal\-Number} (int layer, double x, double y)\label{classSimpleDiscDigiProcessor_a6a51c033e79771be34073a6308cb373d}

\item 
int {\bfseries get\-Sensor\-Number} (int layer, double x, double y)\label{classSimpleDiscDigiProcessor_a5ba3750c4cdaccfe444fd118ea82cd1e}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-in\-Col\-Name}\label{classSimpleDiscDigiProcessor_a03f6eff36ea1145545c806078d25ca98}

\begin{DoxyCompactList}\small\item\em Input collection name. \end{DoxyCompactList}\item 
std\-::string {\bfseries \-\_\-out\-Col\-Name}\label{classSimpleDiscDigiProcessor_abc7796910464152b489f3884be75506a}

\item 
std\-::string {\bfseries \-\_\-out\-Rel\-Col\-Name}\label{classSimpleDiscDigiProcessor_a34c60dae2098647b82f89a33b182ff74}

\item 
int {\bfseries \-\_\-sub\-\_\-det\-\_\-id}\label{classSimpleDiscDigiProcessor_a74e5dc14d077a3824d1a2fa93a81229d}

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

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

\item 
bool {\bfseries \-\_\-\-Sim\-Hits\-\_\-encoded\-\_\-with\-\_\-cell\-I\-D}\label{classSimpleDiscDigiProcessor_adfcdea7613c425bb660a2aff9de26a1c}

\item 
bool {\bfseries \-\_\-use\-\_\-\-F\-T\-D\-Layer\-Layout\-\_\-from\-\_\-\-G\-E\-A\-R}\label{classSimpleDiscDigiProcessor_ac757469cb0f31b677967c5280e316885}

\item 
float {\bfseries \-\_\-point\-Reso}\label{classSimpleDiscDigiProcessor_a9e98e109e10b9796ce0cd3b18bc7f15e}

\item 
bool {\bfseries \-\_\-keep\-Hits\-From\-Deltas}\label{classSimpleDiscDigiProcessor_a1732cd09b7f73fd5c15e4898ef5fab2e}

\item 
std\-::vector$<$ double $>$ {\bfseries \-\_\-\-F\-T\-D\-Z\-Coordinate}\label{classSimpleDiscDigiProcessor_adab5283625e234c0fb2c6f1c8d3ab537}

\item 
std\-::vector$<$ double $>$ {\bfseries \-\_\-disk\-Inner\-Radius}\label{classSimpleDiscDigiProcessor_aa777c5067e1244dfded5ff25b13e07df}

\item 
std\-::vector$<$ double $>$ {\bfseries \-\_\-disk\-Outer\-Radius}\label{classSimpleDiscDigiProcessor_aa78447b2382ac462fa2362cd06dbb55b}

\item 
int {\bfseries \-\_\-petals\-Per\-Disk}\label{classSimpleDiscDigiProcessor_a4da580af7485ca37f9681a1be597d1fb}

\item 
int {\bfseries \-\_\-sensors\-Per\-Petal}\label{classSimpleDiscDigiProcessor_abdaa40e60c4081142195241acc871547}

\item 
gsl\-\_\-rng $\ast$ {\bfseries r}\label{classSimpleDiscDigiProcessor_ae0657d2c2f5c85f0d278a39818f9aad3}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
======= \doxyref{Simple\-Disc\-Digi\-Processor}{p.}{classSimpleDiscDigiProcessor} ========== \par
 Produces a Tracker\-Hit collection from Sim\-Tracker\-Hit collection. 

\par
 The positions of \char`\"{}digitized\char`\"{} Tracker\-Hits are obtained by gaussian smearing positions of Sim\-Tracker\-Hits in (x,y) plane according to the specified point resolution. \subparagraph*{Input collections and prerequisites}

Processor requires collections of Sim\-Tracker\-Hits \par
 \subparagraph*{Output}

Processor produces collection of smeared Tracker\-Hits \par
 
\begin{DoxyParams}{Parameters}
{\em Collection\-Name} & The name of input collection of the Sim\-Tracker\-Hits \par
 (default name F\-T\-D\-Collection) \par
 \\
\hline
{\em Output\-Collection\-Name} & The name of output collection of Tracker\-Hits \par
 (default name F\-T\-D\-Tracker\-Hits) \par
 \\
\hline
{\em Point\-Resolution} & Point resolution in (x,y) for the planar detectors (in mm) \par
 (default value 0.\-01) \par
 \\
\hline
{\em Sub\-\_\-\-Detector\-\_\-\-I\-D} & I\-D of Sub-\/\-Detector using U\-T\-I\-L/\-I\-L\-D\-Conf.\-h from lcio \par
 (default value lcio\-::\-I\-L\-D\-Det\-I\-D\-::\-F\-T\-D) \par
 \\
\hline
{\em keep\-Hits\-From\-Deltas} & Whether to include hits from secondary particles. Mokka also stores hits from secondary particles. Due to the way they are created by Sensitive\-Detector class in Mokka they are not on the exact detector measurement surface as the surface of a hit is calculated as (entrypoint+exitpoint)/2. Secondary particles however come to existence within the silicon and will die there too. So their entry point is not really the beginning of the silicon but already within. The same is true for the exit point. The middle between them is therefore usually not at the exact z-\/postion of the detector measurement plane. So only if keep\-Hits\-From\-Deltas is set to true, will hits with a z-\/position not corresponding to the measurement plane produce Tracker\-Hits. \par
 (default value false) \par
\\
\hline
{\em Petals\-Per\-Disk} & The number of petals per disk. (Although there are no real petals implemented, hits get a Cell\-I\-D0 corresponding to the petal they would be on.) A value of 1 means there is only one petal spanning the whole disk. The petals start from the x-\/axis with the beginning of the first petal aligned with the axis. \par
 (default value 1) \par
\\
\hline
{\em Sensors\-Per\-Petal} & The number of sensors per Petal. A petal will be split up into n Sensors, equally distributed. So if the values is 1, there will be one sensor filling the whole petal. If the value is 2, there will be two sensors, splitting the petal at (Rmin-\/\-Rmax)/2. As this digitiser simulates a Pixel\-Disk, there there are no sensors at the back. \par
 (default value 1) \par
 \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{Simple\-Disc\-Digi\-Processor@{Simple\-Disc\-Digi\-Processor}!init@{init}}
\index{init@{init}!SimpleDiscDigiProcessor@{Simple\-Disc\-Digi\-Processor}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void Simple\-Disc\-Digi\-Processor\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classSimpleDiscDigiProcessor_a9346c62d45078c6eb3ef8b19e6952182}


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 
Simple\-Disc\-Digi\-Processor.\-h\item 
Simple\-Disc\-Digi\-Processor.\-cc\end{DoxyCompactItemize}
