\section{Set\-Tracker\-Hit\-Extensions Class Reference}
\label{classSetTrackerHitExtensions}\index{Set\-Tracker\-Hit\-Extensions@{Set\-Tracker\-Hit\-Extensions}}


Set the L\-C\-I\-O Extensions to relate Sim\-Tracker\-Hits to Tracker\-Hits via a pointer.  




{\ttfamily \#include $<$Set\-Tracker\-Hit\-Extensions.\-h$>$}

Inheritance diagram for Set\-Tracker\-Hit\-Extensions\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classSetTrackerHitExtensions}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual marlin\-::\-Processor $\ast$ {\bfseries new\-Processor} ()\label{classSetTrackerHitExtensions_a682238303644e33fe241e15d4c7fe726}

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

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

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

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

\begin{DoxyCompactList}\small\item\em Called after data processing for clean up. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
const L\-C\-Object\-Vec $\ast$ {\bfseries get\-Sim\-Hits} (Tracker\-Hit $\ast$trkhit, const Float\-Vec $\ast$weights=N\-U\-L\-L)\label{classSetTrackerHitExtensions_a0990da65a857057bbfafd586d10420e8}

\item 
int {\bfseries get\-Detector\-I\-D} (Tracker\-Hit $\ast$hit)\label{classSetTrackerHitExtensions_acdf247ca5efa0d887e3a8ba20150f71b}

\item 
int {\bfseries get\-Side\-I\-D} (Tracker\-Hit $\ast$hit)\label{classSetTrackerHitExtensions_ad2ff8f94726d07282192851790ce34e2}

\item 
int {\bfseries get\-Layer\-I\-D} (Tracker\-Hit $\ast$hit)\label{classSetTrackerHitExtensions_a42dd722f7c329e1a577174949883a84b}

\item 
int {\bfseries get\-Module\-I\-D} (Tracker\-Hit $\ast$hit)\label{classSetTrackerHitExtensions_a42087450d0f1e57065be57f33c5f3024}

\item 
int {\bfseries get\-Sensor\-I\-D} (Tracker\-Hit $\ast$hit)\label{classSetTrackerHitExtensions_ad3b86e07171e2808a5ba27a07626a4f9}

\item 
L\-C\-Collection $\ast$ {\bf Get\-Collection} (L\-C\-Event $\ast$evt, std\-::string col\-Name)\label{classSetTrackerHitExtensions_ae7336523fd28e13f27bf0f194082de94}

\begin{DoxyCompactList}\small\item\em helper function to get collection using try catch block \end{DoxyCompactList}\item 
L\-C\-Relation\-Navigator $\ast$ {\bf Get\-Relations} (L\-C\-Event $\ast$evt, std\-::string Rel\-Name)\label{classSetTrackerHitExtensions_addb7ee8ea7cef337d4a830e604e35c5f}

\begin{DoxyCompactList}\small\item\em helper function to get relations using try catch block \end{DoxyCompactList}\item 
void {\bf Setup\-Input\-Collections} (L\-C\-Event $\ast$evt)\label{classSetTrackerHitExtensions_aaf1d66ed3fe325f7d38321c3635e2a64}

\begin{DoxyCompactList}\small\item\em sets up the different collections \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
U\-T\-I\-L\-::\-Bit\-Field64 $\ast$ {\bfseries \-\_\-encoder}\label{classSetTrackerHitExtensions_a7cb297752bd87b6fc75bb83e560ba65b}

\item 
std\-::vector$<$ std\-::string $>$ {\bf \-\_\-col\-Names\-Tracker\-Hits}\label{classSetTrackerHitExtensions_a0b93b7175d0ae326a18be7a8f960ceed}

\begin{DoxyCompactList}\small\item\em input Tracker\-Hit collections \end{DoxyCompactList}\item 
std\-::vector$<$ std\-::string $>$ {\bf \-\_\-col\-Names\-Tracker\-Hit\-Relations}\label{classSetTrackerHitExtensions_acb78bb0814a3ef385c7daa3e42709a21}

\begin{DoxyCompactList}\small\item\em input relation collections \end{DoxyCompactList}\item 
int {\bfseries \-\_\-n\-\_\-run}\label{classSetTrackerHitExtensions_a865b7dce5e94af268dbe3748898dbfc3}

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

\item 
int {\bfseries \-\_\-current\-\_\-evt\-\_\-number}\label{classSetTrackerHitExtensions_af4d187aa3def1804e8bafa35e77a018b}

\item 
std\-::vector$<$ L\-C\-Collection $\ast$ $>$ {\bfseries \-\_\-col\-Tracker\-Hits}\label{classSetTrackerHitExtensions_a81f59e53b06b165809028b09c924dc4f}

\item 
std\-::vector\\*
$<$ L\-C\-Relation\-Navigator $\ast$ $>$ {\bfseries \-\_\-nav\-Tracker\-Hit\-Rel}\label{classSetTrackerHitExtensions_aacd360431cce544a0f8f66ba8ea26e0b}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Set the L\-C\-I\-O Extensions to relate Sim\-Tracker\-Hits to Tracker\-Hits via a pointer. 

\subparagraph*{Input -\/ Prerequisites}

Needs a collections of L\-C\-I\-O Tracker\-Hits.


\begin{DoxyParams}{Parameters}
{\em Tracker\-Hits\-Input\-Collections} & Name of the tracker hit input collections \par
 (default value\-: F\-T\-D\-Tracker\-Hits S\-I\-T\-Tracker\-Hits T\-P\-C\-Tracker\-Hits V\-X\-D\-Tracker\-Hits )\\
\hline
{\em Tracker\-Hits\-Rel\-Input\-Collections} & Name of the lcrelation collections, that link the Tracker\-Hits to their Sim\-Tracker\-Hits. Have to be in same order as Tracker\-Hits\-Input\-Collections!!! \par
 (default value\-: F\-T\-D\-Tracker\-Hit\-Relations S\-I\-T\-Tracker\-Hit\-Relations T\-P\-C\-Tracker\-Hit\-Relations V\-X\-D\-Tracker\-Hit\-Relations )\\
\hline
\end{DoxyParams}
\begin{DoxyAuthor}{Author}
S. J. Aplin, D\-E\-S\-Y 
\end{DoxyAuthor}


\subsection{Member Function Documentation}
\index{Set\-Tracker\-Hit\-Extensions@{Set\-Tracker\-Hit\-Extensions}!init@{init}}
\index{init@{init}!SetTrackerHitExtensions@{Set\-Tracker\-Hit\-Extensions}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void Set\-Tracker\-Hit\-Extensions\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classSetTrackerHitExtensions_af7e6438743b6ee73bba70a4ea7622bdc}


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 
Set\-Tracker\-Hit\-Extensions.\-h\item 
Set\-Tracker\-Hit\-Extensions.\-cc\end{DoxyCompactItemize}
