Adding stuff needed for io (friend declarations, etc.) More...
#include <IOIMPL/SimTrackerHitIOImpl.h>
Friends | |
class | SIO::SIOSimTrackHitHandler |
Additional Inherited Members | |
![]() | |
typedef SimTrackerHit | lcobject_type |
Useful typedef for template programming with LCIO. | |
![]() | |
SimTrackerHitImpl () | |
Default constructor, initializes values to 0. | |
virtual | ~SimTrackerHitImpl () |
Destructor. | |
virtual int | id () const |
Returns an object id for internal (debugging) use in LCIO. | |
virtual int | getCellID () const |
DEPRECATED: use () | |
virtual int | getCellID0 () const |
Same name as in CalorimeterHit, even though there are no 'cells' in this case. | |
virtual int | getCellID1 () const |
Same name as in CalorimeterHit, even though there are no 'cells' in this case 0 if information is not stored - check the flag word (bit THBIT_ID1) of the collection. More... | |
virtual const double * | getPosition () const |
Returns the hit position. | |
virtual float | getdEdx () const |
Returns the dE/dx of the hit. More... | |
virtual float | getEDep () const |
Returns the deposited energy of the hit [GeV]. | |
virtual float | getTime () const |
Returns the time of the hit. More... | |
virtual EVENT::MCParticle * | getMCParticle () const |
Returns the MC particle that caused the hit. More... | |
virtual const float * | getMomentum () const |
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 |
The path length of the particle in the sensitive material that resulted in this hit. More... | |
void | setCellID (int id) |
DEPRECATED: use . | |
void | setCellID0 (int id0) |
Sets the first cell id;. | |
void | setCellID1 (int id1) |
Sets the second cell id; Only store if the flag word (bit THBIT_ID1) of the collection is set. More... | |
void | setPosition (const double pos[3]) |
Sets the position. | |
void | setdEdx (float dEdX) |
Sets dE/dx. More... | |
void | setEDep (float e) |
Sets EDep. | |
void | setTime (float t) |
Sets the time. | |
void | setMCParticle (EVENT::MCParticle *particle) |
Sets the MCParticle that caused the hit. | |
void | setMomentum (const float p[3]) |
Sets the momentum of the particle at the hit's position. | |
void | setMomentum (float px, float py, float pz) |
Sets the momentum of the particle at the hit's position. | |
void | setPathLength (float pathLength) |
![]() | |
virtual | ~SimTrackerHit () |
Destructor. | |
![]() | |
virtual | ~LCObject () |
Destructor. | |
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. | |
![]() | |
virtual int | simpleUID () const |
![]() | |
template<class V > | |
V::ptr & | ptr () const |
Returns the reference to the pointer to the extension/relation object. | |
![]() | |
virtual void | setReadOnly (bool readOnly) |
void | checkAccess () throw ( EVENT::ReadOnlyException ) |
void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
![]() | |
int | _cellID0 |
int | _cellID1 |
double | _pos [3] |
float | _EDep |
float | _time |
EVENT::MCParticle * | _particle |
float | _p [3] |
<– fixme: ROOT cannot handle this pointer !!???? | |
float | _pathLength |
![]() | |
bool | _readOnly |
int | _id |
Adding stuff needed for io (friend declarations, etc.)