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. More... | |
| 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]. More... | |
| virtual float | getTime () const =0 |
| Returns the time of the hit in [ns]. More... | |
| virtual const float * | getPosition () const =0 |
| Returns the position of the hit in world coordinates. More... | |
| virtual int | getType () const =0 |
| Type of hit. More... | |
| virtual LCObject * | getRawHit () const =0 |
| The RawCalorimeterHit. More... | |
Public Member Functions inherited from EVENT::LCObject | |
| virtual | ~LCObject () |
| Destructor. | |
| virtual int | id () const =0 |
| Returns an object id for internal (debugging) use in LCIO. | |
| virtual LCObject * | clone () const |
| Returns an object id for internal (debugging) use in LCIO. More... | |
Public Member Functions inherited from lcrtrel::LCRTRelations | |
| template<class V > | |
| V::ext_type | ext () |
| Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,... | |
| template<class V > | |
| const V::ext_type | ext () const |
| template<class V > | |
| V::rel_type | rel () |
| Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation. | |
Additional Inherited Members | |
Protected Member Functions inherited from lcrtrel::LCRTRelations | |
| template<class V > | |
| V::ptr & | ptr () const |
| Returns the reference to the pointer to the extension/relation object. | |
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.
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
1.8.6