\section{I\-M\-P\-L\-:\-:Tracker\-Hit\-Impl Class Reference}
\label{classIMPL_1_1TrackerHitImpl}\index{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}}


Implementation of the generic tracker hit.  




{\ttfamily \#include $<$I\-M\-P\-L/\-Tracker\-Hit\-Impl.\-h$>$}

Inheritance diagram for I\-M\-P\-L\-:\-:Tracker\-Hit\-Impl\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{classIMPL_1_1TrackerHitImpl}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf $\sim$\-Tracker\-Hit\-Impl} ()\label{classIMPL_1_1TrackerHitImpl_acceab73cd5af6d1b8d9624cada45fc22}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual int {\bf id} () const \label{classIMPL_1_1TrackerHitImpl_a13942b283d2a310c94b1b7c84f25f4df}

\begin{DoxyCompactList}\small\item\em Returns an object id for internal (debugging) use in L\-C\-I\-O. \end{DoxyCompactList}\item 
virtual int {\bf get\-Cell\-I\-D0} () const \label{classIMPL_1_1TrackerHitImpl_a42516eb709b02738bbce48247b556092}

\begin{DoxyCompactList}\small\item\em Same name as in Calorimeter\-Hit, even though there are no 'cells' in this case. \end{DoxyCompactList}\item 
virtual int {\bf get\-Cell\-I\-D1} () const 
\begin{DoxyCompactList}\small\item\em Same name as in Calorimeter\-Hit, even though there are no 'cells' in this case 0 if information is not stored -\/ check the flag word (bit R\-T\-H\-B\-I\-T\-\_\-\-I\-D1) of the collection. \end{DoxyCompactList}\item 
virtual const double $\ast$ {\bf get\-Position} () const \label{classIMPL_1_1TrackerHitImpl_a754368313d801e6fe915704b5c382d1a}

\begin{DoxyCompactList}\small\item\em The hit position in [mm]. \end{DoxyCompactList}\item 
virtual const {\bf E\-V\-E\-N\-T\-::\-Float\-Vec} \& {\bf get\-Cov\-Matrix} () const \label{classIMPL_1_1TrackerHitImpl_a76592d984192393e3fd1ebba5e526bfe}

\begin{DoxyCompactList}\small\item\em Covariance of the position (x,y,z) \end{DoxyCompactList}\item 
virtual float {\bf getd\-Edx} () const 
\begin{DoxyCompactList}\small\item\em The d\-E/dx of the hit in [Ge\-V/mm]. \end{DoxyCompactList}\item 
virtual float {\bf get\-E\-Dep} () const \label{classIMPL_1_1TrackerHitImpl_a47cc940fb5d0248e9b4077101ae84187}

\begin{DoxyCompactList}\small\item\em The deposited energy of the hit [Ge\-V]. \end{DoxyCompactList}\item 
virtual float {\bf get\-E\-Dep\-Error} () const \label{classIMPL_1_1TrackerHitImpl_ab932c6c3b8165bcb006ada345c6b4720}

\begin{DoxyCompactList}\small\item\em The error measured on E\-Dep [Ge\-V]. \end{DoxyCompactList}\item 
virtual float {\bf get\-Time} () const 
\begin{DoxyCompactList}\small\item\em The time of the hit in [ns]. \end{DoxyCompactList}\item 
virtual int {\bf get\-Type} () const 
\begin{DoxyCompactList}\small\item\em Type of raw data hit, either one of\par
 L\-C\-I\-O\-::\-T\-P\-C\-H\-I\-T\par
 L\-C\-I\-O\-::\-S\-I\-M\-T\-R\-A\-C\-K\-E\-R\-H\-I\-T\par
 \end{DoxyCompactList}\item 
virtual int {\bf get\-Quality} () const \label{classIMPL_1_1TrackerHitImpl_ad5f8011c5af33575c42a6e7b600a5e68}

\begin{DoxyCompactList}\small\item\em The quality bit flag of the hit. \end{DoxyCompactList}\item 
virtual const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Object\-Vec} \& {\bf get\-Raw\-Hits} () const 
\begin{DoxyCompactList}\small\item\em The raw data hits. \end{DoxyCompactList}\item 
virtual {\bf E\-V\-E\-N\-T\-::\-L\-C\-Object\-Vec} \& {\bf raw\-Hits} ()\label{classIMPL_1_1TrackerHitImpl_aa3fba4007c45634eb9f4fd7ca68706df}

\begin{DoxyCompactList}\small\item\em Use to manipulate the raw hits. \end{DoxyCompactList}\item 
void {\bf set\-Cell\-I\-D0} (int id0)\label{classIMPL_1_1TrackerHitImpl_ac8b9a4bf5ca9d40648e7881d39d024cb}

\begin{DoxyCompactList}\small\item\em Sets the first cell id;. \end{DoxyCompactList}\item 
void {\bf set\-Cell\-I\-D1} (int id1)
\begin{DoxyCompactList}\small\item\em Sets the second cell id; Only store if the flag word (bit R\-T\-H\-B\-I\-T\-\_\-\-I\-D1) of the collection is set. \end{DoxyCompactList}\item 
void {\bfseries set\-Type} (int type)\label{classIMPL_1_1TrackerHitImpl_a03bd9d4dbccb06fafc9d15205273bf9b}

