LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Protected Attributes | List of all members
IMPL::TrackStateImpl Class Reference

Implementation of the LCIO TrackState class. More...

#include <IMPL/TrackStateImpl.h>

Inheritance diagram for IMPL::TrackStateImpl:
EVENT::TrackState IMPL::AccessChecked EVENT::LCObject lcrtrel::LCRTRelations IOIMPL::TrackStateIOImpl

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::FloatVecgetCovMatrix () 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.
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor.
 
virtual LCObjectclone () 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,...
 
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.
 
- Public Member Functions inherited from IMPL::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
 
int _id
 

Additional Inherited Members

- Public Types inherited from EVENT::TrackState
typedef TrackState lcobject_type
 Useful typedef for template programming with LCIO.
 
- 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 lcrtrel::LCRTRelations
template<class V >
V::ptr & ptr () const
 Returns the reference to the pointer to the extension/relation object.
 
- Protected Member Functions inherited from IMPL::AccessChecked
virtual void setReadOnly (bool readOnly)
 
void checkAccess () throw ( EVENT::ReadOnlyException )
 
void checkAccess (const char *what) throw ( EVENT::ReadOnlyException )
 

Detailed Description

Implementation of the LCIO TrackState class.

See Also
TrackState
Author
gaede, engels
Version
$Id:$

Member Function Documentation

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().


The documentation for this class was generated from the following files: