1 #ifndef IMPL_TRACKIMPL_H
2 #define IMPL_TRACKIMPL_H 1
12 #define BIT_ISREFERENCEPOINTDCA 31
19 class TrackStateImpl ;
60 virtual float getD0()
const ;
65 virtual float getPhi()
const ;
76 virtual float getZ0()
const ;
102 virtual float getChi2()
const ;
106 virtual int getNdf()
const ;
160 virtual void setTypeBit(
int index ,
bool val=
true) ;
162 virtual void setD0(
float d0 ) ;
163 virtual void setPhi(
float phi ) ;
164 virtual void setOmega(
float omega ) ;
165 virtual void setZ0(
float z0 ) ;
173 virtual void setChi2(
float chi2 ) ;
174 virtual void setNdf(
int ndf ) ;
175 virtual void setdEdx(
float dEdx ) ;
196 virtual void setType(
int type ) ;
virtual float getRadiusOfInnermostHit() const
The radius of the innermost hit that has been used in the track fit.
virtual void setTypeBit(int index, bool val=true)
virtual void setZ0(float z0)
virtual void addHit(EVENT::TrackerHit *hit)
A generic tracker hit to be used by pattern recognition.
virtual EVENT::TrackStateVec & trackStates()
virtual void setNdf(int ndf)
virtual const EVENT::TrackState * getTrackState(int location) const
Returns track state for the given location - or NULL if not found.
virtual const EVENT::FloatVec & getCovMatrix() const
Covariance matrix of the track parameters.
virtual const EVENT::TrackVec & getTracks() const
The tracks (as Track objects) that have been combined to this track.
virtual void setOmega(float omega)
virtual void setReferencePoint(const float *rPnt)
virtual EVENT::IntVec & subdetectorHitNumbers()
Allows modification of the subdetectorHitNumbers, e.g.
Implementation of the LCIO track class.
The LCIO TrackState class.
virtual int getType() const
Flagword that defines the type of track.
std::map< std::string, EVENT::IntVec * > IndexMap
Implementation of the LCIO TrackState class.
virtual float getOmega() const
Omega is the signed curvature of the track in [1/mm].
virtual int getNdf() const
Number of degrees of freedom of the track fit.
virtual void setD0(float d0)
virtual float getdEdx() const
dEdx of the track.
virtual const EVENT::IntVec & getSubdetectorHitNumbers() const
A vector that holds the number of hits in particular subdetectors.
TrackImpl()
Default constructor, initializes values to 0.
static const TrackStateImpl _dummy
virtual void addTrack(EVENT::Track *trk)
virtual void setRadiusOfInnermostHit(float r)
virtual float getChi2() const
True if the reference point is the point of closest approach.
EVENT::IntVec _subdetectorHitNumbers
EVENT::TrackStateVec _trackStates
virtual float getZ0() const
Impact paramter of the track in (r-z).
const TrackImpl & operator=(const TrackImpl &o)
virtual int id() const
Returns an object id for internal (debugging) use in LCIO.
virtual void setTanLambda(float tanLambda)
virtual void addTrackState(EVENT::TrackState *trkstate)
EVENT::TrackerHitVec _hits
virtual const EVENT::TrackerHitVec & getTrackerHits() const
Optionaly ( check/set flag(LCIO::TRBIT_HITS)==1) return the hits that have been used to create this t...
virtual void setChi2(float chi2)
virtual void setType(int type)
virtual ~TrackImpl()
Destructor.
virtual int simpleUID() const
virtual void setdEdxError(float dEdxError)
float _radiusOfInnermostHit
virtual float getTanLambda() const
Lambda is the dip angle of the track in r-z at the reference point.
virtual void setPhi(float phi)
Controls access to objects.
virtual const EVENT::TrackState * getClosestTrackState(float x, float y, float z) const
Returns track state closest to the given point.
virtual void setdEdx(float dEdx)
virtual const EVENT::TrackStateVec & getTrackStates() const
Returns track states associtated with this track.
virtual float getD0() const
Impact paramter of the track in (r-phi).
virtual float getdEdxError() const
Error of dEdx.
virtual void setCovMatrix(const float *cov)
virtual float getPhi() const
Phi of the track at reference point.
virtual const float * getReferencePoint() const
Reference point of the track parameters.