\section{marlintpc\-:\-:Linear\-Three\-Point\-Resolution\-Processor Class Reference}
\label{classmarlintpc_1_1LinearThreePointResolutionProcessor}\index{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}}


Resoltuion calculator for straight tracks using the three point method.  




{\ttfamily \#include $<$Linear\-Three\-Point\-Resolution\-Processor.\-h$>$}

Inheritance diagram for marlintpc\-:\-:Linear\-Three\-Point\-Resolution\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.800643cm]{classmarlintpc_1_1LinearThreePointResolutionProcessor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual Processor $\ast$ {\bf new\-Processor} ()\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_a544427171a82f872c8ecaf07d9ea3baa}

\begin{DoxyCompactList}\small\item\em The \doxyref{new\-Processor()}{p.}{classmarlintpc_1_1LinearThreePointResolutionProcessor_a544427171a82f872c8ecaf07d9ea3baa} function does not make sense for this template class, so it throws an {\ttfamily lcio\-::\-Exception}. \end{DoxyCompactList}\item 
virtual void {\bf init} ()\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_ae9e5b2cf8bce3b734c3135c8dce0ae95}

\begin{DoxyCompactList}\small\item\em Register the A\-I\-D\-A histograms at the A\-I\-D\-A\-Processor. \end{DoxyCompactList}\item 
virtual void {\bfseries process\-Run\-Header} (lcio\-::\-L\-C\-Run\-Header $\ast$run)\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_a9e30c6d0bc2b102dafc4d77c44f96779}

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

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

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

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static bool {\bfseries compare\-Hit} (const std\-::pair$<$ Tracker\-Hit $\ast$, double $>$ \&pair1, const std\-::pair$<$ Tracker\-Hit $\ast$, double $>$ \&pair2)\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_a7ad138621b50056d9569fc43ae19f177}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-input\-Col\-Name}
\item 
int {\bf \-\_\-chip\-I\-D}
\item 
int {\bf \-\_\-histo\-Bin3\-P}
\item 
int {\bf \-\_\-histo\-Bin\-Time}
\item 
int {\bf \-\_\-histo\-Bin\-No\-Track}
\item 
float {\bf \-\_\-histo\-Range3\-P}
\item 
float {\bf \-\_\-histo\-Range\-Time}
\item 
bool {\bf is\-First\-Collection}\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_a17b18c73fa877d7b9e9ee31a9cf5368d}

\begin{DoxyCompactList}\small\item\em is true till the first output collection is wirten to an event used to to store parameters only in the first collection (also done, if collection is transient) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
static const unsigned int {\bf \-\_\-histo3\-P\-Index} = 0\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_abaa98b28f9d3e0d92b05243db3f6e621}

\begin{DoxyCompactList}\small\item\em The index of the template parameter for the hits\-Per\-Track histos We want to have these values divided into z bins. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Resoltuion calculator for straight tracks using the three point method. 

Determines the 3 point resolution. Only possible for straight line tracks!

\begin{DoxyRefDesc}{Todo}
\item[{\bf Todo}]Currently only the histogram is filled. The resolution propper has to be calculated manually.\end{DoxyRefDesc}


\subparagraph*{Input -\/ Prerequisites}

\begin{DoxyItemize}
\item A collection of tracks (lcio\-::\-Track). \par
 Remember that L\-C\-I\-O\-::\-T\-R\-B\-I\-T\-\_\-\-H\-I\-T\-S has to be set, so the hits are stored.\end{DoxyItemize}
\subparagraph*{Output}

\begin{DoxyItemize}
\item A histogram with the 3 point residual distribution\end{DoxyItemize}

\begin{DoxyParams}{Parameters}
{\em Input\-Collection\-Name} & Name of input collection, Tracker\-Raw\-Data\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
Simone Zimmermann 
\end{DoxyAuthor}


\subsection{Member Data Documentation}
\index{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}!\-\_\-chip\-I\-D@{\-\_\-chip\-I\-D}}
\index{\-\_\-chip\-I\-D@{\-\_\-chip\-I\-D}!marlintpc::LinearThreePointResolutionProcessor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}}
\subsubsection[{\-\_\-chip\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor\-::\-\_\-chip\-I\-D\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_abdc3392c8ae526d1fbfb5d3acd0d5103}

\begin{DoxyItemize}
\item number of current chip, 0 if single chip 
\end{DoxyItemize}\index{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}!\-\_\-histo\-Bin3\-P@{\-\_\-histo\-Bin3\-P}}
\index{\-\_\-histo\-Bin3\-P@{\-\_\-histo\-Bin3\-P}!marlintpc::LinearThreePointResolutionProcessor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}}
\subsubsection[{\-\_\-histo\-Bin3\-P}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor\-::\-\_\-histo\-Bin3\-P\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_a88b0907bd9a33fe9b84dc8a742eee2e2}

