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


Implementation of Sim\-Tracker\-Hit.  




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

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

\begin{DoxyCompactList}\small\item\em Default constructor, initializes values to 0. \end{DoxyCompactList}\item 
virtual {\bf $\sim$\-Sim\-Tracker\-Hit\-Impl} ()\label{classIMPL_1_1SimTrackerHitImpl_a8f35470d1d6f260927942e62a3de6c45}

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

\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\-D} () const \label{classIMPL_1_1SimTrackerHitImpl_ae965406febbd8f40422f322c674e7759}

\begin{DoxyCompactList}\small\item\em D\-E\-P\-R\-E\-C\-A\-T\-E\-D\-: use () \end{DoxyCompactList}\item 
virtual int {\bf get\-Cell\-I\-D0} () const \label{classIMPL_1_1SimTrackerHitImpl_a9ea1eaf4251aa719e67e8ad30e3486cc}

\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 T\-H\-B\-I\-T\-\_\-\-I\-D1) of the collection. \end{DoxyCompactList}\item 
virtual const double $\ast$ {\bf get\-Position} () const \label{classIMPL_1_1SimTrackerHitImpl_a5e8b43639e0fbbefc2e4e99c041d3bd0}

\begin{DoxyCompactList}\small\item\em Returns the hit position. \end{DoxyCompactList}\item 
virtual float {\bf getd\-Edx} () const 
\begin{DoxyCompactList}\small\item\em Returns the d\-E/dx of the hit. \end{DoxyCompactList}\item 
virtual float {\bf get\-E\-Dep} () const \label{classIMPL_1_1SimTrackerHitImpl_a4edf18061e1dcae6cb9bbf2da42b7408}

\begin{DoxyCompactList}\small\item\em Returns the deposited energy of the hit [Ge\-V]. \end{DoxyCompactList}\item 
virtual float {\bf get\-Time} () const 
\begin{DoxyCompactList}\small\item\em Returns the time of the hit. \end{DoxyCompactList}\item 
virtual {\bf E\-V\-E\-N\-T\-::\-M\-C\-Particle} $\ast$ {\bf get\-M\-C\-Particle} () const 
\begin{DoxyCompactList}\small\item\em Returns the M\-C particle that caused the hit. \end{DoxyCompactList}\item 
virtual const float $\ast$ {\bf get\-Momentum} () const \label{classIMPL_1_1SimTrackerHitImpl_af7d4f32777ef8bc6e3ecccc1183c92e6}

\begin{DoxyCompactList}\small\item\em Returns the 3-\/momentum of the particle at the hits position in [Ge\-V] -\/ optional, only if bit L\-C\-I\-O\-::\-T\-H\-B\-I\-T\-\_\-\-M\-O\-M\-E\-N\-T\-U\-M is set. \end{DoxyCompactList}\item 
virtual float {\bf get\-Path\-Length} () const 
\begin{DoxyCompactList}\small\item\em The path length of the particle in the sensitive material that resulted in this hit. \end{DoxyCompactList}\item 
void {\bf set\-Cell\-I\-D} (int {\bf id})\label{classIMPL_1_1SimTrackerHitImpl_ab695bfc93ce9cfddd386c6614857578b}

\begin{DoxyCompactList}\small\item\em D\-E\-P\-R\-E\-C\-A\-T\-E\-D\-: use . \end{DoxyCompactList}\item 
void {\bf set\-Cell\-I\-D0} (int id0)\label{classIMPL_1_1SimTrackerHitImpl_a3e4a6a400d79ce23e214983c0a07326d}

\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 T\-H\-B\-I\-T\-\_\-\-I\-D1) of the collection is set. \end{DoxyCompactList}\item 
void {\bf set\-Position} (const double pos[3])\label{classIMPL_1_1SimTrackerHitImpl_aa29ca792a77e6fcb94636c5ecbbf83db}

\begin{DoxyCompactList}\small\item\em Sets the position. \end{DoxyCompactList}\item 
void {\bf setd\-Edx} (float d\-Ed\-X)
\begin{DoxyCompactList}\small\item\em Sets d\-E/dx. \end{DoxyCompactList}\item 
void {\bf set\-E\-Dep} (float e)\label{classIMPL_1_1SimTrackerHitImpl_a8c2a771bf7d274fd179d881ecb7fd609}

\begin{DoxyCompactList}\small\item\em Sets E\-Dep. \end{DoxyCompactList}\item 
void {\bf set\-Time} (float t)\label{classIMPL_1_1SimTrackerHitImpl_a81d0bcc7944bfd94197c4f26bdc2984f}

\begin{DoxyCompactList}\small\item\em Sets the time. \end{DoxyCompactList}\item 
void {\bf set\-M\-C\-Particle} ({\bf E\-V\-E\-N\-T\-::\-M\-C\-Particle} $\ast$particle)\label{classIMPL_1_1SimTrackerHitImpl_a7708ab5e7d276a6d201098f589cdd98e}

