\section{Track\-Subset\-Processor Class Reference}
\label{classTrackSubsetProcessor}\index{Track\-Subset\-Processor@{Track\-Subset\-Processor}}


Processor that takes tracks from multiple sources and outputs them (or modified versions, or a subset of them) as one track collection.  




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

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

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

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

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

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

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf remove\-Short\-Tracks} (std\-::vector$<$ E\-V\-E\-N\-T\-::\-Track $\ast$ $>$ \&tracks)\label{classTrackSubsetProcessor_a6eccc9044db8fe15f25164b6ff976de1}

\begin{DoxyCompactList}\small\item\em helper method that removes short tracks from the list that have the same hits as another, longer track in the list by setting the corresponding pointer to N\-U\-L\-L. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::vector$<$ std\-::string $>$ {\bf \-\_\-track\-Input\-Col\-Names}\label{classTrackSubsetProcessor_a65456b4f75657806179e2b99e5e4d330}

\begin{DoxyCompactList}\small\item\em Input collection names. \end{DoxyCompactList}\item 
std\-::string {\bf \-\_\-track\-Output\-Col\-Name}\label{classTrackSubsetProcessor_a1f35b1817ab24ba63de7c34fcceb3b16}

\begin{DoxyCompactList}\small\item\em Output collection name. \end{DoxyCompactList}\item 
Marlin\-Trk\-::\-I\-Marlin\-Trk\-System $\ast$ {\bfseries \-\_\-trk\-System}\label{classTrackSubsetProcessor_a23e88446c3f76010a3c72641cafdbbc7}

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

\item 
bool {\bfseries \-\_\-\-M\-S\-On}\label{classTrackSubsetProcessor_a32d2883e0060359a1a708912379e454e}

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

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

\item 
bool {\bfseries \-\_\-remove\-Short\-Tracks}\label{classTrackSubsetProcessor_ae5d3ef1a4188dac9bde2c738fb018bad}

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

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

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

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

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

\item 
double {\bfseries \-\_\-max\-Chi2\-Per\-Hit}\label{classTrackSubsetProcessor_aa994df3f190459295f8845c21d1c67ff}

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

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

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

\item 
double {\bfseries \-\_\-omega}\label{classTrackSubsetProcessor_adce8ffc3f87cb20b7e48f9b0d8695ec6}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Processor that takes tracks from multiple sources and outputs them (or modified versions, or a subset of them) as one track collection. 

\subparagraph*{Input -\/ Prerequisites}

Track collections

\subparagraph*{Output}

A single track collection


\begin{DoxyParams}{Parameters}
{\em Track\-Input\-Collections} & A vector of the input track collections \par
 (default value Forward\-Tracks Si\-Tracks )\\
\hline
{\em Track\-Output\-Collection} & Name of the output track collection \par
 (default value Subset\-Tracks )\\
\hline
{\em Multiple\-Scattering\-On} & Whether to take multiple scattering into account when fitting the tracks\par
 (default value true )\\
\hline
{\em Energy\-Loss\-On} & Whether to take energyloss into account when fitting the tracks\par
 (default value true )\\
\hline
{\em Smooth\-On} & Whether to smooth all measurement sites in fit\par
 (default value false )\\
\hline
{\em Omega} & The parameter omega for the H\-N\-N. Controls the influence of the quality indicator. Between 0 and 1\-: 1 means high influence of quality indicator, 0 means no influence.\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
Robin Glattauer, H\-E\-P\-H\-Y 
\end{DoxyAuthor}


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


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 
Track\-Subset\-Processor.\-h\item 
Track\-Subset\-Processor.\-cc\end{DoxyCompactItemize}
