The generic calorimeter hit - created from SimCalorimeterHit or RawCalorimeterHit. More...
#include <pre-generated/EVENT/CalorimeterHit.h>
Public Types | |
typedef CalorimeterHit | lcobject_type |
Useful typedef for template programming with LCIO. | |
Public Member Functions | |
virtual | ~CalorimeterHit () |
Destructor. | |
virtual int | getCellID0 () const =0 |
Returns the detector specific (geometrical) cell id. | |
virtual int | getCellID1 () const =0 |
Returns the second detector specific (geometrical) cell id. | |
virtual float | getEnergy () const =0 |
Returns the energy of the hit in [GeV]. | |
virtual float | getEnergyError () const =0 |
Returns the error of the hit energy in [GeV]. | |
virtual float | getTime () const =0 |
Returns the time of the hit in [ns]. | |
virtual const float * | getPosition () const =0 |
Returns the position of the hit in world coordinates. | |
virtual int | getType () const =0 |
Type of hit. | |
virtual LCObject * | getRawHit () const =0 |
The RawCalorimeterHit. |
The generic calorimeter hit - created from SimCalorimeterHit or RawCalorimeterHit.
The difference to RawCalorimeterHit 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(LCIO::RCHBIT_NO_PTR)==1.
virtual int EVENT::CalorimeterHit::getCellID1 | ( | ) | const [pure virtual] |
Returns the second detector specific (geometrical) cell id.
Optional, check/set flag(LCIO::RCHBIT_ID1)==1.
Implemented in IMPL::CalorimeterHitImpl.
Referenced by SIO::SIOCalHitHandler::write().
virtual float EVENT::CalorimeterHit::getEnergyError | ( | ) | const [pure virtual] |
Returns the error of the hit energy in [GeV].
Optional, check/set flag(LCIO::RCHBIT_ENERGY_ERROR)==1.
Implemented in IMPL::CalorimeterHitImpl.
Referenced by SIO::SIOCalHitHandler::write().
virtual const float* EVENT::CalorimeterHit::getPosition | ( | ) | const [pure virtual] |
Returns the position of the hit in world coordinates.
NULL if information is not stored - check flag(LCIO::RCHBIT_LONG)==1.
Implemented in IMPL::CalorimeterHitImpl.
Referenced by SIO::SIOCalHitHandler::write().
virtual LCObject* EVENT::CalorimeterHit::getRawHit | ( | ) | const [pure virtual] |
The RawCalorimeterHit.
As in the future there might be other types of raw calorimeter hits the return type is LCObject.
Implemented in IMPL::CalorimeterHitImpl.
Referenced by SIO::SIOCalHitHandler::write().
virtual float EVENT::CalorimeterHit::getTime | ( | ) | const [pure virtual] |
Returns the time of the hit in [ns].
Optional, check/set flag(LCIO::RCHBIT_TIME)==1.
Implemented in IMPL::CalorimeterHitImpl.
Referenced by SIO::SIOCalHitHandler::write().
virtual int EVENT::CalorimeterHit::getType | ( | ) | const [pure virtual] |
Type of hit.
Mapping of integer types to type names through collection parameters "CalorimeterHitTypeNames" and "CalorimeterHitTypeValues".
Implemented in IMPL::CalorimeterHitImpl.
Referenced by SIO::SIOCalHitHandler::write().