\section{I\-M\-P\-L\-:\-:T\-P\-C\-Hit\-Impl Class Reference}
\label{classIMPL_1_1TPCHitImpl}\index{I\-M\-P\-L\-::\-T\-P\-C\-Hit\-Impl@{I\-M\-P\-L\-::\-T\-P\-C\-Hit\-Impl}}


Implementation of the real data T\-P\-C\-Hit.  




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

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

\begin{DoxyCompactList}\small\item\em Default Constructor -\/ initializes all data to 0's. \end{DoxyCompactList}\item 
virtual {\bf $\sim$\-T\-P\-C\-Hit\-Impl} ()\label{classIMPL_1_1TPCHitImpl_acabc11e281839eba123b49610cfc2e0b}

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

\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_1TPCHitImpl_a8484485369641ebd7cf5d3f5cb371ed7}

\begin{DoxyCompactList}\small\item\em Returns the detector specific cell id. \end{DoxyCompactList}\item 
virtual float {\bf get\-Time} () const \label{classIMPL_1_1TPCHitImpl_a5ff969df3893718c00a85f1acacf0ed3}

\begin{DoxyCompactList}\small\item\em Returns the time of the hit. \end{DoxyCompactList}\item 
virtual float {\bf get\-Charge} () const \label{classIMPL_1_1TPCHitImpl_a4412c5bf35f05452881000a45829e82f}

\begin{DoxyCompactList}\small\item\em Returns the integrated charge of the hit. \end{DoxyCompactList}\item 
virtual int {\bf get\-Quality} () const \label{classIMPL_1_1TPCHitImpl_a544b1b40d665eff366478534dd7a4864}

\begin{DoxyCompactList}\small\item\em Returns a quality flag for the hit. \end{DoxyCompactList}\item 
virtual int {\bf get\-N\-Raw\-Data\-Words} () const 
\begin{DoxyCompactList}\small\item\em Return the number of raw data (32-\/bit) words stored for the hit. \end{DoxyCompactList}\item 
virtual int {\bf get\-Raw\-Data\-Word} (int i) const 
\begin{DoxyCompactList}\small\item\em Return the raw data (32-\/bit) word at i. \end{DoxyCompactList}\item 
virtual void {\bf set\-Cell\-I\-D} (int cell\-I\-D)\label{classIMPL_1_1TPCHitImpl_aabeca9f32f0fed1a452f6263947ccdf0}

\begin{DoxyCompactList}\small\item\em Set the cell id. \end{DoxyCompactList}\item 
virtual void {\bf set\-Time} (float time)\label{classIMPL_1_1TPCHitImpl_a55b045176ee3eab4fae7c50d60b8d65c}

\begin{DoxyCompactList}\small\item\em Set the time. \end{DoxyCompactList}\item 
virtual void {\bf set\-Charge} (float charge)\label{classIMPL_1_1TPCHitImpl_ac3b91416a5a6acca7a7f3a6384bf6d0a}

\begin{DoxyCompactList}\small\item\em Set the charge. \end{DoxyCompactList}\item 
virtual void {\bf set\-Quality} (int quality)\label{classIMPL_1_1TPCHitImpl_ad966372e17b01b5276bb8de98cad5c7a}

\begin{DoxyCompactList}\small\item\em Set the cell quality word. \end{DoxyCompactList}\item 
virtual void {\bf set\-Raw\-Data} (const int $\ast$raw, int size)\label{classIMPL_1_1TPCHitImpl_a592a42c668234c3619b15aa61f22afa2}

\begin{DoxyCompactList}\small\item\em Set the raw data. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void {\bf init\-Raw\-Array} (int size)\label{classIMPL_1_1TPCHitImpl_af0b2ea6cf6d287474e024281f09118c9}

\begin{DoxyCompactList}\small\item\em initialize the raw data array -\/ for faster reading \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
int {\bfseries \-\_\-cell\-I\-D}\label{classIMPL_1_1TPCHitImpl_a0a9aab5d618791cf628d42551b7d850a}

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

\item 
float {\bfseries \-\_\-charge}\label{classIMPL_1_1TPCHitImpl_a50fd06dfa2cae932621b6d440608e63b}

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

\item 
int {\bfseries \-\_\-raw\-Size}\label{classIMPL_1_1TPCHitImpl_a8664a221c0a7185903c81ce10c1810cc}

\item 
int $\ast$ {\bfseries \-\_\-raw\-Array}\label{classIMPL_1_1TPCHitImpl_a6b39500afb6b017c8eea48e075257640}

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


\subsection{Detailed Description}
Implementation of the real data T\-P\-C\-Hit. 

\begin{DoxyAuthor}{Author}
gaede 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
Sep 11, 2003 
\end{DoxyVersion}


\subsection{Member Function Documentation}
\index{I\-M\-P\-L\-::\-T\-P\-C\-Hit\-Impl@{I\-M\-P\-L\-::\-T\-P\-C\-Hit\-Impl}!get\-N\-Raw\-Data\-Words@{get\-N\-Raw\-Data\-Words}}
\index{get\-N\-Raw\-Data\-Words@{get\-N\-Raw\-Data\-Words}!IMPL::TPCHitImpl@{I\-M\-P\-L\-::\-T\-P\-C\-Hit\-Impl}}
\subsubsection[{get\-N\-Raw\-Data\-Words}]{\setlength{\rightskip}{0pt plus 5cm}int I\-M\-P\-L\-::\-T\-P\-C\-Hit\-Impl\-::get\-N\-Raw\-Data\-Words (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1TPCHitImpl_ac292f92274b554b6c72ee87de7501c86}


Return the number of raw data (32-\/bit) words stored for the hit. 

Check the flag word (bit T\-P\-C\-B\-I\-T\-\_\-\-R\-A\-W) of the collection if raw data is stored at all. 

Implements {\bf E\-V\-E\-N\-T\-::\-T\-P\-C\-Hit} \doxyref{}{p.}{classEVENT_1_1TPCHit_ad506376309a5da5e2173c5b0e8ab3875}.

\index{I\-M\-P\-L\-::\-T\-P\-C\-Hit\-Impl@{I\-M\-P\-L\-::\-T\-P\-C\-Hit\-Impl}!get\-Raw\-Data\-Word@{get\-Raw\-Data\-Word}}
\index{get\-Raw\-Data\-Word@{get\-Raw\-Data\-Word}!IMPL::TPCHitImpl@{I\-M\-P\-L\-::\-T\-P\-C\-Hit\-Impl}}
\subsubsection[{get\-Raw\-Data\-Word}]{\setlength{\rightskip}{0pt plus 5cm}int I\-M\-P\-L\-::\-T\-P\-C\-Hit\-Impl\-::get\-Raw\-Data\-Word (
\begin{DoxyParamCaption}
\item[{int}]{i}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classIMPL_1_1TPCHitImpl_a6c7d5caab89fa8b04b85389ce1c18030}


Return the raw data (32-\/bit) word at i. 

Check the flag word (bit T\-P\-C\-B\-I\-T\-\_\-\-R\-A\-W) of the collection if raw data is stored at all. 

Implements {\bf E\-V\-E\-N\-T\-::\-T\-P\-C\-Hit} \doxyref{}{p.}{classEVENT_1_1TPCHit_ad918bf2644a39048ac1435ad8df87ba0}.



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