LCIO
02.17
|
The generic calorimeter hit for real data (or simulation thereof). More...
#include <RawCalorimeterHit.h>
Public Types | |
typedef RawCalorimeterHit | lcobject_type |
Useful typedef for template programming with LCIO. More... | |
![]() | |
typedef std::type_index | ext_index |
typedef std::shared_ptr< void > | ext_type |
typedef std::map< ext_index, ext_type > | ext_map |
Public Member Functions | |
virtual | ~RawCalorimeterHit () |
Destructor. More... | |
virtual int | getCellID0 () const =0 |
Returns the detector specific (geometrical) cell id. More... | |
virtual int | getCellID1 () const =0 |
Returns the second detector specific (geometrical) cell id. More... | |
virtual int | getAmplitude () const =0 |
Returns the amplitude of the hit in ADC counts. More... | |
virtual int | getTimeStamp () const =0 |
Returns a time stamp for the hit. More... | |
![]() | |
virtual | ~LCObject () |
Destructor. More... | |
virtual int | id () const =0 |
Returns an object id for internal (debugging) use in LCIO. More... | |
virtual LCObject * | clone () const |
Returns an object id for internal (debugging) use in LCIO. More... | |
![]() | |
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,... More... | |
template<class V > | |
const V::ext_type | ext () const |
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,... More... | |
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. More... | |
The generic calorimeter hit for real data (or simulation thereof).
In order to reduce the file size you can suppress a (32-bit) pointer tag stored with every hit by setting the flag(LCIO::RCHBIT_NO_PTR)==1.
NB: If you apply this flag to reduce the file size you won't be able to point/refer to the RawCalorimeterHits, e.g. from an LCRelation object.
Definition at line 31 of file RawCalorimeterHit.h.
Useful typedef for template programming with LCIO.
Definition at line 39 of file RawCalorimeterHit.h.
|
inlinevirtual |
Destructor.
Definition at line 35 of file RawCalorimeterHit.h.
|
pure virtual |
Returns the amplitude of the hit in ADC counts.
Implemented in IMPL::RawCalorimeterHitImpl.
Referenced by UTIL::operator<<().
|
pure virtual |
Returns the detector specific (geometrical) cell id.
Implemented in IMPL::RawCalorimeterHitImpl.
Referenced by UTIL::operator<<().
|
pure virtual |
Returns the second detector specific (geometrical) cell id.
Optional, check/set flag(LCIO::RCHBIT_ID1)==1.
Implemented in IMPL::RawCalorimeterHitImpl.
Referenced by UTIL::operator<<().
|
pure virtual |
Returns a time stamp for the hit.
Optional, check/set flag(LCIO::RCHBIT_TIME)==1.
Implemented in IMPL::RawCalorimeterHitImpl.
Referenced by UTIL::operator<<().