\section{marlintpc\-:\-:Track\-Hit\-Efficiency\-Processor Class Reference}
\label{classmarlintpc_1_1TrackHitEfficiencyProcessor}\index{marlintpc\-::\-Track\-Hit\-Efficiency\-Processor@{marlintpc\-::\-Track\-Hit\-Efficiency\-Processor}}


A processor to calculate the hit efficiency based on hits on tracksper row.  




{\ttfamily \#include $<$Track\-Hit\-Efficiency\-Processor.\-h$>$}

Inheritance diagram for marlintpc\-:\-:Track\-Hit\-Efficiency\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlintpc_1_1TrackHitEfficiencyProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bfseries new\-Processor} ()\label{classmarlintpc_1_1TrackHitEfficiencyProcessor_aba33e616b0b7378ed466d3d3f4463737}

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

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

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

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

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

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-input\-Col\-Name}
\item 
std\-::map$<$ std\-::pair$<$ int, int $>$\\*
, int $>$ {\bf \-\_\-hit\-On\-Row}
\item 
int {\bf \-\_\-ntracks}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A processor to calculate the hit efficiency based on hits on tracksper row. 

Should be run with the Aida\-Processor in the chain to save the histogram/graphs.

\subparagraph*{Input -\/ Prerequisites}

a collection of Tracks

\subparagraph*{Output}

track hit efficiency stored in tuple in aida file


\begin{DoxyParams}{Parameters}
{\em Input\-Collection\-Name} & Name of the input collection (default\-: Clupatra\-Tracks)\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
Astrid Muennich, D\-E\-S\-Y 
\end{DoxyAuthor}


\subsection{Member Data Documentation}
\index{marlintpc\-::\-Track\-Hit\-Efficiency\-Processor@{marlintpc\-::\-Track\-Hit\-Efficiency\-Processor}!\-\_\-hit\-On\-Row@{\-\_\-hit\-On\-Row}}
\index{\-\_\-hit\-On\-Row@{\-\_\-hit\-On\-Row}!marlintpc::TrackHitEfficiencyProcessor@{marlintpc\-::\-Track\-Hit\-Efficiency\-Processor}}
\subsubsection[{\-\_\-hit\-On\-Row}]{\setlength{\rightskip}{0pt plus 5cm}std\-::map$<$ std\-::pair$<$int,int$>$, int$>$ marlintpc\-::\-Track\-Hit\-Efficiency\-Processor\-::\-\_\-hit\-On\-Row\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackHitEfficiencyProcessor_ad805750a48618d06930a0a5a12d658c9}

\begin{DoxyItemize}
\item counter for number of hits on each row 
\end{DoxyItemize}\index{marlintpc\-::\-Track\-Hit\-Efficiency\-Processor@{marlintpc\-::\-Track\-Hit\-Efficiency\-Processor}!\-\_\-input\-Col\-Name@{\-\_\-input\-Col\-Name}}
\index{\-\_\-input\-Col\-Name@{\-\_\-input\-Col\-Name}!marlintpc::TrackHitEfficiencyProcessor@{marlintpc\-::\-Track\-Hit\-Efficiency\-Processor}}
\subsubsection[{\-\_\-input\-Col\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Track\-Hit\-Efficiency\-Processor\-::\-\_\-input\-Col\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackHitEfficiencyProcessor_a16eddd912556732bf6a10d1df6430fc7}

\begin{DoxyItemize}
\item the name of the input collection 
\end{DoxyItemize}\index{marlintpc\-::\-Track\-Hit\-Efficiency\-Processor@{marlintpc\-::\-Track\-Hit\-Efficiency\-Processor}!\-\_\-ntracks@{\-\_\-ntracks}}
\index{\-\_\-ntracks@{\-\_\-ntracks}!marlintpc::TrackHitEfficiencyProcessor@{marlintpc\-::\-Track\-Hit\-Efficiency\-Processor}}
\subsubsection[{\-\_\-ntracks}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Track\-Hit\-Efficiency\-Processor\-::\-\_\-ntracks\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1TrackHitEfficiencyProcessor_aaf9fe3a13265d3c156cbe4f36ae98be9}

\begin{DoxyItemize}
\item number of tracks processed 
\end{DoxyItemize}

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