2 #ifndef IMPL_TRACKERHITIMPL_H
3 #define IMPL_TRACKERHITIMPL_H 1
11 #define TRKHITNCOVMATRIX 6
112 LCIO_DEPRECATED(
"Use setEDep(float) instead" ,
void setdEdx(
float dedx ) ) ;
A generic tracker hit to be used by pattern recognition.
virtual int getCellID1() const
Same name as in CalorimeterHit, even though there are no 'cells' in this case 0 if information is not...
virtual int getQuality() const
The quality bit flag of the hit.
void setCovMatrix(const EVENT::FloatVec &cov)
virtual const double * getPosition() const
The hit position in [mm].
virtual int getType() const
Type of raw data hit, either one of LCIO::TPCHIT LCIO::SIMTRACKERHIT
virtual const EVENT::FloatVec & getCovMatrix() const
Covariance of the position (x,y,z)
virtual float getTime() const
The time of the hit in [ns].
void setCellID1(int id1)
Sets the second cell id; Only store if the flag word (bit RTHBIT_ID1) of the collection is set...
void setQuality(int quality)
void setQualityBit(int bit, bool val=true)
virtual ~TrackerHitImpl()
Destructor.
virtual EVENT::LCObjectVec & rawHits()
Use to manipulate the raw hits.
EVENT::LCObjectVec _rawHits
void setCellID0(int id0)
Sets the first cell id;.
void setEDepError(float e)
virtual const EVENT::LCObjectVec & getRawHits() const
The raw data hits.
virtual float getdEdx() const =0
The dE/dx of the hit in [GeV].
Implementation of the generic tracker hit.
virtual float getEDep() const
The deposited energy of the hit [GeV].
virtual int getCellID0() const
Same name as in CalorimeterHit, even though there are no 'cells' in this case.
virtual int id() const
Returns an object id for internal (debugging) use in LCIO.
virtual int simpleUID() const
virtual float getEDepError() const
The error measured on EDep [GeV].
Controls access to objects.
LCIO_DEPRECATED("Use getEDep() instead", virtual float getdEdx() const )
The dE/dx of the hit in [GeV/mm].
void setPosition(const double pos[3])