|
LCIO
02.17
|
Implementation of the LCIO TrackState class. More...
#include <TrackStateImpl.h>
Inheritance diagram for IMPL::TrackStateImpl:Public Member Functions | |
| TrackStateImpl () | |
| Default constructor, initializes values to 0. More... | |
| 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. More... | |
| virtual | ~TrackStateImpl () |
| Destructor. More... | |
| virtual int | id () const |
| Returns an object id for internal (debugging) use in LCIO. More... | |
| virtual int | getLocation () const |
| The location of the track state. More... | |
| virtual float | getD0 () const |
| Impact paramter of the track in (r-phi). More... | |
| virtual float | getPhi () const |
| Phi of the track at reference point. More... | |
| 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). More... | |
| virtual float | getTanLambda () const |
| Lambda is the dip angle of the track in r-z at the reference point. More... | |
| 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) |
Public Member Functions inherited from EVENT::TrackState | |
| virtual | ~TrackState () |
| Destructor. More... | |
Public Member Functions inherited from EVENT::LCObject | |
| virtual | ~LCObject () |
| Destructor. More... | |
| virtual LCObject * | clone () const |
| Returns an object id for internal (debugging) use in LCIO. More... | |
Public Member Functions inherited from lcrtrel::LCRTRelations | |
| 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,... More... | |
| template<class V > | |
| const V::ext_type | ext () const |
| 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,... More... | |
| 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. More... | |
Public Member Functions inherited from IMPL::AccessChecked | |
| AccessChecked () | |
| virtual | ~AccessChecked () |
| virtual int | simpleUID () const |
Protected Attributes | |
| int | _location {} |
| float | _d0 |
| float | _phi |
| float | _omega |
| float | _z0 |
| float | _tanLambda |
| EVENT::FloatVec | _covMatrix |
| float | _reference [TRKSTATENREFSIZE] {} |
Protected Attributes inherited from IMPL::AccessChecked | |
| bool | _readOnly {false} |
| int | _id {-1} |
Additional Inherited Members | |
Public Types inherited from EVENT::TrackState | |
| typedef TrackState | lcobject_type |
| Useful typedef for template programming with LCIO. More... | |
Public Types inherited from lcrtrel::LCRTRelations | |
| typedef std::type_index | ext_index |
| typedef std::shared_ptr< void > | ext_type |
| typedef std::map< ext_index, ext_type > | ext_map |
Static Public Attributes inherited from EVENT::TrackState | |
| 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 |
Protected Member Functions inherited from IMPL::AccessChecked | |
| virtual void | setReadOnly (bool readOnly) |
| void | checkAccess () |
| void | checkAccess (const char *what) |
Static Protected Attributes inherited from IMPL::AccessChecked | |
| static std::atomic_int | _lCObjectId |
Implementation of the LCIO TrackState class.
Definition at line 23 of file TrackStateImpl.h.
| IMPL::TrackStateImpl::TrackStateImpl | ( | ) |
Default constructor, initializes values to 0.
Definition at line 21 of file TrackStateImpl.cc.
References _reference, and TRKSTATENREFSIZE.
| IMPL::TrackStateImpl::TrackStateImpl | ( | int | location, |
| float | d0, | ||
| float | phi, | ||
| float | omega, | ||
| float | z0, | ||
| float | tanLambda, | ||
| const float * | covMatrix, | ||
| const float * | reference | ||
| ) |
Definition at line 36 of file TrackStateImpl.cc.
References _covMatrix, setLocation(), setReferencePoint(), and TRKSTATENCOVMATRIX.
| IMPL::TrackStateImpl::TrackStateImpl | ( | int | location, |
| float | d0, | ||
| float | phi, | ||
| float | omega, | ||
| float | z0, | ||
| float | tanLambda, | ||
| const EVENT::FloatVec & | covMatrix, | ||
| const float * | reference | ||
| ) |
Definition at line 55 of file TrackStateImpl.cc.
References setLocation(), and setReferencePoint().
| IMPL::TrackStateImpl::TrackStateImpl | ( | const EVENT::TrackState & | p | ) |
Copy constructor which takes as an argument an EVENT::TrackState reference.
Definition at line 69 of file TrackStateImpl.cc.
References EVENT::TrackState::getLocation(), EVENT::TrackState::getReferencePoint(), setLocation(), and setReferencePoint().
|
virtual |
Destructor.
Definition at line 87 of file TrackStateImpl.cc.
|
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.
Definition at line 96 of file TrackStateImpl.cc.
References _covMatrix.
Referenced by IMPL::TrackImpl::getCovMatrix().
|
virtual |
Impact paramter of the track in (r-phi).
Implements EVENT::TrackState.
Definition at line 90 of file TrackStateImpl.cc.
References _d0.
|
virtual |
The location of the track state.
Location can be set to: AtIP, AtFirstHit, AtLastHit, AtCalorimeter, AtVertex, AtOther
Implements EVENT::TrackState.
Definition at line 89 of file TrackStateImpl.cc.
References _location.
|
virtual |
Omega is the signed curvature of the track in [1/mm].
The sign is that of the particle's charge.
Implements EVENT::TrackState.
Definition at line 92 of file TrackStateImpl.cc.
References _omega.
|
virtual |
Phi of the track at reference point.
Implements EVENT::TrackState.
Definition at line 91 of file TrackStateImpl.cc.
References _phi.
|
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.
Definition at line 97 of file TrackStateImpl.cc.
References _reference.
Referenced by IMPL::TrackImpl::getReferencePoint().
|
virtual |
Lambda is the dip angle of the track in r-z at the reference point.
Implements EVENT::TrackState.
Definition at line 94 of file TrackStateImpl.cc.
References _tanLambda.
|
virtual |
Impact paramter of the track in (r-z).
Implements EVENT::TrackState.
Definition at line 93 of file TrackStateImpl.cc.
References _z0.
|
inlinevirtual |
Returns an object id for internal (debugging) use in LCIO.
Implements EVENT::LCObject.
Definition at line 41 of file TrackStateImpl.h.
References IMPL::AccessChecked::simpleUID().
|
virtual |
Definition at line 129 of file TrackStateImpl.cc.
References _covMatrix, IMPL::AccessChecked::checkAccess(), and TRKSTATENCOVMATRIX.
|
virtual |
Definition at line 135 of file TrackStateImpl.cc.
References _covMatrix, IMPL::AccessChecked::checkAccess(), and TRKSTATENCOVMATRIX.
|
virtual |
Definition at line 109 of file TrackStateImpl.cc.
References _d0, and IMPL::AccessChecked::checkAccess().
|
virtual |
Definition at line 100 of file TrackStateImpl.cc.
References _location, and IMPL::AccessChecked::checkAccess().
Referenced by TrackStateImpl().
|
virtual |
Definition at line 117 of file TrackStateImpl.cc.
References _omega, and IMPL::AccessChecked::checkAccess().
|
virtual |
Definition at line 113 of file TrackStateImpl.cc.
References _phi, and IMPL::AccessChecked::checkAccess().
|
virtual |
Definition at line 142 of file TrackStateImpl.cc.
References _reference, IMPL::AccessChecked::checkAccess(), and TRKSTATENREFSIZE.
Referenced by TrackStateImpl().
|
virtual |
Definition at line 125 of file TrackStateImpl.cc.
References _tanLambda, and IMPL::AccessChecked::checkAccess().
|
virtual |
Definition at line 121 of file TrackStateImpl.cc.
References _z0, and IMPL::AccessChecked::checkAccess().
|
protected |
Definition at line 107 of file TrackStateImpl.h.
Referenced by getCovMatrix(), setCovMatrix(), and TrackStateImpl().
|
protected |
Definition at line 101 of file TrackStateImpl.h.
|
protected |
Definition at line 100 of file TrackStateImpl.h.
Referenced by getLocation(), and setLocation().
|
protected |
Definition at line 103 of file TrackStateImpl.h.
Referenced by getOmega(), and setOmega().
|
protected |
Definition at line 102 of file TrackStateImpl.h.
|
protected |
Definition at line 108 of file TrackStateImpl.h.
Referenced by getReferencePoint(), setReferencePoint(), and TrackStateImpl().
|
protected |
Definition at line 105 of file TrackStateImpl.h.
Referenced by getTanLambda(), and setTanLambda().
|
protected |
Definition at line 104 of file TrackStateImpl.h.
1.8.5