Implementation of the LCIO TrackState class. More...
#include <IMPL/TrackStateImpl.h>
Public Member Functions | |
| TrackStateImpl () | |
| Default constructor, initializes values to 0. | |
| TrackStateImpl (int location, float d0, float phi, float omega, float z0, float tanLambda, const float *covMatrix, const float *reference) | |
| TrackStateImpl (int location, float d0, float phi, float omega, float z0, float tanLambda, const EVENT::FloatVec &covMatrix, const float *reference) | |
| TrackStateImpl (const EVENT::TrackState &p) | |
| Copy constructor which takes as an argument an EVENT::TrackState reference. | |
| virtual | ~TrackStateImpl () |
| Destructor. | |
| virtual int | id () const |
| Returns an object id for internal (debugging) use in LCIO. | |
| virtual int | getLocation () const |
| The location of the track state. | |
| virtual float | getD0 () const |
| Impact paramter of the track in (r-phi). | |
| virtual float | getPhi () const |
| Phi of the track at reference point. | |
| virtual float | getOmega () const |
| Omega is the signed curvature of the track in [1/mm]. | |
| virtual float | getZ0 () const |
| Impact paramter of the track in (r-z). | |
| virtual float | getTanLambda () const |
| Lambda is the dip angle of the track in r-z at the reference point. | |
| virtual const EVENT::FloatVec & | getCovMatrix () const |
| Covariance matrix of the track parameters. | |
| virtual const float * | getReferencePoint () const |
| Reference point of the track parameters, e.g. | |
| virtual void | setLocation (int location) |
| virtual void | setD0 (float d0) |
| virtual void | setPhi (float phi) |
| virtual void | setOmega (float omega) |
| virtual void | setZ0 (float z0) |
| virtual void | setTanLambda (float tanLambda) |
| virtual void | setCovMatrix (const float *cov) |
| virtual void | setCovMatrix (const EVENT::FloatVec &cov) |
| virtual void | setReferencePoint (const float *rPnt) |
Protected Attributes | |
| float | _d0 |
| float | _phi |
| float | _omega |
| float | _z0 |
| float | _tanLambda |
| EVENT::FloatVec | _covMatrix |
Implementation of the LCIO TrackState class.
| const FloatVec & IMPL::TrackStateImpl::getCovMatrix | ( | ) | const [virtual] |
Covariance matrix of the track parameters.
Stored as lower triangle matrix where the order of parameters is: d0, phi, omega, z0, tan(lambda). So we have cov(d0,d0), cov( phi, d0 ), cov( phi, phi), ...
Implements EVENT::TrackState.
Referenced by IMPL::TrackImpl::getCovMatrix().
| int IMPL::TrackStateImpl::getLocation | ( | ) | const [virtual] |
The location of the track state.
Location can be set to: AtIP, AtFirstHit, AtLastHit, AtCalorimeter, AtVertex, AtOther
Implements EVENT::TrackState.
| float IMPL::TrackStateImpl::getOmega | ( | ) | const [virtual] |
Omega is the signed curvature of the track in [1/mm].
The sign is that of the particle's charge.
Implements EVENT::TrackState.
| const float * IMPL::TrackStateImpl::getReferencePoint | ( | ) | const [virtual] |
Reference point of the track parameters, e.g.
the origin at the IP, or the position of the first/last hits or the entry point into the calorimeter.
Implements EVENT::TrackState.
Referenced by IMPL::TrackImpl::getReferencePoint().
1.6.1