2 #ifndef IMPL_TrackerHitPlaneImpl_H
3 #define IMPL_TrackerHitPlaneImpl_H 1
11 #define TRKHITPLANENCOVMATRIX 6
52 virtual const float*
getU()
const {
return _u ; }
57 virtual const float*
getV()
const {
return _v ; }
123 void setU(
const float u[2] ) {
setU( u[0] , u[1] ) ; }
124 void setU(
float theta,
float phi);
125 void setV(
const float v[2] ) {
setV( v[0] , v[1] ) ; };
126 void setV(
float theta,
float phi);
127 void setdU(
float du );
128 void setdV(
float dv );
156 #endif // #ifndef IMPL_TrackerHitPlaneImpl_H
virtual const EVENT::LCObjectVec & getRawHits() const
The raw data hits.
virtual EVENT::LCObjectVec & rawHits()
Use to manipulate the raw hits.
virtual const float * getV() const
Direction of second measurement - given as (theta, phi).
void setCellID1(int id1)
Sets the second cell id; Only store if the flag word (bit RTHPBIT_ID1) of the collection is set...
virtual int getCellID1() const
Same name as in CalorimeterHit, even though there are no 'cells' in this case 0 if information is not...
A tracker hit on a planar surface - the hit is stored as: x,y,z, u(theta, phi), v(theta,phi), du, dv where (x,y,z) is the position in global cartesian coordinates, u,v are the the meassurement directions (unit vectors, spanning the plane) and du,dv are the measurement errors along these directions.
virtual float getEDepError() const
The error measured on EDep [GeV].
EVENT::LCObjectVec _rawHits
virtual float getdV() const
Error along v.
void setU(const float u[2])
virtual int getCellID0() const
Same name as in CalorimeterHit, even though there are no 'cells' in this case.
virtual const EVENT::FloatVec & getCovMatrix() const
Covariance of the position (x,y,z)
virtual const float * getU() const
Direction of first measurement - given as (theta, phi).
virtual int getQuality() const
The quality bit flag of the hit.
virtual float getdU() const
Error along u.
void setQualityBit(int bit, bool val=true)
virtual ~TrackerHitPlaneImpl()
Destructor.
void setQuality(int quality)
virtual float getdEdx() const =0
The dE/dx of the hit in [GeV].
virtual int simpleUID() const
Implementation of the planar tracker hit.
virtual float getTime() const
The time of the hit in [ns].
void setCellID0(int id0)
Sets the first cell id;.
virtual const double * getPosition() const
The hit position in [mm].
virtual int getType() const
Type of hit.
virtual int id() const
Returns an object id for internal (debugging) use in LCIO.
void setEDepError(float e)
void setPosition(const double pos[3])
virtual float getEDep() const
The deposited energy of the hit [GeV].
Controls access to objects.
void setV(const float v[2])
LCIO_DEPRECATED("Use getEDep() instead", virtual float getdEdx() const )
The dE/dx of the hit in [GeV/mm].