LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Attributes | List of all members
EVENT::TrackState Class Referenceabstract

The LCIO TrackState class. More...

#include <TrackState.h>

+ Inheritance diagram for EVENT::TrackState:

Public Types

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
 

Public Member Functions

virtual ~TrackState ()
 Destructor. More...
 
virtual int getLocation () const =0
 The location of the track state. More...
 
virtual float getD0 () const =0
 Impact paramter of the track in (r-phi). More...
 
virtual float getPhi () const =0
 Phi of the track at the reference point. More...
 
virtual float getOmega () const =0
 Omega is the signed curvature of the track in [1/mm]. More...
 
virtual float getZ0 () const =0
 Impact paramter of the track in (r-z). More...
 
virtual float getTanLambda () const =0
 Lambda is the dip angle of the track in r-z at the reference point. More...
 
virtual const FloatVecgetCovMatrix () const =0
 Covariance matrix of the track parameters. More...
 
virtual const float * getReferencePoint () const =0
 Reference point of the track parameters, e.g. More...
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor. More...
 
virtual int id () const =0
 Returns an object id for internal (debugging) use in LCIO. More...
 
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,... 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...
 

Static Public Attributes

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
 

Detailed Description

The LCIO TrackState class.

Author
gaede, engels
Version
$Id:$

Definition at line 26 of file TrackState.h.

Member Typedef Documentation

Useful typedef for template programming with LCIO.

Definition at line 34 of file TrackState.h.

Constructor & Destructor Documentation

virtual EVENT::TrackState::~TrackState ( )
inlinevirtual

Destructor.

Definition at line 30 of file TrackState.h.

Member Function Documentation

virtual const FloatVec& EVENT::TrackState::getCovMatrix ( ) const
pure 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), ...

Implemented in IMPL::TrackStateImpl.

Referenced by main(), and UTIL::operator<<().

virtual float EVENT::TrackState::getD0 ( ) const
pure virtual

Impact paramter of the track in (r-phi).

Implemented in IMPL::TrackStateImpl.

Referenced by main(), and UTIL::operator<<().

virtual int EVENT::TrackState::getLocation ( ) const
pure virtual
virtual float EVENT::TrackState::getOmega ( ) const
pure virtual

Omega is the signed curvature of the track in [1/mm].

The sign is that of the particle's charge.

Implemented in IMPL::TrackStateImpl.

Referenced by main(), and UTIL::operator<<().

virtual float EVENT::TrackState::getPhi ( ) const
pure virtual

Phi of the track at the reference point.

See Also
getReferencePoint

Implemented in IMPL::TrackStateImpl.

Referenced by main(), and UTIL::operator<<().

virtual const float* EVENT::TrackState::getReferencePoint ( ) const
pure 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.

Implemented in IMPL::TrackStateImpl.

Referenced by main(), UTIL::operator<<(), and IMPL::TrackStateImpl::TrackStateImpl().

virtual float EVENT::TrackState::getTanLambda ( ) const
pure virtual

Lambda is the dip angle of the track in r-z at the reference point.

See Also
getReferencePoint

Implemented in IMPL::TrackStateImpl.

Referenced by UTIL::operator<<().

virtual float EVENT::TrackState::getZ0 ( ) const
pure virtual

Impact paramter of the track in (r-z).

Implemented in IMPL::TrackStateImpl.

Referenced by UTIL::operator<<().

Member Data Documentation

const int EVENT::TrackState::AtCalorimeter = 4
static

Definition at line 41 of file TrackState.h.

Referenced by UTIL::operator<<().

const int EVENT::TrackState::AtFirstHit = 2
static

Definition at line 39 of file TrackState.h.

Referenced by UTIL::operator<<().

const int EVENT::TrackState::AtIP = 1
static

Definition at line 38 of file TrackState.h.

Referenced by UTIL::operator<<().

const int EVENT::TrackState::AtLastHit = 3
static

Definition at line 40 of file TrackState.h.

Referenced by UTIL::operator<<().

const int EVENT::TrackState::AtOther = 0
static

Definition at line 37 of file TrackState.h.

Referenced by UTIL::operator<<().

const int EVENT::TrackState::AtVertex = 5
static

Definition at line 42 of file TrackState.h.

Referenced by UTIL::operator<<().

const int EVENT::TrackState::LastLocation = AtVertex
static

Definition at line 43 of file TrackState.h.


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