\item 
void {\bfseries set\-Position} (const double pos[3])\label{classIMPL_1_1TrackerHitImpl_ab1f6c0e224c0edd8ded311dd71b4b112}

\item 
void {\bfseries set\-Cov\-Matrix} (const {\bf E\-V\-E\-N\-T\-::\-Float\-Vec} \&cov)\label{classIMPL_1_1TrackerHitImpl_ad75cc952fd145598594b6381a9de35a7}

\item 
void {\bfseries set\-Cov\-Matrix} (const float cov[T\-R\-K\-H\-I\-T\-N\-C\-O\-V\-M\-A\-T\-R\-I\-X])\label{classIMPL_1_1TrackerHitImpl_ac0e63a72063c7b37beb625ee81a7ff95}

\item 
void {\bfseries setd\-Edx} (float dedx)\label{classIMPL_1_1TrackerHitImpl_aaa9617a34be509c0236c6b39409d72f8}

\item 
void {\bfseries set\-E\-Dep} (float e)\label{classIMPL_1_1TrackerHitImpl_a4c6b4799a53a5f48b3f013c8f9d0d3b0}

\item 
void {\bfseries set\-E\-Dep\-Error} (float e)\label{classIMPL_1_1TrackerHitImpl_ab5113ec78309ac022b4edd7c67606aee}

\item 
void {\bfseries set\-Time} (float t)\label{classIMPL_1_1TrackerHitImpl_aea2291efded76522921979bc42acc8f8}

\item 
void {\bfseries set\-Quality} (int quality)\label{classIMPL_1_1TrackerHitImpl_a9cc04bc64b68639af4c7c975e9db55a0}

\item 
void {\bfseries set\-Quality\-Bit} (int bit, bool val=true)\label{classIMPL_1_1TrackerHitImpl_a5b7ad2c5fc49fbc682cf7b9022a8b9d3}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
int {\bfseries \-\_\-cell\-I\-D0}\label{classIMPL_1_1TrackerHitImpl_a127825db656558967238c4f267d5a854}

\item 
int {\bfseries \-\_\-cell\-I\-D1}\label{classIMPL_1_1TrackerHitImpl_a6c23cd4589cd8c8fe5ebd01db276846c}

\item 
int {\bfseries \-\_\-type}\label{classIMPL_1_1TrackerHitImpl_a2d4a012e6a68927a728d2f49cab0b206}

\item 
double {\bfseries \-\_\-pos} [3]\label{classIMPL_1_1TrackerHitImpl_aa42961e52a3944d3b339abf852e7e1ef}

\item 
{\bf E\-V\-E\-N\-T\-::\-Float\-Vec} {\bfseries \-\_\-cov}\label{classIMPL_1_1TrackerHitImpl_af138b8c185caf6c281a7e32ce0d4e248}

\item 
float {\bfseries \-\_\-\-E\-Dep}\label{classIMPL_1_1TrackerHitImpl_aa27ce7d4445c8ffa1fb969a22db558bc}

\item 
float {\bfseries \-\_\-\-E\-Dep\-Error}\label{classIMPL_1_1TrackerHitImpl_ab207f77a674bcbf64253eca12711d8c5}

\item 
float {\bfseries \-\_\-time}\label{classIMPL_1_1TrackerHitImpl_ad0b3ed142bfdd1be0d42eac7b29ff10f}

\item 
int {\bfseries \-\_\-quality}\label{classIMPL_1_1TrackerHitImpl_a9b73b22fcf343b3096acaba6ed1cdac9}

\item 
{\bf E\-V\-E\-N\-T\-::\-L\-C\-Object\-Vec} {\bfseries \-\_\-raw\-Hits}\label{classIMPL_1_1TrackerHitImpl_a3472ecfb830e3da1067a94822cf16f05}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Implementation of the generic tracker hit. 

