\section{marlintpc\-:\-:Cloud\-To\-Sim\-Tracker\-Hit\-Processor Class Reference}
\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor}\index{marlintpc\-::\-Cloud\-To\-Sim\-Tracker\-Hit\-Processor@{marlintpc\-::\-Cloud\-To\-Sim\-Tracker\-Hit\-Processor}}


\doxyref{Cloud\-To\-Sim\-Tracker\-Hit\-Processor}{p.}{classmarlintpc_1_1CloudToSimTrackerHitProcessor}\-: This processor takes as input a collection of T\-P\-C\-Electron\-Clouds and returns a collection of Sim\-Tracker\-Hits.  




{\ttfamily \#include $<$Cloud\-To\-Sim\-Tracker\-Hit\-Processor.\-h$>$}

Inheritance diagram for marlintpc\-:\-:Cloud\-To\-Sim\-Tracker\-Hit\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlintpc_1_1CloudToSimTrackerHitProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_a27729f6c7e3e62ad2a3803957d6eeddb}

\item 
virtual void {\bfseries init} ()\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_aa0b64f56bece0a9a8c842a7f3978d6c2}

\item 
virtual void {\bfseries process\-Run\-Header} (lcio\-::\-L\-C\-Run\-Header $\ast$run)\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_a153fe3faf5d904543020f3b272b0bdcc}

\item 
virtual void {\bfseries process\-Event} (lcio\-::\-L\-C\-Event $\ast$evt)\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_a341944753498c7a6e091b698364fb0c1}

\item 
virtual void {\bfseries check} (lcio\-::\-L\-C\-Event $\ast$evt)\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_a539e78bdbdd6078cc4df67c564f0b1bd}

\item 
virtual void {\bfseries end} ()\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_a75373e8a38ca36397d83c78800ba9f81}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bfseries Distribute\-Electrons} (double $\ast$pos, double \&time, double difftrans, double difflong)\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_ac805337a66182d38094e8cc448aebc5d}

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

\begin{DoxyCompactList}\small\item\em Name of the input collection. \end{DoxyCompactList}\item 
std\-::string {\bf \-\_\-output\-Col\-Name}\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_a09750ac7a7f4e97c4544c49fd3c9ba71}

\begin{DoxyCompactList}\small\item\em Name of the output collection. \end{DoxyCompactList}\item 
bool {\bf \-\_\-single\-Electrons}\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_a110a984e1cecc9d6288102a14422a2af}

\begin{DoxyCompactList}\small\item\em If true for n electrons in the cloud n Sim\-Tracker\-Hits with E\-Dep=2.\-6e-\/08 are produced. \end{DoxyCompactList}\item 
double {\bf \-\_\-ionisation\-Energy}\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_a3a2a85af4dffd9fd6869a922f1445d37}

\begin{DoxyCompactList}\small\item\em The ionisation energy of the drift gas. \end{DoxyCompactList}\item 
gsl\-\_\-rng $\ast$ {\bf \-\_\-r}\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_a54284f2a382bc894a8519373098ad3eb}

\begin{DoxyCompactList}\small\item\em Random generator for landau and gaussian. \end{DoxyCompactList}\item 
double {\bf \-\_\-vdrift}\label{classmarlintpc_1_1CloudToSimTrackerHitProcessor_ab1dbc9204cc3ffcc1c69bc93a7e1dfac}

\begin{DoxyCompactList}\small\item\em Drift velocity used to calculate the time step in Distibute\-Electrons. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\doxyref{Cloud\-To\-Sim\-Tracker\-Hit\-Processor}{p.}{classmarlintpc_1_1CloudToSimTrackerHitProcessor}\-: This processor takes as input a collection of T\-P\-C\-Electron\-Clouds and returns a collection of Sim\-Tracker\-Hits. 

This collection can be used e.\-g. by the digitisation/\-G\-E\-M\-Processor. In order to convert the T\-P\-C\-Cloud into Sim\-Tracker\-Hits the longitudinal and transverse diffusion of the cloud is used to distibute the electrons of the cloud randomly (gaus). Thus a cloud with n electrons results on n Sim\-Tracker\-Hits with E\-Dep of the ionisation energy of the drift gas. The default corresponds to the ionization energy of Ar. It is also possible to create only one Sim\-Tracker\-Hit for each cloud with E\-Dep=n$\ast$2.6e-\/08. The drift velocity is needed to calculate the time step after the z step corresponding to the longitudinal diffusion was set. //\-T\-O\-D\-O\-: change this to be used with other gases

\begin{DoxyAuthor}{Author}
Klaus Zenker, D\-E\-S\-Y 
\end{DoxyAuthor}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Cloud\-To\-Sim\-Tracker\-Hit\-Processor.\-h\item 
Cloud\-To\-Sim\-Tracker\-Hit\-Processor.\-cc\end{DoxyCompactItemize}