\begin{DoxyCompactList}\small\item\em Sets the M\-C\-Particle that caused the hit. \end{DoxyCompactList}\item 
void {\bf set\-Momentum} (const float p[3])\label{classIMPL_1_1SimTrackerHitImpl_ad731974c8b43067c28baae1dc235653c}

\begin{DoxyCompactList}\small\item\em Sets the momentum of the particle at the hit's position. \end{DoxyCompactList}\item 
void {\bf set\-Momentum} (float px, float py, float pz)\label{classIMPL_1_1SimTrackerHitImpl_aded6f3001295e15cf910a6eb59435a9f}

\begin{DoxyCompactList}\small\item\em Sets the momentum of the particle at the hit's position. \end{DoxyCompactList}\item 
void {\bfseries set\-Path\-Length} (float path\-Length)\label{classIMPL_1_1SimTrackerHitImpl_ab94de9570898272303d061b44c77ccd7}

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

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

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

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

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

\item 
{\bf E\-V\-E\-N\-T\-::\-M\-C\-Particle} $\ast$ {\bfseries \-\_\-particle}\label{classIMPL_1_1SimTrackerHitImpl_ac78603f2e3217c38b504367cc74c4526}

\item 
float {\bf \-\_\-p} [3]\label{classIMPL_1_1SimTrackerHitImpl_a8c77272b44b236830befb49b17779cb1}

\begin{DoxyCompactList}\small\item\em $<$-- fixme\-: R\-O\-O\-T cannot handle this pointer !!???? \end{DoxyCompactList}\item 
float {\bfseries \-\_\-path\-Length}\label{classIMPL_1_1SimTrackerHitImpl_a39d935edb120950aad01e090513c4ffa}

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


\subsection{Detailed Description}
Implementation of Sim\-Tracker\-Hit. 

\begin{DoxySeeAlso}{See Also}
Sim\-Tracker\-Hit 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
gaede 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
Mar 6, 2003 
\end{DoxyVersion}


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


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 T\-H\-B\-I\-T\-\_\-\-I\-D1) of the collection. 

Default is to store only cellid0. 

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

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


Returns the d\-E/dx of the hit. 

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


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



References get\-E\-Dep(), and U\-T\-I\-L\-::\-L\-C\-Warning\-::print\-Warning().

\index{I\-M\-P\-L\-::\-Sim\-Tracker\-Hit\-Impl@{I\-M\-P\-L\-::\-Sim\-Tracker\-Hit\-Impl}!get\-M\-C\-Particle@{get\-M\-C\-Particle}}
\index{get\-M\-C\-Particle@{get\-M\-C\-Particle}!IMPL::SimTrackerHitImpl@{I\-M\-P\-L\-::\-Sim\-Tracker\-Hit\-Impl}}
\subsubsection[{get\-M\-C\-Particle}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\-V\-E\-N\-T\-::\-M\-C\-Particle} $\ast$ I\-M\-P\-L\-::\-Sim\-Tracker\-Hit\-Impl\-::get\-M\-C\-Particle (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1SimTrackerHitImpl_a1ef43f772e2e17466a26a30ab38b83be}


Returns the M\-C particle that caused the hit. 

\begin{DoxySeeAlso}{See Also}
M\-C\-Particle 
\end{DoxySeeAlso}


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

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


The path length of the particle in the sensitive material that resulted in this hit. 

This is only stored together with momentum, i.\-e. if L\-C\-I\-O\-::\-T\-H\-B\-I\-T\-\_\-\-M\-O\-M\-E\-N\-T\-U\-M is set. 

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

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


Returns the time of the hit. 

T\-O D\-O needs definition. 

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

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


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

Default is to store only cellid0. \index{I\-M\-P\-L\-::\-Sim\-Tracker\-Hit\-Impl@{I\-M\-P\-L\-::\-Sim\-Tracker\-Hit\-Impl}!setd\-Edx@{setd\-Edx}}
\index{setd\-Edx@{setd\-Edx}!IMPL::SimTrackerHitImpl@{I\-M\-P\-L\-::\-Sim\-Tracker\-Hit\-Impl}}
\subsubsection[{setd\-Edx}]{\setlength{\rightskip}{0pt plus 5cm}void I\-M\-P\-L\-::\-Sim\-Tracker\-Hit\-Impl\-::setd\-Edx (
\begin{DoxyParamCaption}
\item[{float}]{d\-Ed\-X}
\end{DoxyParamCaption}
)}\label{classIMPL_1_1SimTrackerHitImpl_a6fac9ee72753b343e72062e80304158c}


Sets d\-E/dx. 

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


References U\-T\-I\-L\-::\-L\-C\-Warning\-::print\-Warning(), and set\-E\-Dep().



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