1 #ifndef IMPL_SIMTRACKERHITIMPL_H
2 #define IMPL_SIMTRACKERHITIMPL_H 1
114 LCIO_DEPRECATED(
"Use setEDep(float) instead",
void setdEdx(
float dEdX ) ) ;
void setQuality(int quality)
float _p[3]
<– fixme: ROOT cannot handle this pointer !!????
void setPathLength(float pathLength)
virtual int getCellID() const =0
DEPRECATED: use ()
void setProducedBySecondary(bool val)
virtual int getQuality() const
The quality bit flag of the hit.
virtual ~SimTrackerHitImpl()
Destructor.
A generic simulated tracker hit.
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.
LCIO_DEPRECATED("Use getCellID0() instead", virtual int getCellID() const )
DEPRECATED: use ()
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.
Implementation of SimTrackerHit.
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 id() const
Returns an object id for internal (debugging) use in LCIO.
virtual int getCellID1() const
Same name as in CalorimeterHit, even though there are no 'cells' in this case 0 if information is not...
SimTrackerHitImpl()
Default constructor, initializes values to 0.
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.
virtual int simpleUID() const
void setTime(float t)
Sets the time.
SimTrackerHitImpl & operator=(const SimTrackerHitImpl &)=default
default assignment operator - use with care
Controls access to objects.
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].