A generic simulated tracker hit. More...
#include <pre-generated/EVENT/SimTrackerHit.h>
Public Types | |
typedef SimTrackerHit | lcobject_type |
Useful typedef for template programming with LCIO. | |
Public Member Functions | |
virtual | ~SimTrackerHit () |
Destructor. | |
virtual int | getCellID0 () const =0 |
Same name as in CalorimeterHit, even though there are no 'cells' in this case. | |
virtual int | getCellID1 () const =0 |
Same name as in CalorimeterHit, even though there are no 'cells' in this case Optional, check/set flag(LCIO::THBIT_ID1)==1. | |
virtual int | getCellID () const =0 |
DEPRECATED: use () | |
virtual const double * | getPosition () const =0 |
Returns the hit position in [mm]. | |
virtual float | getdEdx () const =0 |
Returns the dE/dx of the hit in [GeV]. More... | |
virtual float | getEDep () const =0 |
The energy deposited on the hit [GeV]. | |
virtual float | getTime () const =0 |
Returns the time of the hit in [ns]. More... | |
virtual MCParticle * | getMCParticle () const =0 |
Returns the MC particle that caused the hit. More... | |
virtual const float * | getMomentum () const =0 |
Returns the 3-momentum of the particle at the hits position in [GeV] - optional, only if bit LCIO::THBIT_MOMENTUM is set. | |
virtual float | getPathLength () const =0 |
The path length of the particle in the sensitive material that resulted in this hit. More... | |
![]() | |
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... | |
![]() | |
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 | |
![]() | |
template<class V > | |
V::ptr & | ptr () const |
Returns the reference to the pointer to the extension/relation object. | |
A generic simulated tracker hit.
|
pure virtual |
Returns the dE/dx of the hit in [GeV].
Implemented in IMPL::SimTrackerHitImpl.
|
pure virtual |
Returns the MC particle that caused the hit.
Implemented in IMPL::SimTrackerHitImpl.
Referenced by SIO::SIOSimTrackHitHandler::write().
|
pure virtual |
The path length of the particle in the sensitive material that resulted in this hit.
This is only stored together with momentum, i.e. if LCIO::THBIT_MOMENTUM is set.
Implemented in IMPL::SimTrackerHitImpl.
Referenced by SIO::SIOSimTrackHitHandler::write().
|
pure virtual |
Returns the time of the hit in [ns].
TO DO needs definition.
Implemented in IMPL::SimTrackerHitImpl.
Referenced by SIO::SIOSimTrackHitHandler::write().