Implementation of the real data RawCalorimeterHit. More...
#include <IMPL/RawCalorimeterHitImpl.h>
Public Member Functions | |
RawCalorimeterHitImpl () | |
Default constructor, initializes values to 0. | |
virtual | ~RawCalorimeterHitImpl () |
Destructor. | |
virtual int | id () const |
Returns an object id for internal (debugging) use in LCIO. | |
virtual int | getCellID0 () const |
Returns the detector specific (geometrical) cell id. | |
virtual int | getCellID1 () const |
Returns the second detector specific (geometrical) cell id. | |
virtual int | getAmplitude () const |
Returns the amplitude of the hit in ADC counts. | |
virtual int | getTimeStamp () const |
Returns a time stamp for the hit. | |
void | setCellID0 (int id0) |
void | setCellID1 (int id1) |
Sets the second cell id; Only store if the flag word (bit CHBIT_ID1) of the collection is set. | |
void | setAmplitude (int amplitude) |
Sets the amplitude. | |
void | setTimeStamp (int time) |
Set the time stamp. | |
Protected Attributes | |
int | _cellID0 |
int | _cellID1 |
int | _amplitude |
int | _timeStamp |
Implementation of the real data RawCalorimeterHit.
int IMPL::RawCalorimeterHitImpl::getCellID1 | ( | ) | const [virtual] |
Returns the second detector specific (geometrical) cell id.
Optional, check/set flag(LCIO::RCHBIT_ID1)==1.
Implements EVENT::RawCalorimeterHit.
int IMPL::RawCalorimeterHitImpl::getTimeStamp | ( | ) | const [virtual] |
Returns a time stamp for the hit.
Optional, check/set flag(LCIO::RCHBIT_TIME)==1.
Implements EVENT::RawCalorimeterHit.
void IMPL::RawCalorimeterHitImpl::setCellID1 | ( | int | id1 | ) |
Sets the second cell id; Only store if the flag word (bit CHBIT_ID1) of the collection is set.
Default is to store only cellid0.