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. More... | |
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]. More... | |
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. More... | |
virtual const float * | getReferencePoint () const |
Reference point of the track parameters, e.g. More... | |
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) |
![]() | |
virtual | ~TrackState () |
Destructor. | |
![]() | |
virtual | ~LCObject () |
Destructor. | |
virtual LCObject * | clone () const |
Returns an object id for internal (debugging) use in LCIO. More... | |
![]() | |
template<class V > | |
V::ext_type | ext () |
Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,... | |
template<class V > | |
const V::ext_type | ext () const |
template<class V > | |
V::rel_type | rel () |
Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation. | |
![]() | |
virtual int | simpleUID () const |
Protected Attributes | |
int | _location |
float | _d0 |
float | _phi |
float | _omega |
float | _z0 |
float | _tanLambda |
EVENT::FloatVec | _covMatrix |
float | _reference [TRKSTATENREFSIZE] |
![]() | |
bool | _readOnly |
int | _id |
Additional Inherited Members | |
![]() | |
typedef TrackState | lcobject_type |
Useful typedef for template programming with LCIO. | |
![]() | |
static const int | AtOther = 0 |
static const int | AtIP = 1 |
static const int | AtFirstHit = 2 |
static const int | AtLastHit = 3 |
static const int | AtCalorimeter = 4 |
static const int | AtVertex = 5 |
static const int | LastLocation = AtVertex |
![]() | |
template<class V > | |
V::ptr & | ptr () const |
Returns the reference to the pointer to the extension/relation object. | |
![]() | |
virtual void | setReadOnly (bool readOnly) |
void | checkAccess () throw ( EVENT::ReadOnlyException ) |
void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
Implementation of the LCIO TrackState class.
|
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().
|
virtual |
The location of the track state.
Location can be set to: AtIP, AtFirstHit, AtLastHit, AtCalorimeter, AtVertex, AtOther
Implements EVENT::TrackState.
|
virtual |
Omega is the signed curvature of the track in [1/mm].
The sign is that of the particle's charge.
Implements EVENT::TrackState.
|
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().