\section{Refit\-Processor Class Reference}
\label{classRefitProcessor}\index{Refit\-Processor@{Refit\-Processor}}


Track Refitter processor for marlin.  




{\ttfamily \#include $<$Refit\-Processor.\-h$>$}

Inheritance diagram for Refit\-Processor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classRefitProcessor}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct {\bf compare\-\_\-r}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual marlin\-::\-Processor $\ast$ {\bfseries new\-Processor} ()\label{classRefitProcessor_a878dca55263997e629225621993f3720}

\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} (lcio\-::\-L\-C\-Run\-Header $\ast$run)\label{classRefitProcessor_ae8593ca3ea3c9b444034de59ae7712c2}

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

\begin{DoxyCompactList}\small\item\em Called for every event -\/ the working horse. \end{DoxyCompactList}\item 
virtual void {\bfseries check} (lcio\-::\-L\-C\-Event $\ast$evt)\label{classRefitProcessor_a8a3ac3b8a233aacc90af791d6501641b}

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

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
lcio\-::\-L\-C\-Collection $\ast$ {\bfseries Get\-Collection} (lcio\-::\-L\-C\-Event $\ast$evt, std\-::string col\-Name)\label{classRefitProcessor_ab1bc5a080cbc632e678461dc5e9fe10b}

\item 
lcio\-::\-L\-C\-Relation\-Navigator $\ast$ {\bfseries Get\-Relations} (lcio\-::\-L\-C\-Event $\ast$evt, std\-::string Rel\-Name)\label{classRefitProcessor_a5d499240c351846f9a7f606d65675381}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bf \-\_\-input\-\_\-track\-\_\-col\-\_\-name}\label{classRefitProcessor_ae158d0a7078a1dbc0735cbb7c734be16}

\begin{DoxyCompactList}\small\item\em Input track collection name for refitting. \end{DoxyCompactList}\item 
std\-::string {\bf \-\_\-input\-\_\-track\-\_\-rel\-\_\-name}\label{classRefitProcessor_a75b2f800728706e579a69893dcd4c1de}

\begin{DoxyCompactList}\small\item\em Input track relations name for refitting. \end{DoxyCompactList}\item 
std\-::string {\bf \-\_\-output\-\_\-track\-\_\-col\-\_\-name}\label{classRefitProcessor_aebd87ded14595b67d4e4a40643c9690e}

\begin{DoxyCompactList}\small\item\em refitted track collection name. \end{DoxyCompactList}\item 
std\-::string {\bf \-\_\-output\-\_\-track\-\_\-rel\-\_\-name}\label{classRefitProcessor_abdee93ac01b237263d67f1a270946919}

\begin{DoxyCompactList}\small\item\em Output track relations name for refitting. \end{DoxyCompactList}\item 
Marlin\-Trk\-::\-I\-Marlin\-Trk\-System $\ast$ {\bf \-\_\-trksystem}\label{classRefitProcessor_a4bdf71495ba8c11e0e6f2d9835b60a16}

\begin{DoxyCompactList}\small\item\em pointer to the I\-Marlin\-Trk\-System instance \end{DoxyCompactList}\item 
bool {\bfseries \-\_\-\-M\-S\-On}\label{classRefitProcessor_a3c097ca6e5e57420b6dcfe4700cf0c55}

\item 
bool {\bfseries \-\_\-\-Eloss\-On}\label{classRefitProcessor_aa9ab88b74db00a299aa499c2adc0567c}

\item 
bool {\bfseries \-\_\-\-Smooth\-On}\label{classRefitProcessor_a4fa05fac30b2f7189b27c50bfa19af5f}

\item 
float {\bfseries \-\_\-initial\-Track\-Error\-\_\-d0}\label{classRefitProcessor_a2773f428a171528afa0b3cdd5babac4d}

\item 
float {\bfseries \-\_\-initial\-Track\-Error\-\_\-phi0}\label{classRefitProcessor_a6dacd6631ca638ada3387e762d1a2905}

\item 
float {\bfseries \-\_\-initial\-Track\-Error\-\_\-omega}\label{classRefitProcessor_a655ac98c929bf17cf3d5e2f486997636}

\item 
float {\bfseries \-\_\-initial\-Track\-Error\-\_\-z0}\label{classRefitProcessor_af79afb1085adbad9e961d5abac66b048}

\item 
float {\bfseries \-\_\-initial\-Track\-Error\-\_\-tan\-L}\label{classRefitProcessor_a9d29a6bd4fdac9924bdfd32993e6c2c9}

\item 
float {\bfseries \-\_\-max\-Chi2\-Per\-Hit}\label{classRefitProcessor_a152128807c84a5c6e928ac9686a1ae82}

\item 
double {\bfseries \-\_\-mass}\label{classRefitProcessor_adb3fc2b61dcff2c60f56fcc839a3b895}

\item 
int {\bfseries \-\_\-n\-\_\-run}\label{classRefitProcessor_a98701ed53946b6fc0684c3ec47a0da24}

\item 
int {\bfseries \-\_\-n\-\_\-evt}\label{classRefitProcessor_afce57e5b553996bbb7dc3f70caf0a27e}

\item 
int {\bfseries \-\_\-initial\-Track\-State}\label{classRefitProcessor_a50b1f407832ef7dfb0270115b2641759}

\item 
int {\bfseries \-\_\-fit\-Direction}\label{classRefitProcessor_ab850b3c39e10c1e5444562c6620021dc}

\item 
std\-::string {\bfseries \-\_\-trk\-System\-Name}\label{classRefitProcessor_adf3f7eec44bb61426432b06370b9e84f}

\item 
float {\bfseries \-\_\-b\-Field}\label{classRefitProcessor_a8faca382793b9bd3b99bf8a9d3d85480}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Track Refitter processor for marlin. 

Refits an input track collection, producing a new collection of tracks

\subparagraph*{Input -\/ Prerequisites}

Needs a collection of L\-C\-I\-O Tracks.

\subparagraph*{Output}

Refitted L\-C\-I\-O Track Collection


\begin{DoxyParams}{Parameters}
{\em Input\-Track\-Collection\-Name} & Name of the Track collection to be refitted \\
\hline
{\em Output\-Track\-Collection\-Name} & Name of the refitted Track collection to be refitted \\
\hline
{\em Track\-System\-Name} & name of the track fitting system to be used (Kal\-Test, D\-D\-Kal\-Test, aida\-T\-T, ... )\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
S. J. Aplin, D\-E\-S\-Y  Nov 2014 F.\-Gaede C\-E\-R\-N/\-D\-E\-S\-Y added processor parameter to instantiate other implementations of I\-Marlin\-Trk 
\end{DoxyAuthor}


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


Called at the begin of the job before anything is read. 

Use to initialize the processor, e.\-g. book histograms. 

References \-\_\-trksystem.



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