\section{New\-F\-T\-D\-Digi\-Processor Class Reference}
\label{classNewFTDDigiProcessor}\index{New\-F\-T\-D\-Digi\-Processor@{New\-F\-T\-D\-Digi\-Processor}}


======= F\-T\-Digi\-Processor ========== \par
 Produces F\-T\-D Tracker\-Hit collection from Sim\-Tracker\-Hit collection.  




{\ttfamily \#include $<$New\-F\-T\-D\-Digi\-Processor.\-h$>$}

Inheritance diagram for New\-F\-T\-D\-Digi\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classNewFTDDigiProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classNewFTDDigiProcessor_a617bb6061f4cb9708e9330801bf2731e}

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

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

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

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

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-col\-Name}\label{classNewFTDDigiProcessor_a99fe417432fdb9fbcfbc4d32385064bb}

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

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

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

\item 
int {\bfseries \-\_\-min\-Id\-Strip}\label{classNewFTDDigiProcessor_ab8d164be60e51a190c192d924119c001}

\item 
float {\bfseries \-\_\-point\-Reso\-Pixel}\label{classNewFTDDigiProcessor_a1ededd7c76d03e06e30a5dab2a46709e}

\item 
float {\bfseries \-\_\-point\-Reso\-Strip}\label{classNewFTDDigiProcessor_a9ec2415b10cf400842a0681255bd6733}

\item 
float {\bfseries \-\_\-point\-Reso\-Strip\-Phi}\label{classNewFTDDigiProcessor_aca5c0bd942f7cfa02e5f82ca9735a065}

\item 
float {\bfseries \-\_\-mom\-Cut}\label{classNewFTDDigiProcessor_a5be1c9945a66c5c86c5925d783f39dfc}

\item 
float {\bfseries \-\_\-max\-Pixel\-Z}\label{classNewFTDDigiProcessor_a359e7abd0e7e8c2629f7e214b1853cf6}

\item 
int {\bfseries \-\_\-remove\-Drays}\label{classNewFTDDigiProcessor_adcc004496abc1ccf8af3501ad4ffe11c}

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

\item 
F\-T\-D\-Layer $\ast$ {\bfseries \-\_\-ftd\-Layers}\label{classNewFTDDigiProcessor_a1fa6d1c5e84ab9278bd8a2e4f7bb4214}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
======= F\-T\-Digi\-Processor ========== \par
 Produces F\-T\-D 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. Each created Tracker\-Hit is assigned the type via method Tracker\-Hit\-Impl\-::set\-Type(int type). The F\-T\-D Tracker\-Hit type is encoded in the following way \-: \par
 type = 200 + layer\-\_\-index\-\_\-ftd for vertex hits (layer\-\_\-index\-\_\-ftd = 1...7) \par
 To access this type use method Tracker\-Hit\-::get\-Type() \par
 \subparagraph*{Input collections and prerequisites}

Processor requires collections of Sim\-Tracker\-Hits in F\-T\-D \par
 \subparagraph*{Output}

Processor produces collection of digitized Tracker\-Hits in F\-T\-D \par
 
\begin{DoxyParams}{Parameters}
{\em Collection\-Name} & The name of input collection of F\-T\-D Sim\-Tracker\-Hits \par
 (default name ftd01\-\_\-\-V\-X\-D) \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 F\-T\-D planar detectors (in mm) \par
 (default value 0.\-01) \par
 \\
\hline
{\em Remove\-Drays} & When this flag is set to 1 hits produced by delta-\/electrons are removed from output collections \par
 (default value 0) \par
 \\
\hline
{\em Momentum\-Cut\-For\-D\-Rays} & The upper cut on delta-\/electron momentum (in Me\-V) \par
 (default value 10) \par
 \par
 \\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
A. Raspereza, M\-P\-I (Munich)  by J. Duarte Campderros, I\-F\-C\-A (Santander) Smearing done in R\-Phi instead of X-\/\-Y  by M Battaglia (C\-E\-R\-N \& U\-C\-S\-C) Adapted for use with C\-L\-I\-C-\/\-I\-L\-D fwd layout 
\end{DoxyAuthor}


\subsection{Member Function Documentation}
\index{New\-F\-T\-D\-Digi\-Processor@{New\-F\-T\-D\-Digi\-Processor}!init@{init}}
\index{init@{init}!NewFTDDigiProcessor@{New\-F\-T\-D\-Digi\-Processor}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}virtual void New\-F\-T\-D\-Digi\-Processor\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classNewFTDDigiProcessor_a6c8af85954a8be81c718c9951ecf77dc}


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 file\-:\begin{DoxyCompactItemize}
\item 
New\-F\-T\-D\-Digi\-Processor.\-h\end{DoxyCompactItemize}
