The generic object that is held in an LCCollection.
virtual EVENT::LCObject * getRawHit() const
The RawCalorimeterHit.
void setCellID1(int id1)
Sets the second cell id; Only store if the flag word (bit RCHBIT_ID1) of the collection is set...
void setEnergy(float en)
Sets the energy/amplitude.
CalorimeterHitImpl()
Default constructor, initializes values to 0.
void setRawHit(EVENT::LCObject *rawHit)
virtual float getTime() const
Returns the time of the hit in [ns].
virtual int getCellID1() const
Returns the second detector specific (geometrical) cell id.
void setEnergyError(float enerr)
Sets the error of the hit energy.
EVENT::LCObject * _rawHit
virtual ~CalorimeterHitImpl()
Destructor.
virtual int getType() const
Type of hit.
void setTime(float t)
Sets the time.
void setCellID0(int id0)
Sets the first cell id;.
virtual float getEnergy() const
Returns the energy of the hit.
virtual int getCellID0() const
Returns the detector specific (geometrical) cell id.
virtual const float * getPosition() const
Returns the position of the hit in world coordinates.
virtual float getEnergyError() const
Returns the error of the hit energy.
void setPosition(const float pos[3])
Sets the position.