1 #ifndef IMPL_SIMTRACKERHITIMPL_H
2 #define IMPL_SIMTRACKERHITIMPL_H 1
5 #include "EVENT/SimTrackerHit.h"
6 #include "EVENT/MCParticle.h"
7 #include "AccessChecked.h"
31 virtual int id()
const {
return simpleUID() ; }
131 void setPathLength(
float pathLength);
virtual int getCellID() const
DEPRECATED: use ()
Definition: SimTrackerHitImpl.cc:29
float _p[3]
<– fixme: ROOT cannot handle this pointer !!????
Definition: SimTrackerHitImpl.h:140
virtual ~SimTrackerHitImpl()
Destructor.
Definition: SimTrackerHitImpl.cc:25
A generic simulated tracker hit.
Definition: SimTrackerHit.h:23
void setCellID1(int id1)
Sets the second cell id; Only store if the flag word (bit THBIT_ID1) of the collection is set...
Definition: SimTrackerHitImpl.cc:69
virtual float getPathLength() const
The path length of the particle in the sensitive material that resulted in this hit.
Definition: SimTrackerHitImpl.cc:53
void setdEdx(float dEdX)
Sets dE/dx.
Definition: SimTrackerHitImpl.cc:82
virtual const float * getMomentum() const
Returns the 3-momentum of the particle at the hits position in [GeV] - optional, only if bit LCIO::TH...
Definition: SimTrackerHitImpl.cc:55
void setEDep(float e)
Sets EDep.
Definition: SimTrackerHitImpl.cc:91
Implementation of SimTrackerHit.
Definition: SimTrackerHitImpl.h:20
virtual int getCellID0() const
Same name as in CalorimeterHit, even though there are no 'cells' in this case.
Definition: SimTrackerHitImpl.cc:33
virtual const double * getPosition() const
Returns the hit position.
Definition: SimTrackerHitImpl.cc:36
virtual int id() const
Returns an object id for internal (debugging) use in LCIO.
Definition: SimTrackerHitImpl.h:31
virtual int getCellID1() const
Same name as in CalorimeterHit, even though there are no 'cells' in this case 0 if information is not...
Definition: SimTrackerHitImpl.cc:34
SimTrackerHitImpl()
Default constructor, initializes values to 0.
Definition: SimTrackerHitImpl.cc:9
virtual float getdEdx() const
Returns the dE/dx of the hit.
Definition: SimTrackerHitImpl.cc:39
void setMomentum(const float p[3])
Sets the momentum of the particle at the hit's position.
Definition: SimTrackerHitImpl.cc:106
void setCellID0(int id0)
Sets the first cell id;.
Definition: SimTrackerHitImpl.cc:64
The LCIO Monte Carlo particle.
Definition: MCParticle.h:27
virtual EVENT::MCParticle * getMCParticle() const
Returns the MC particle that caused the hit.
Definition: SimTrackerHitImpl.cc:51
virtual float getTime() const
Returns the time of the hit.
Definition: SimTrackerHitImpl.cc:49
void setTime(float t)
Sets the time.
Definition: SimTrackerHitImpl.cc:96
void setCellID(int id)
DEPRECATED: use .
Definition: SimTrackerHitImpl.cc:57
Controls access to objects.
Definition: AccessChecked.h:17
void setPosition(const double pos[3])
Sets the position.
Definition: SimTrackerHitImpl.cc:74
void setMCParticle(EVENT::MCParticle *particle)
Sets the MCParticle that caused the hit.
Definition: SimTrackerHitImpl.cc:101
virtual float getEDep() const
Returns the deposited energy of the hit [GeV].
Definition: SimTrackerHitImpl.cc:47