\section{True\-Track Class Reference}
\label{classTrueTrack}\index{True\-Track@{True\-Track}}


A class to make linking reconstructed tracks and true tracks easier.  




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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries True\-Track} (Track $\ast$true\-Track, M\-C\-Particle $\ast$mcp, Marlin\-Trk\-::\-I\-Marlin\-Trk\-System $\ast$trk\-System)\label{classTrueTrack_aa3fdb1c98c9020a41d7f7ce1d8d9f3e3}

\item 
Track $\ast$ {\bf get\-True\-Track} () const 
\item 
const M\-C\-Particle $\ast$ {\bf get\-M\-C\-P} () const 
\item 
std\-::vector$<$ const {\bf Reco\-Track} $\ast$ $>$ {\bf get\-Reco\-Tracks} () const 
\item 
void {\bfseries add\-Reco\-Track} ({\bf Reco\-Track} $\ast$reco\-Track)\label{classTrueTrack_a6e371a39c14d87f459d773aa96173f0e}

\item 
bool {\bf is\-Lost} () const 
\item 
bool {\bf is\-Found\-Completely} () const 
\item 
bool {\bf complete\-Version\-Exists} () const 
\item 
std\-::string {\bf get\-M\-C\-P\-Info} () const 
\item 
std\-::string {\bf get\-True\-Track\-Info} () const 
\item 
std\-::string {\bf get\-Related\-Tracks\-Info} () const 
\item 
std\-::string {\bf get\-Found\-Info} () const 
\item 
std\-::string {\bf get\-Cut\-Info} () const 
\item 
unsigned {\bf get\-Number\-Of\-Tracks\-With\-Type} (Track\-Type type) const 
\item 
std\-::vector$<$ std\-::string $>$ {\bf get\-Cuts} () const 
\item 
void {\bf add\-Cut} (std\-::string cut)
\begin{DoxyCompactList}\small\item\em Stores the cut, that the true track didn't survive. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A class to make linking reconstructed tracks and true tracks easier. 

It represents a true track, so i wrapps a Track$\ast$ and a M\-C\-Particle$\ast$ ( accessible by get\-Track() and \doxyref{get\-M\-C\-P()}{p.}{classTrueTrack_a0027304592e420e6fd3b140f33dfb801} ) and offers additional functionality. 

