1 #ifndef IMPL_TRACKSTATEIMPL_H
2 #define IMPL_TRACKSTATEIMPL_H 1
5 #include "EVENT/TrackState.h"
6 #include "AccessChecked.h"
10 #define TRKSTATENCOVMATRIX 15
11 #define TRKSTATENREFSIZE 3
30 TrackStateImpl(
int location,
float d0,
float phi,
float omega,
float z0,
float tanLambda,
const float* covMatrix,
const float* reference) ;
31 TrackStateImpl(
int location,
float d0,
float phi,
float omega,
float z0,
float tanLambda,
const EVENT::FloatVec& covMatrix,
const float* reference) ;
41 virtual int id()
const {
return simpleUID() ; }
52 virtual float getD0()
const ;
56 virtual float getPhi()
const ;
66 virtual float getZ0()
const ;
85 virtual void setLocation(
int location ) ;
86 virtual void setD0(
float d0 ) ;
87 virtual void setPhi(
float phi ) ;
88 virtual void setOmega(
float omega ) ;
89 virtual void setZ0(
float z0 ) ;
90 virtual void setTanLambda(
float tanLambda ) ;
92 virtual void setCovMatrix(
const float* cov ) ;
95 virtual void setReferencePoint(
const float* rPnt) ;
108 float _reference[TRKSTATENREFSIZE] ;
virtual float getZ0() const
Impact paramter of the track in (r-z).
Definition: TrackStateImpl.cc:98
virtual float getOmega() const
Omega is the signed curvature of the track in [1/mm].
Definition: TrackStateImpl.cc:97
std::vector< float > FloatVec
Vector of floats.
Definition: LCIOSTLTypes.h:18
The LCIO TrackState class.
Definition: TrackState.h:26
Implementation of the LCIO TrackState class.
Definition: TrackStateImpl.h:23
virtual int getLocation() const
The location of the track state.
Definition: TrackStateImpl.cc:94
virtual float getTanLambda() const
Lambda is the dip angle of the track in r-z at the reference point.
Definition: TrackStateImpl.cc:99
virtual float getD0() const
Impact paramter of the track in (r-phi).
Definition: TrackStateImpl.cc:95
virtual int id() const
Returns an object id for internal (debugging) use in LCIO.
Definition: TrackStateImpl.h:41
virtual const float * getReferencePoint() const
Reference point of the track parameters, e.g.
Definition: TrackStateImpl.cc:102
virtual ~TrackStateImpl()
Destructor.
Definition: TrackStateImpl.cc:92
virtual const EVENT::FloatVec & getCovMatrix() const
Covariance matrix of the track parameters.
Definition: TrackStateImpl.cc:101
TrackStateImpl()
Default constructor, initializes values to 0.
Definition: TrackStateImpl.cc:21
Controls access to objects.
Definition: AccessChecked.h:17
virtual float getPhi() const
Phi of the track at reference point.
Definition: TrackStateImpl.cc:96