\section{D\-D\-Planar\-Digi\-Processor Class Reference}
\label{classDDPlanarDigiProcessor}\index{D\-D\-Planar\-Digi\-Processor@{D\-D\-Planar\-Digi\-Processor}}


======= \doxyref{D\-D\-Planar\-Digi\-Processor}{p.}{classDDPlanarDigiProcessor} ========== \par
 Creates Tracker\-Hits from Sim\-Tracker\-Hits, smearing them according to the input parameters.  




{\ttfamily \#include $<$D\-D\-Planar\-Digi\-Processor.\-h$>$}

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

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

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

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

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

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

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

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

\item 
std\-::string {\bfseries \-\_\-sub\-Det\-Name}\label{classDDPlanarDigiProcessor_a667406d940fe6b3dd1bc5ccb45676fe9}

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

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

\item 
Float\-Vec {\bfseries \-\_\-res\-U}\label{classDDPlanarDigiProcessor_a6731fc7e1640c5383429b166361a0411}

\item 
Float\-Vec {\bfseries \-\_\-res\-V}\label{classDDPlanarDigiProcessor_a11ca3418fd913fbb266efe9298877587}

\item 
bool {\bfseries \-\_\-is\-Strip}\label{classDDPlanarDigiProcessor_af7d02a599d6113a3900d3bb2362ebf53}

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

\item 
const D\-D4hep\-::\-D\-D\-Rec\-::\-Surface\-Map $\ast$ {\bfseries \-\_\-map}\label{classDDPlanarDigiProcessor_afc2ce984c1633aeec26135494f89c619}

\item 
bool {\bfseries \-\_\-force\-Hits\-Onto\-Surface}\label{classDDPlanarDigiProcessor_a95b14437d59361867615698eaf5377c4}

\item 
std\-::vector$<$ T\-H1\-F $\ast$ $>$ {\bfseries \-\_\-h}\label{classDDPlanarDigiProcessor_aea99be03aeab77c8f22342b615597d96}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
======= \doxyref{D\-D\-Planar\-Digi\-Processor}{p.}{classDDPlanarDigiProcessor} ========== \par
 Creates Tracker\-Hits from Sim\-Tracker\-Hits, smearing them according to the input parameters. 

The positions of \char`\"{}digitized\char`\"{} Tracker\-Hits are obtained by gaussian smearing positions of Sim\-Tracker\-Hits perpendicular and along the ladder according to the specified point resolutions. The geometry of the surface is retreived from D\-D\-Rec\-::\-Surface associated to the hit via cell\-I\-D.

\subparagraph*{Input collections and prerequisites}

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

Processor produces collection of smeared Tracker\-Hits\par
 
\begin{DoxyParams}{Parameters}
{\em Sim\-Track\-Hit\-Collection\-Name} & The name of input collection of Sim\-Tracker\-Hits \par
 (default name V\-X\-D\-Collection) \par
 \\
\hline
{\em Tracker\-Hit\-Collection\-Name} & The name of output collection of smeared Tracker\-Hits \par
 (default name V\-T\-X\-Tracker\-Hits) \par
 \\
\hline
{\em Resolution\-U} & resolution in direction of u (in mm) \par
 (default value 0.\-004) \par
 \\
\hline
{\em Resolution\-V} & Resolution in direction of v (in mm) \par
 (default value 0.\-004) \par
 \\
\hline
{\em Is\-Strip} & whether the hits are 1 dimensional strip measurements \par
 (default value false) \\
\hline
{\em Ladder\-\_\-\-Number\-\_\-encoded\-\_\-in\-\_\-cell\-I\-D} & ladder number has been encoded in the cell\-I\-D \par
 (default value false) \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\-::\-V\-X\-D) \par
 \par
\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
F.\-Gaede C\-E\-R\-N/\-D\-E\-S\-Y, S. Aplin D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
Dec 2014 
\end{DoxyDate}


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


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