\begin{DoxyItemize}
\item d3\-P values will be binned with \-\_\-histo\-Bin3\-P 
\end{DoxyItemize}

Referenced by init().

\index{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}!\-\_\-histo\-Bin\-No\-Track@{\-\_\-histo\-Bin\-No\-Track}}
\index{\-\_\-histo\-Bin\-No\-Track@{\-\_\-histo\-Bin\-No\-Track}!marlintpc::LinearThreePointResolutionProcessor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}}
\subsubsection[{\-\_\-histo\-Bin\-No\-Track}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor\-::\-\_\-histo\-Bin\-No\-Track\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_af59457da98ef9d8bd75e2650e3928118}

\begin{DoxyItemize}
\item Binning and range of histo\-No\-Track 
\end{DoxyItemize}

Referenced by init().

\index{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}!\-\_\-histo\-Bin\-Time@{\-\_\-histo\-Bin\-Time}}
\index{\-\_\-histo\-Bin\-Time@{\-\_\-histo\-Bin\-Time}!marlintpc::LinearThreePointResolutionProcessor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}}
\subsubsection[{\-\_\-histo\-Bin\-Time}]{\setlength{\rightskip}{0pt plus 5cm}int marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor\-::\-\_\-histo\-Bin\-Time\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_ac7ab907e65d5472e6628f827721745da}

\begin{DoxyItemize}
\item Time values will be binned with \-\_\-histo\-Bin\-Time 
\end{DoxyItemize}

Referenced by init().

\index{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}!\-\_\-histo\-Range3\-P@{\-\_\-histo\-Range3\-P}}
\index{\-\_\-histo\-Range3\-P@{\-\_\-histo\-Range3\-P}!marlintpc::LinearThreePointResolutionProcessor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}}
\subsubsection[{\-\_\-histo\-Range3\-P}]{\setlength{\rightskip}{0pt plus 5cm}float marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor\-::\-\_\-histo\-Range3\-P\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_a297c4f52ecc7dc5de3a2818a54ea2e74}

\begin{DoxyItemize}
\item d3\-P will have range (-\/\-\_\-histo\-Range3\-P, \-\_\-histo\-Range3\-P) 
\end{DoxyItemize}

Referenced by init().

\index{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}!\-\_\-histo\-Range\-Time@{\-\_\-histo\-Range\-Time}}
\index{\-\_\-histo\-Range\-Time@{\-\_\-histo\-Range\-Time}!marlintpc::LinearThreePointResolutionProcessor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}}
\subsubsection[{\-\_\-histo\-Range\-Time}]{\setlength{\rightskip}{0pt plus 5cm}float marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor\-::\-\_\-histo\-Range\-Time\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_ae9352dda0db0e7131cb7c302b6205510}

\begin{DoxyItemize}
\item Time values will have range (0, \-\_\-histo\-Range\-Time) 
\end{DoxyItemize}

Referenced by init().

\index{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}!\-\_\-input\-Col\-Name@{\-\_\-input\-Col\-Name}}
\index{\-\_\-input\-Col\-Name@{\-\_\-input\-Col\-Name}!marlintpc::LinearThreePointResolutionProcessor@{marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor}}
\subsubsection[{\-\_\-input\-Col\-Name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string marlintpc\-::\-Linear\-Three\-Point\-Resolution\-Processor\-::\-\_\-input\-Col\-Name\hspace{0.3cm}{\ttfamily [protected]}}\label{classmarlintpc_1_1LinearThreePointResolutionProcessor_a26cea27680475d8f067eec0f799e19c9}

\begin{DoxyItemize}
\item the name of the input collection 
\end{DoxyItemize}

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Linear\-Three\-Point\-Resolution\-Processor.\-h\item 
Linear\-Three\-Point\-Resolution\-Processor.\-cc\end{DoxyCompactItemize}
