\section{E\-V\-E\-N\-T\-:\-:Calorimeter\-Hit Class Reference}
\label{classEVENT_1_1CalorimeterHit}\index{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}}


The generic calorimeter hit -\/ created from \doxyref{Sim\-Calorimeter\-Hit}{p.}{classEVENT_1_1SimCalorimeterHit} or \doxyref{Raw\-Calorimeter\-Hit}{p.}{classEVENT_1_1RawCalorimeterHit}.  




{\ttfamily \#include $<$pre-\/generated/\-E\-V\-E\-N\-T/\-Calorimeter\-Hit.\-h$>$}

Inheritance diagram for E\-V\-E\-N\-T\-:\-:Calorimeter\-Hit\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{classEVENT_1_1CalorimeterHit}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef {\bf Calorimeter\-Hit} {\bf lcobject\-\_\-type}\label{classEVENT_1_1CalorimeterHit_ac9b024135628f6fa9ff2ab65ed31aad7}

\begin{DoxyCompactList}\small\item\em Useful typedef for template programming with \doxyref{L\-C\-I\-O}{p.}{classEVENT_1_1LCIO}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual {\bf $\sim$\-Calorimeter\-Hit} ()\label{classEVENT_1_1CalorimeterHit_a3712f8f898ef9805fe3535ec236fd70b}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual int {\bf get\-Cell\-I\-D0} () const =0\label{classEVENT_1_1CalorimeterHit_a4f17182f8e81b1f3c1e2c37f3519818f}

\begin{DoxyCompactList}\small\item\em Returns the detector specific (geometrical) cell id. \end{DoxyCompactList}\item 
virtual int {\bf get\-Cell\-I\-D1} () const =0
\begin{DoxyCompactList}\small\item\em Returns the second detector specific (geometrical) cell id. \end{DoxyCompactList}\item 
virtual float {\bf get\-Energy} () const =0\label{classEVENT_1_1CalorimeterHit_aa497a2284c0c6a0d838eb0b2332485b5}

\begin{DoxyCompactList}\small\item\em Returns the energy of the hit in [Ge\-V]. \end{DoxyCompactList}\item 
virtual float {\bf get\-Energy\-Error} () const =0
\begin{DoxyCompactList}\small\item\em Returns the error of the hit energy in [Ge\-V]. \end{DoxyCompactList}\item 
virtual float {\bf get\-Time} () const =0
\begin{DoxyCompactList}\small\item\em Returns the time of the hit in [ns]. \end{DoxyCompactList}\item 
virtual const float $\ast$ {\bf get\-Position} () const =0
\begin{DoxyCompactList}\small\item\em Returns the position of the hit in world coordinates. \end{DoxyCompactList}\item 
virtual int {\bf get\-Type} () const =0
\begin{DoxyCompactList}\small\item\em Type of hit. \end{DoxyCompactList}\item 
virtual {\bf L\-C\-Object} $\ast$ {\bf get\-Raw\-Hit} () const =0
\begin{DoxyCompactList}\small\item\em The \doxyref{Raw\-Calorimeter\-Hit}{p.}{classEVENT_1_1RawCalorimeterHit}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
The generic calorimeter hit -\/ created from \doxyref{Sim\-Calorimeter\-Hit}{p.}{classEVENT_1_1SimCalorimeterHit} or \doxyref{Raw\-Calorimeter\-Hit}{p.}{classEVENT_1_1RawCalorimeterHit}. 

The difference to \doxyref{Raw\-Calorimeter\-Hit}{p.}{classEVENT_1_1RawCalorimeterHit} is that amplitude ( energy) and time are now float and an optional position (x,y,z) can be stored with the hit. In order to suppress a (32-\/bit) pointer tag stored with every hit set flag(\-L\-C\-I\-O\-::\-R\-C\-H\-B\-I\-T\-\_\-\-N\-O\-\_\-\-P\-T\-R)==1.

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

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
Calorimeter\-Hit.\-aid,v 1.\-16 2008-\/06-\/04 17\-:37\-:15 engels Exp 
\end{DoxyParagraph}


\subsection{Member Function Documentation}
\index{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}!get\-Cell\-I\-D1@{get\-Cell\-I\-D1}}
\index{get\-Cell\-I\-D1@{get\-Cell\-I\-D1}!EVENT::CalorimeterHit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}}
\subsubsection[{get\-Cell\-I\-D1}]{\setlength{\rightskip}{0pt plus 5cm}virtual int E\-V\-E\-N\-T\-::\-Calorimeter\-Hit\-::get\-Cell\-I\-D1 (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1CalorimeterHit_adba2e6fe942a8c81b6e92b78eac0f12d}


Returns the second detector specific (geometrical) cell id. 

Optional, check/set flag(\-L\-C\-I\-O\-::\-R\-C\-H\-B\-I\-T\-\_\-\-I\-D1)==1. 

Implemented in {\bf I\-M\-P\-L\-::\-Calorimeter\-Hit\-Impl} \doxyref{}{p.}{classIMPL_1_1CalorimeterHitImpl_a20b831a19e6dad000d93fbdbbedb753c}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Cal\-Hit\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}!get\-Energy\-Error@{get\-Energy\-Error}}
\index{get\-Energy\-Error@{get\-Energy\-Error}!EVENT::CalorimeterHit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}}
\subsubsection[{get\-Energy\-Error}]{\setlength{\rightskip}{0pt plus 5cm}virtual float E\-V\-E\-N\-T\-::\-Calorimeter\-Hit\-::get\-Energy\-Error (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1CalorimeterHit_a3059e2dafc3df7e6e5071d9fd2e31da6}


Returns the error of the hit energy in [Ge\-V]. 

Optional, check/set flag(\-L\-C\-I\-O\-::\-R\-C\-H\-B\-I\-T\-\_\-\-E\-N\-E\-R\-G\-Y\-\_\-\-E\-R\-R\-O\-R)==1. 

Implemented in {\bf I\-M\-P\-L\-::\-Calorimeter\-Hit\-Impl} \doxyref{}{p.}{classIMPL_1_1CalorimeterHitImpl_a5e7a4351f0156c3127b634db592ac929}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Cal\-Hit\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}!get\-Position@{get\-Position}}
\index{get\-Position@{get\-Position}!EVENT::CalorimeterHit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}}
\subsubsection[{get\-Position}]{\setlength{\rightskip}{0pt plus 5cm}virtual const float$\ast$ E\-V\-E\-N\-T\-::\-Calorimeter\-Hit\-::get\-Position (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1CalorimeterHit_a73c4e571d43f9abd2cc7d89e82f636fb}


Returns the position of the hit in world coordinates. 

N\-U\-L\-L if information is not stored -\/ check flag(\-L\-C\-I\-O\-::\-R\-C\-H\-B\-I\-T\-\_\-\-L\-O\-N\-G)==1. 

Implemented in {\bf I\-M\-P\-L\-::\-Calorimeter\-Hit\-Impl} \doxyref{}{p.}{classIMPL_1_1CalorimeterHitImpl_a7d3f209c4470ad33912dff4904a055d3}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Cal\-Hit\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}!get\-Raw\-Hit@{get\-Raw\-Hit}}
\index{get\-Raw\-Hit@{get\-Raw\-Hit}!EVENT::CalorimeterHit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}}
\subsubsection[{get\-Raw\-Hit}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf L\-C\-Object}$\ast$ E\-V\-E\-N\-T\-::\-Calorimeter\-Hit\-::get\-Raw\-Hit (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1CalorimeterHit_a8261427f61e40cc6eafd9d5a172960ca}