\subsection{Member Function Documentation}
\index{True\-Track@{True\-Track}!add\-Cut@{add\-Cut}}
\index{add\-Cut@{add\-Cut}!TrueTrack@{True\-Track}}
\subsubsection[{add\-Cut}]{\setlength{\rightskip}{0pt plus 5cm}void True\-Track\-::add\-Cut (
\begin{DoxyParamCaption}
\item[{std\-::string}]{cut}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classTrueTrack_ac44e0691d0e2ff6dd6b1af27315154da}


Stores the cut, that the true track didn't survive. 


\begin{DoxyParams}{Parameters}
{\em cut} & A string describing the cut \\
\hline
\end{DoxyParams}
\index{True\-Track@{True\-Track}!complete\-Version\-Exists@{complete\-Version\-Exists}}
\index{complete\-Version\-Exists@{complete\-Version\-Exists}!TrueTrack@{True\-Track}}
\subsubsection[{complete\-Version\-Exists}]{\setlength{\rightskip}{0pt plus 5cm}bool True\-Track\-::complete\-Version\-Exists (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classTrueTrack_a38bc25fd6456b27a1aeeffc0ba4007cf}
\begin{DoxyReturn}{Returns}
whether a complete version (with no additional hits) was found 
\end{DoxyReturn}


References get\-Number\-Of\-Tracks\-With\-Type().



Referenced by get\-Found\-Info().

\index{True\-Track@{True\-Track}!get\-Cut\-Info@{get\-Cut\-Info}}
\index{get\-Cut\-Info@{get\-Cut\-Info}!TrueTrack@{True\-Track}}
\subsubsection[{get\-Cut\-Info}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string True\-Track\-::get\-Cut\-Info (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classTrueTrack_ae77f4d00b4871001b2b4a5b0b886387d}
\begin{DoxyReturn}{Returns}
Info whether the true track was cutted and if yes, by what 
\end{DoxyReturn}


Referenced by Tracking\-Feedback\-Processor\-::process\-Event().

\index{True\-Track@{True\-Track}!get\-Cuts@{get\-Cuts}}
\index{get\-Cuts@{get\-Cuts}!TrueTrack@{True\-Track}}
\subsubsection[{get\-Cuts}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ std\-::string $>$ True\-Track\-::get\-Cuts (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{classTrueTrack_af53d17ccb21405d55bc55193437c79b3}
\begin{DoxyReturn}{Returns}
the cuts it didn't survive. If the vector is empty, the true track survived all cuts. 
\end{DoxyReturn}
\index{True\-Track@{True\-Track}!get\-Found\-Info@{get\-Found\-Info}}
\index{get\-Found\-Info@{get\-Found\-Info}!TrueTrack@{True\-Track}}
\subsubsection[{get\-Found\-Info}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string True\-Track\-::get\-Found\-Info (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classTrueTrack_a113db75937c19473d6fa7a2a841080f2}
\begin{DoxyReturn}{Returns}
Info about the status of the track concerning if it was found or lost 
\end{DoxyReturn}


References complete\-Version\-Exists(), and is\-Lost().



Referenced by Tracking\-Feedback\-Processor\-::process\-Event().

\index{True\-Track@{True\-Track}!get\-M\-C\-P@{get\-M\-C\-P}}
\index{get\-M\-C\-P@{get\-M\-C\-P}!TrueTrack@{True\-Track}}
\subsubsection[{get\-M\-C\-P}]{\setlength{\rightskip}{0pt plus 5cm}const M\-C\-Particle$\ast$ True\-Track\-::get\-M\-C\-P (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{classTrueTrack_a0027304592e420e6fd3b140f33dfb801}
\begin{DoxyReturn}{Returns}
the monte carlo particle of the true track 
\end{DoxyReturn}
\index{True\-Track@{True\-Track}!get\-M\-C\-P\-Info@{get\-M\-C\-P\-Info}}
\index{get\-M\-C\-P\-Info@{get\-M\-C\-P\-Info}!TrueTrack@{True\-Track}}
\subsubsection[{get\-M\-C\-P\-Info}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string True\-Track\-::get\-M\-C\-P\-Info (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classTrueTrack_a3932095e33425fd651eb47d8faa8b652}
\begin{DoxyReturn}{Returns}
Info about the Monte Carlo Particle 
\end{DoxyReturn}


Referenced by Tracking\-Feedback\-Processor\-::process\-Event().

\index{True\-Track@{True\-Track}!get\-Number\-Of\-Tracks\-With\-Type@{get\-Number\-Of\-Tracks\-With\-Type}}
\index{get\-Number\-Of\-Tracks\-With\-Type@{get\-Number\-Of\-Tracks\-With\-Type}!TrueTrack@{True\-Track}}
\subsubsection[{get\-Number\-Of\-Tracks\-With\-Type}]{\setlength{\rightskip}{0pt plus 5cm}unsigned True\-Track\-::get\-Number\-Of\-Tracks\-With\-Type (
\begin{DoxyParamCaption}
\item[{Track\-Type}]{type}
\end{DoxyParamCaption}
) const}\label{classTrueTrack_aea50dc10b213039e68fcd99a22eb01de}
\begin{DoxyReturn}{Returns}
number of linked reco tracks that have a certain type 
\end{DoxyReturn}


Referenced by complete\-Version\-Exists(), and is\-Found\-Completely().

\index{True\-Track@{True\-Track}!get\-Reco\-Tracks@{get\-Reco\-Tracks}}
\index{get\-Reco\-Tracks@{get\-Reco\-Tracks}!TrueTrack@{True\-Track}}
\subsubsection[{get\-Reco\-Tracks}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ const {\bf Reco\-Track}$\ast$ $>$ True\-Track\-::get\-Reco\-Tracks (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{classTrueTrack_a94e6870c381d2695134fc2b274dead6a}
\begin{DoxyReturn}{Returns}
the reco tracks related to the true track 
\end{DoxyReturn}
\index{True\-Track@{True\-Track}!get\-Related\-Tracks\-Info@{get\-Related\-Tracks\-Info}}
\index{get\-Related\-Tracks\-Info@{get\-Related\-Tracks\-Info}!TrueTrack@{True\-Track}}
\subsubsection[{get\-Related\-Tracks\-Info}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string True\-Track\-::get\-Related\-Tracks\-Info (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classTrueTrack_a02cc27ac97737999f655f9af1da4ba1f}
\begin{DoxyReturn}{Returns}
Info about all the tracks associated to the true track 
\end{DoxyReturn}


Referenced by Tracking\-Feedback\-Processor\-::process\-Event().

\index{True\-Track@{True\-Track}!get\-True\-Track@{get\-True\-Track}}
\index{get\-True\-Track@{get\-True\-Track}!TrueTrack@{True\-Track}}
\subsubsection[{get\-True\-Track}]{\setlength{\rightskip}{0pt plus 5cm}Track$\ast$ True\-Track\-::get\-True\-Track (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\label{classTrueTrack_ad3c73803aeb933af154e1b3fa76c851e}
\begin{DoxyReturn}{Returns}
the true track 
\end{DoxyReturn}
\index{True\-Track@{True\-Track}!get\-True\-Track\-Info@{get\-True\-Track\-Info}}
\index{get\-True\-Track\-Info@{get\-True\-Track\-Info}!TrueTrack@{True\-Track}}
\subsubsection[{get\-True\-Track\-Info}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string True\-Track\-::get\-True\-Track\-Info (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classTrueTrack_a17e408b2d199484c9435f8ac220c5477}
\begin{DoxyReturn}{Returns}
Info about the true Track 
\end{DoxyReturn}


References Reco\-Track\-::cell\-I\-D\-Info(), and Reco\-Track\-::position\-Info().



Referenced by Tracking\-Feedback\-Processor\-::process\-Event().

\index{True\-Track@{True\-Track}!is\-Found\-Completely@{is\-Found\-Completely}}
\index{is\-Found\-Completely@{is\-Found\-Completely}!TrueTrack@{True\-Track}}
\subsubsection[{is\-Found\-Completely}]{\setlength{\rightskip}{0pt plus 5cm}bool True\-Track\-::is\-Found\-Completely (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classTrueTrack_aaa541a850d1d11c7ba4f8158da066600}
\begin{DoxyReturn}{Returns}
whether this true track was found completely (complete or complete\-\_\-plus) 
\end{DoxyReturn}


References get\-Number\-Of\-Tracks\-With\-Type().

\index{True\-Track@{True\-Track}!is\-Lost@{is\-Lost}}
\index{is\-Lost@{is\-Lost}!TrueTrack@{True\-Track}}
\subsubsection[{is\-Lost}]{\setlength{\rightskip}{0pt plus 5cm}bool True\-Track\-::is\-Lost (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\label{classTrueTrack_a274b3b1d189583f2d431e4cc01abf7ef}
\begin{DoxyReturn}{Returns}
whether this true track is lost 
\end{DoxyReturn}


Referenced by get\-Found\-Info().



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