\begin{DoxyAuthor}{Author}
gaede 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Tracker\-Hit\-Impl.\-h}{p.}{TrackerHitImpl_8h_source},v 1.\-15 2010-\/06-\/17 12\-:29\-:00 engels Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}!get\-Cell\-I\-D1@{get\-Cell\-I\-D1}}
\index{get\-Cell\-I\-D1@{get\-Cell\-I\-D1}!IMPL::TrackerHitImpl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}}
\subsubsection[{get\-Cell\-I\-D1}]{\setlength{\rightskip}{0pt plus 5cm}int I\-M\-P\-L\-::\-Tracker\-Hit\-Impl\-::get\-Cell\-I\-D1 (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1TrackerHitImpl_ab45ecf93b72ce12113ec56e0e36c14f0}


Same name as in Calorimeter\-Hit, even though there are no 'cells' in this case 0 if information is not stored -\/ check the flag word (bit R\-T\-H\-B\-I\-T\-\_\-\-I\-D1) of the collection. 

Default is to store only cellid0. 

Implements {\bf E\-V\-E\-N\-T\-::\-Tracker\-Hit} \doxyref{}{p.}{classEVENT_1_1TrackerHit_a6ec2addd63b3bb4d7acc5ffee079b255}.

\index{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}!getd\-Edx@{getd\-Edx}}
\index{getd\-Edx@{getd\-Edx}!IMPL::TrackerHitImpl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}}
\subsubsection[{getd\-Edx}]{\setlength{\rightskip}{0pt plus 5cm}float I\-M\-P\-L\-::\-Tracker\-Hit\-Impl\-::getd\-Edx (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1TrackerHitImpl_a8bc15f064c9f79b656bb0d8c431be29d}


The d\-E/dx of the hit in [Ge\-V/mm]. 

\begin{DoxyRefDesc}{Deprecated}
\item[{\bf Deprecated}]\begin{DoxySeeAlso}{See Also}
\doxyref{get\-E\-Dep()}{p.}{classIMPL_1_1TrackerHitImpl_a47cc940fb5d0248e9b4077101ae84187} 
\end{DoxySeeAlso}
\end{DoxyRefDesc}


Implements {\bf E\-V\-E\-N\-T\-::\-Tracker\-Hit} \doxyref{}{p.}{classEVENT_1_1TrackerHit_a478f9ab608729fbaf9da4aeeaccacde2}.



References U\-T\-I\-L\-::\-L\-C\-Warning\-::print\-Warning().

\index{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}!get\-Raw\-Hits@{get\-Raw\-Hits}}
\index{get\-Raw\-Hits@{get\-Raw\-Hits}!IMPL::TrackerHitImpl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}}
\subsubsection[{get\-Raw\-Hits}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf E\-V\-E\-N\-T\-::\-L\-C\-Object\-Vec} \& I\-M\-P\-L\-::\-Tracker\-Hit\-Impl\-::get\-Raw\-Hits (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1TrackerHitImpl_a1bd739a89a3e685789743960dc0681f2}


The raw data hits. 

Check \doxyref{get\-Type()}{p.}{classIMPL_1_1TrackerHitImpl_ad1a00ed84d88bb7d45a94616d6437d6b} to get actual data type. 

Implements {\bf E\-V\-E\-N\-T\-::\-Tracker\-Hit} \doxyref{}{p.}{classEVENT_1_1TrackerHit_afce2e6d30684dcb33933a8a3e988a324}.

\index{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}!get\-Time@{get\-Time}}
\index{get\-Time@{get\-Time}!IMPL::TrackerHitImpl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}}
\subsubsection[{get\-Time}]{\setlength{\rightskip}{0pt plus 5cm}float I\-M\-P\-L\-::\-Tracker\-Hit\-Impl\-::get\-Time (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1TrackerHitImpl_a0cf731ea76965ea2c027d78cc91c58be}


The time of the hit in [ns]. 

Is this needed ? 

Implements {\bf E\-V\-E\-N\-T\-::\-Tracker\-Hit} \doxyref{}{p.}{classEVENT_1_1TrackerHit_a51e0fc26b6d28f243179b0f54d586280}.

\index{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}!get\-Type@{get\-Type}}
\index{get\-Type@{get\-Type}!IMPL::TrackerHitImpl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}}
\subsubsection[{get\-Type}]{\setlength{\rightskip}{0pt plus 5cm}int I\-M\-P\-L\-::\-Tracker\-Hit\-Impl\-::get\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1TrackerHitImpl_ad1a00ed84d88bb7d45a94616d6437d6b}


Type of raw data hit, either one of\par
 L\-C\-I\-O\-::\-T\-P\-C\-H\-I\-T\par
 L\-C\-I\-O\-::\-S\-I\-M\-T\-R\-A\-C\-K\-E\-R\-H\-I\-T\par
 

Type of hit. Mapping of integer types to type names through collection parameters \char`\"{}\-Tracker\-Hit\-Type\-Names\char`\"{} and \char`\"{}\-Tracker\-Hit\-Type\-Values\char`\"{}. 

Implements {\bf E\-V\-E\-N\-T\-::\-Tracker\-Hit} \doxyref{}{p.}{classEVENT_1_1TrackerHit_a49824a24f16173305d2059b5464f1e49}.

\index{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}!set\-Cell\-I\-D1@{set\-Cell\-I\-D1}}
\index{set\-Cell\-I\-D1@{set\-Cell\-I\-D1}!IMPL::TrackerHitImpl@{I\-M\-P\-L\-::\-Tracker\-Hit\-Impl}}
\subsubsection[{set\-Cell\-I\-D1}]{\setlength{\rightskip}{0pt plus 5cm}void I\-M\-P\-L\-::\-Tracker\-Hit\-Impl\-::set\-Cell\-I\-D1 (
\begin{DoxyParamCaption}
\item[{int}]{id1}
\end{DoxyParamCaption}
)}\label{classIMPL_1_1TrackerHitImpl_ad66f184caadf3532f592becf6bc98251}


Sets the second cell id; Only store if the flag word (bit R\-T\-H\-B\-I\-T\-\_\-\-I\-D1) of the collection is set. 

Default is to store only cellid0. 

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