The \doxyref{Raw\-Calorimeter\-Hit}{p.}{classEVENT_1_1RawCalorimeterHit}. 

As in the future there might be other types of raw calorimeter hits the return type is \doxyref{L\-C\-Object}{p.}{classEVENT_1_1LCObject}. 

Implemented in {\bf I\-M\-P\-L\-::\-Calorimeter\-Hit\-Impl} \doxyref{}{p.}{classIMPL_1_1CalorimeterHitImpl_ad518ca473906a5afbf438f3f653e1b24}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Cal\-Hit\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}!get\-Time@{get\-Time}}
\index{get\-Time@{get\-Time}!EVENT::CalorimeterHit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}}
\subsubsection[{get\-Time}]{\setlength{\rightskip}{0pt plus 5cm}virtual float E\-V\-E\-N\-T\-::\-Calorimeter\-Hit\-::get\-Time (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1CalorimeterHit_aecc1e6765edcdd2ff54d84ff23e31904}


Returns the time of the hit in [ns]. 

Optional, check/set flag(\-L\-C\-I\-O\-::\-R\-C\-H\-B\-I\-T\-\_\-\-T\-I\-M\-E)==1. 

Implemented in {\bf I\-M\-P\-L\-::\-Calorimeter\-Hit\-Impl} \doxyref{}{p.}{classIMPL_1_1CalorimeterHitImpl_afaac55f096ae368b6f7be95a791471ff}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Cal\-Hit\-Handler\-::write().

\index{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}!get\-Type@{get\-Type}}
\index{get\-Type@{get\-Type}!EVENT::CalorimeterHit@{E\-V\-E\-N\-T\-::\-Calorimeter\-Hit}}
\subsubsection[{get\-Type}]{\setlength{\rightskip}{0pt plus 5cm}virtual int E\-V\-E\-N\-T\-::\-Calorimeter\-Hit\-::get\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classEVENT_1_1CalorimeterHit_a3bbf447ae34197fc40a6c98f7355320b}


Type of hit. 

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

Implemented in {\bf I\-M\-P\-L\-::\-Calorimeter\-Hit\-Impl} \doxyref{}{p.}{classIMPL_1_1CalorimeterHitImpl_a37dbffe45ee03525fb66a2bdf14cf2b3}.



Referenced by S\-I\-O\-::\-S\-I\-O\-Cal\-Hit\-Handler\-::write().



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Calorimeter\-Hit.\-h\end{DoxyCompactItemize}
