3 using namespace EVENT ;
17 SimTrackerHitImpl::SimTrackerHitImpl() :
82 void SimTrackerHitImpl::setdEdx(
float dedx ) {
void setQuality(int quality)
float _p[3]
<– fixme: ROOT cannot handle this pointer !!????
void setPathLength(float pathLength)
static const int BITOverlay
virtual int getCellID() const =0
DEPRECATED: use ()
void setProducedBySecondary(bool val)
virtual ~SimTrackerHitImpl()
Destructor.
void setCellID1(int id1)
Sets the second cell id; Only store if the flag word (bit THBIT_ID1) of the collection is set...
virtual float getPathLength() const
The path length of the particle in the sensitive material that resulted in this hit.
void setOverlay(bool val)
EVENT::MCParticle * _particle
virtual bool isProducedBySecondary() const
True if the particle has been created by a secondary particle that is not stored in the MCParticle co...
virtual const float * getMomentum() const
Returns the 3-momentum of the particle at the hits position in [GeV] - optional, only if bit LCIO::TH...
void setEDep(float e)
Sets EDep.
virtual int getCellID0() const
Same name as in CalorimeterHit, even though there are no 'cells' in this case.
virtual float getdEdx() const =0
Returns the dE/dx of the hit in [GeV].
virtual const double * getPosition() const
Returns the hit position.
virtual int getCellID1() const
Same name as in CalorimeterHit, even though there are no 'cells' in this case 0 if information is not...
static const int BITProducedBySecondary
void setMomentum(const float p[3])
Sets the momentum of the particle at the hit's position.
virtual bool isOverlay() const
True if the hit has been overlayed by the simulation (or digitization) program.
void setCellID0(int id0)
Sets the first cell id;.
The LCIO Monte Carlo particle.
virtual EVENT::MCParticle * getMCParticle() const
Returns the MC particle that caused the hit.
void setQualityBit(int bit, bool val=true)
virtual float getTime() const
Returns the time of the hit.
void setTime(float t)
Sets the time.
void setPosition(const double pos[3])
Sets the position.
void setMCParticle(EVENT::MCParticle *particle)
Sets the MCParticle that caused the hit.
virtual float getEDep() const
Returns the deposited energy of the hit [GeV].