Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Track Class Reference

#include <Track.h>

Inheritance diagram for Track:

FitTrack List of all members.

Public Types

enum  TrackType {
  Velo = 1, VeloR = 2, Backward = 4, Long = 8,
  Upstream = 16, Downstream = 32, Ttrack = 64
}
 enumeration for the track type More...
enum  HistoryFlag {
  LongTrack = 1, Seeding = 2, TrKshort = 4, TrMatching = 8,
  VeloTrack = 16, VeloTT = 32, TrgForward = 64, TrgVelo = 128,
  TrgVeloTT = 256
}
 enumeration for the track history More...
enum  Flag { Valid = 1, Unique = 2, IPSelected = 4, MuSelected = 8 }
 enumeration for the track flags More...

Public Member Functions

 Track (int key)
 Constructor with assigned key.
 Track ()
 Default Constructor.
 ~Track ()
 Track destructor.
virtual const CLID & clID () const
StatusCode positionAndMomentum (HepPoint3D &pos, HepVector3D &mom, HepSymMatrix &cov6D) const
 Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) at the physics state.
StatusCode position (HepPoint3D &pos, HepSymMatrix &errPos) const
 Retrieve the 3D-position (+ errors) at the physics state.
StatusCode slopes (HepVector3D &slopes, HepSymMatrix &errSlopes) const
 Retrieve the slopes (dx/dz,dy/dz,1) at the physics state.
double p () const
 Retrieve the momentum at the physics state.
double pt () const
 Retrieve the transverse momentum at the physics state.
StatusCode momentum (HepVector3D &mom, HepSymMatrix &errMom) const
 Retrieve the momentum vector (+ errors) at the physics state.
StatusCode posMomCovariance (HepSymMatrix &cov6D) const
 Retrieve the 6D covariance matrix (x,y,z,px,py,pz) at the physics state.
int charge () const
 Retrieve the charge assigned to the track.
unsigned int nStates () const
 number of states on track
void addToStates (State *value)
 Add a State to the list of states associated to the track.
void removeFromStates (State *value)
 Remove a State from the list of states associated to the track.
virtual StateclosestState (double z)
 Retrieve the reference to the state closest to the given z-position.
virtual const StateclosestState (double z) const
 Retrieve the reference to the state closest to the given z-position.
virtual StateclosestState (const HepPlane3D &plane)
 Retrieve the reference to the state closest to the given plane.
virtual const StateclosestState (const HepPlane3D &plane) const
 Retrieve the reference to the state closest to the given plane.
bool hasStateAt (const State::Location &value) const
 check the existence of a state at a certain predefined location. See State class.
virtual StatestateAt (const State::Location &value)
 Retrieve the pointer to the state at a certain predefined location. See State class.
virtual const StatestateAt (const State::Location &value) const
 Retrieve the pointer to the state at a certain predefined location. See State class.
double chi2 () const
 Retrieve the Chi^2 of the track.
virtual void reset ()
 Clear the track before re-use.
virtual Trackclone () const
 Clone the track.
void addToLhcbIDs (const LHCbID &value)
 Add an LHCbID to the list of LHCbIDs associated to the track.
void removeFromLhcbIDs (const LHCbID &value)
 Remove an LHCbID from the list of LHCbIDs associated to the track.
virtual bool producedByAlgo (const HistoryFlag &value) const
 Check whether the track was produced by a given algorithm.
virtual void setProducedByAlgo (const HistoryFlag &value)
 Update the name of the algorithm that produced the track.
double chi2PerDoF () const
 Retrieve const chi^2 per degree of freedom of the track.
void setChi2PerDoF (double value)
 Update chi^2 per degree of freedom of the track.
int nDoF () const
 Retrieve const number of degrees of freedom of the track.
void setNDoF (int value)
 Update number of degrees of freedom of the track.
unsigned int flags () const
 Retrieve const the variety of track flags.
void setType (const TrackType &value)
 Update track type.
bool checkType (const TrackType &value) const
 Check track type.
void setFlag (const Flag &value)
 Update track flags.
bool checkFlag (const Flag &value) const
 Check track flags.
const std::vector< LHCbID > & lhcbIDs () const
 Retrieve const container of LHCbIDs.
std::vector< LHCbID > & lhcbIDs ()
 Retrieve container of LHCbIDs.
void setLhcbIDs (const std::vector< LHCbID > &value)
 Update container of LHCbIDs.
const StatephysicsState () const
 Retrieve const State closest to the beam-line.
StatephysicsState ()
 Retrieve State closest to the beam-line.
void setPhysicsState (const State &value)
 Update State closest to the beam-line.
const std::vector< State * > & states () const
 Retrieve const container with pointers to all the states.
std::vector< State * > & states ()
 Retrieve container with pointers to all the states.
void setStates (const std::vector< State * > &value)
 Update container with pointers to all the states.

Static Public Member Functions

static const CLID & classID ()

Protected Types

enum  flagsBits { typeBits = 0, historyBits = 7, flagBits = 16 }
 Offsets of bitfield flags. More...
enum  flagsMasks { typeMask = 0x7FL, historyMask = 0xFF80L, flagMask = 0xF0000L }
 Bitmasks for bitfield flags. More...

Protected Attributes

double m_chi2PerDoF
 chi^2 per degree of freedom of the track
int m_nDoF
 number of degrees of freedom of the track
unsigned int m_flags
 the variety of track flags
std::vector< LHCbIDm_lhcbIDs
 container of LHCbIDs
State m_physicsState
 State closest to the beam-line.
std::vector< State * > m_states
 container with pointers to all the states

Detailed Description

Track is the base class for offline and online tracks.

Author:
Jose Hernando, Eduardo Rodrigues created Thu Mar 31 15:46:50 2005

Definition at line 59 of file Track.h.


Member Enumeration Documentation

enum Track::Flag
 

enumeration for the track flags

Enumeration values:
Valid 
Unique 
IPSelected 
MuSelected 

Reimplemented in FitTrack.

Definition at line 82 of file Track.h.

00082            { Valid=1,
00083              Unique=2,
00084              IPSelected=4,
00085              MuSelected=8 };

enum Track::flagsBits [protected]
 

Offsets of bitfield flags.

Enumeration values:
typeBits 
historyBits 
flagBits 

Definition at line 248 of file Track.h.

00248                 {typeBits    = 0,
00249                  historyBits = 7,
00250                  flagBits    = 16};

enum Track::flagsMasks [protected]
 

Bitmasks for bitfield flags.

Enumeration values:
typeMask 
historyMask 
flagMask 

Definition at line 253 of file Track.h.

00253                  {typeMask    = 0x7FL,
00254                   historyMask = 0xFF80L,
00255                   flagMask    = 0xF0000L};

enum Track::HistoryFlag
 

enumeration for the track history

Enumeration values:
LongTrack 
Seeding 
TrKshort 
TrMatching 
VeloTrack 
VeloTT 
TrgForward 
TrgVelo 
TrgVeloTT 

Reimplemented in FitTrack.

Definition at line 72 of file Track.h.

00072                   { LongTrack=1,
00073                     Seeding=2,
00074                     TrKshort=4,
00075                     TrMatching=8,
00076                     VeloTrack=16,
00077                     VeloTT=32,
00078                     TrgForward=64,
00079                     TrgVelo=128,
00080                     TrgVeloTT=256 };

enum Track::TrackType
 

enumeration for the track type

Enumeration values:
Velo 
VeloR 
Backward 
Long 
Upstream 
Downstream 
Ttrack 

Reimplemented in FitTrack.

Definition at line 64 of file Track.h.

00064                 { Velo=1,
00065                   VeloR=2,
00066                   Backward=4,
00067                   Long=8,
00068                   Upstream=16,
00069                   Downstream=32,
00070                   Ttrack=64 };


Constructor & Destructor Documentation

Track::Track int  key  )  [inline]
 

Constructor with assigned key.

Definition at line 88 of file Track.h.

References m_chi2PerDoF, m_flags, m_lhcbIDs, m_nDoF, m_physicsState, and m_states.

00088                  : KeyedObject<int>( key ),
00089                    m_chi2PerDoF(0.0),
00090                    m_nDoF(0),
00091                    m_flags(0),
00092                    m_lhcbIDs(),
00093                    m_physicsState(),
00094                    m_states() {}

Track::Track  )  [inline]
 

Default Constructor.

Definition at line 97 of file Track.h.

References m_chi2PerDoF, m_flags, m_lhcbIDs, m_nDoF, m_physicsState, and m_states.

Referenced by clone().

00097           : m_chi2PerDoF(0.0),
00098             m_nDoF(0),
00099             m_flags(0),
00100             m_lhcbIDs(),
00101             m_physicsState(),
00102             m_states() {}

Track::~Track  )  [inline]
 

Track destructor.

Definition at line 280 of file Track.h.

References m_states.

00281 {
00282 
00283   for (std::vector<State*>::iterator iter = m_states.begin();
00284   iter != m_states.end(); iter++)
00285   delete *iter;
00286         
00287 }


Member Function Documentation

void Track::addToLhcbIDs const LHCbID value  )  [inline]
 

Add an LHCbID to the list of LHCbIDs associated to the track.

Definition at line 444 of file Track.h.

References m_lhcbIDs.

00445 {
00446 
00447   m_lhcbIDs.push_back( value );
00448         
00449 }

void Track::addToStates State value  )  [inline]
 

Add a State to the list of states associated to the track.

Definition at line 409 of file Track.h.

References m_states.

Referenced by TrgTrackConverter::toTrack().

00410 {
00411 
00412   m_states.push_back( value );
00413         
00414 }

int Track::charge  )  const [inline]
 

Retrieve the charge assigned to the track.

Definition at line 394 of file Track.h.

References m_physicsState, and State::qOverP().

00395 {
00396 
00397   double qP = m_physicsState.qOverP();
00398   return ( qP != 0. ? int(fabs(qP)/qP) : 0 );
00399         
00400 }

bool Track::checkFlag const Flag value  )  const [inline]
 

Check track flags.

Definition at line 343 of file Track.h.

References flagBits, flagMask, and m_flags.

00344 {
00345   unsigned int val = (unsigned int)value;
00346   return 0 != ( m_flags & flagMask & ( val << flagBits ));
00347 }

bool Track::checkType const TrackType value  )  const [inline]
 

Check track type.

Definition at line 331 of file Track.h.

References m_flags, typeBits, and typeMask.

00332 {
00333   unsigned int val = (unsigned int)value;
00334   return 0 != ( m_flags & typeMask & ( val << typeBits ));
00335 }

double Track::chi2  )  const [inline]
 

Retrieve the Chi^2 of the track.

Definition at line 425 of file Track.h.

References m_chi2PerDoF, and m_nDoF.

Referenced by TrgTrackConverter::str().

00426 {
00427 
00428   return ( m_chi2PerDoF * double(m_nDoF) );
00429         
00430 }

double Track::chi2PerDoF  )  const [inline]
 

Retrieve const chi^2 per degree of freedom of the track.

Definition at line 299 of file Track.h.

References m_chi2PerDoF.

00300 {
00301   return m_chi2PerDoF;
00302 }

const CLID & Track::classID  )  [inline, static]
 

Reimplemented in FitTrack.

Definition at line 294 of file Track.h.

References CLID_Track.

Referenced by clID().

00295 {
00296   return CLID_Track;
00297 }

const CLID & Track::clID  )  const [inline, virtual]
 

Reimplemented in FitTrack.

Definition at line 289 of file Track.h.

References classID().

00290 {
00291   return Track::classID();
00292 }

Track * Track::clone  )  const [virtual]
 

Clone the track.

Reimplemented in FitTrack.

Definition at line 204 of file Track.cpp.

References Track().

Referenced by TrFitTrack2TrackCnv::execute().

00205 {
00206   Track* tk = new Track();
00207   *tk = *this;
00208   return tk;
00209 };

const State & Track::closestState const HepPlane3D &  plane  )  const [virtual]
 

Retrieve the reference to the state closest to the given plane.

Reimplemented in FitTrack.

Definition at line 147 of file Track.cpp.

References m_physicsState, m_states, State::position(), and position().

00148 {
00149   double minDist = 999999999.;
00150   double dist;
00151   State* best = 0;
00152   for ( std::vector<State*>::const_iterator it = m_states.begin() ;
00153         m_states.end() != it; it++ ) {
00154     dist = plane.distance( ((*it) -> position()) );
00155     if ( minDist > dist ) {
00156       minDist = dist;
00157       best    = *it;
00158     }
00159   }
00160   if ( fabs( plane.distance(m_physicsState.position()) ) < minDist )
00161     return m_physicsState;
00162 
00163   return *best;
00164 };

State & Track::closestState const HepPlane3D &  plane  )  [virtual]
 

Retrieve the reference to the state closest to the given plane.

Reimplemented in FitTrack.

Definition at line 127 of file Track.cpp.

References m_physicsState, m_states, State::position(), and position().

00128 {
00129   double minDist = 999999999.;
00130   double dist;
00131   State* best = 0;
00132   for ( std::vector<State*>::iterator it = m_states.begin() ;
00133         m_states.end() != it; it++ ) {
00134     dist = plane.distance( ((*it) -> position()) );
00135     if ( minDist > dist ) {
00136       minDist = dist;
00137       best    = *it;
00138     }
00139   }
00140   if ( fabs( plane.distance(m_physicsState.position())) < minDist ) return m_physicsState;
00141   return *best;
00142 };

const State & Track::closestState double  z  )  const [virtual]
 

Retrieve the reference to the state closest to the given z-position.

Reimplemented in FitTrack.

Definition at line 109 of file Track.cpp.

References m_physicsState, m_states, and State::z().

00110 {
00111   double minDist = 999999999.;
00112   State* best = 0;
00113   for ( std::vector<State*>::const_iterator it = m_states.begin() ;
00114         m_states.end() != it; it++ ) {
00115     if ( minDist > fabs( z - (*it)->z() ) ) {
00116       minDist = fabs( z-(*it)->z() );
00117       best    = *it;
00118     }
00119   }
00120   if ( fabs(z - m_physicsState.z()) < minDist ) return m_physicsState;
00121   return *best;
00122 };

State & Track::closestState double  z  )  [virtual]
 

Retrieve the reference to the state closest to the given z-position.

Reimplemented in FitTrack.

Definition at line 91 of file Track.cpp.

References m_physicsState, m_states, and State::z().

00092 {
00093   double minDist = 999999999.;
00094   State* best = 0;
00095   for ( std::vector<State*>::iterator it = m_states.begin() ;
00096         m_states.end() != it; it++ ) {
00097     if ( minDist > fabs( z - (*it)->z() ) ) {
00098       minDist = fabs( z-(*it)->z() );
00099       best    = *it;
00100     }
00101   }
00102   if ( fabs(z - m_physicsState.z()) < minDist ) return m_physicsState;
00103   return *best;
00104 };

unsigned int Track::flags  )  const [inline]
 

Retrieve const the variety of track flags.

Definition at line 319 of file Track.h.

References m_flags.

Referenced by TrgTrackConverter::str().

00320 {
00321   return m_flags;
00322 }

bool Track::hasStateAt const State::Location value  )  const
 

check the existence of a state at a certain predefined location. See State class.

Definition at line 169 of file Track.cpp.

References stateAt().

00170 {
00171   if ( NULL != stateAt(value) ) return true;
00172   return false;
00173 };

std::vector< LHCbID > & Track::lhcbIDs  )  [inline]
 

Retrieve container of LHCbIDs.

Definition at line 354 of file Track.h.

References m_lhcbIDs.

00355 {
00356   return m_lhcbIDs;
00357 }

const std::vector< LHCbID > & Track::lhcbIDs  )  const [inline]
 

Retrieve const container of LHCbIDs.

Definition at line 349 of file Track.h.

References m_lhcbIDs.

00350 {
00351   return m_lhcbIDs;
00352 }

StatusCode Track::momentum HepVector3D &  mom,
HepSymMatrix &  errMom
const
 

Retrieve the momentum vector (+ errors) at the physics state.

Definition at line 69 of file Track.cpp.

References State::errMomentum(), m_physicsState, and State::momentum().

00071 {
00072   mom    = m_physicsState.momentum();
00073   errMom = m_physicsState.errMomentum();
00074 
00075   return StatusCode::SUCCESS;
00076 };

int Track::nDoF  )  const [inline]
 

Retrieve const number of degrees of freedom of the track.

Definition at line 309 of file Track.h.

References m_nDoF.

00310 {
00311   return m_nDoF;
00312 }

unsigned int Track::nStates  )  const [inline]
 

number of states on track

Definition at line 402 of file Track.h.

References m_states.

00403 {
00404 
00405   return m_states.size();
00406         
00407 }

double Track::p  )  const
 

Retrieve the momentum at the physics state.

Definition at line 53 of file Track.cpp.

References m_physicsState, and State::p().

00054 {
00055   return m_physicsState.p();
00056 };

State & Track::physicsState  )  [inline]
 

Retrieve State closest to the beam-line.

Definition at line 369 of file Track.h.

References m_physicsState.

00370 {
00371   return m_physicsState;
00372 }

const State & Track::physicsState  )  const [inline]
 

Retrieve const State closest to the beam-line.

Definition at line 364 of file Track.h.

References m_physicsState.

Referenced by TrFitTrack2TrackCnv::execute(), and TrgTrackConverter::toTrack().

00365 {
00366   return m_physicsState;
00367 }

StatusCode Track::position HepPoint3D &  pos,
HepSymMatrix &  errPos
const
 

Retrieve the 3D-position (+ errors) at the physics state.

Definition at line 29 of file Track.cpp.

References State::errPosition(), m_physicsState, and State::position().

Referenced by closestState().

00031 {
00032   pos    = m_physicsState.position();
00033   errPos = m_physicsState.errPosition();
00034 
00035   return StatusCode::SUCCESS;
00036 };

StatusCode Track::positionAndMomentum HepPoint3D &  pos,
HepVector3D &  mom,
HepSymMatrix &  cov6D
const
 

Retrieve the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6) at the physics state.

Definition at line 17 of file Track.cpp.

References m_physicsState, and State::positionAndMomentum().

00020 {
00021   m_physicsState.positionAndMomentum( pos, mom, cov6D );
00022 
00023   return StatusCode::SUCCESS;
00024 };

StatusCode Track::posMomCovariance HepSymMatrix &  cov6D  )  const
 

Retrieve the 6D covariance matrix (x,y,z,px,py,pz) at the physics state.

Definition at line 81 of file Track.cpp.

References m_physicsState, and State::posMomCovariance().

00082 {
00083   cov6D = m_physicsState.posMomCovariance();
00084 
00085   return StatusCode::SUCCESS;
00086 };

bool Track::producedByAlgo const HistoryFlag value  )  const [virtual]
 

Check whether the track was produced by a given algorithm.

Reimplemented in FitTrack.

Definition at line 214 of file Track.cpp.

References historyMask, and m_flags.

00215 {
00216   unsigned int val = (unsigned int)value;
00217   return 0 != ( m_flags & historyMask & val );
00218 };

double Track::pt  )  const
 

Retrieve the transverse momentum at the physics state.

Definition at line 61 of file Track.cpp.

References m_physicsState, and State::pt().

00062 {
00063   return m_physicsState.pt();
00064 };

void Track::removeFromLhcbIDs const LHCbID value  )  [inline]
 

Remove an LHCbID from the list of LHCbIDs associated to the track.

Definition at line 451 of file Track.h.

References m_lhcbIDs.

00452 {
00453 
00454   std::vector<LHCbID>::iterator iter =
00455     std::remove( m_lhcbIDs.begin(), m_lhcbIDs.end(), value );
00456   m_lhcbIDs.erase( iter, m_lhcbIDs.end() );
00457         
00458 }

void Track::removeFromStates State value  )  [inline]
 

Remove a State from the list of states associated to the track.

Definition at line 416 of file Track.h.

References m_states.

00417 {
00418 
00419   std::vector<State*>::iterator iter =
00420     std::remove( m_states.begin(), m_states.end(), value );
00421   m_states.erase( iter, m_states.end() );
00422         
00423 }

void Track::reset  )  [inline, virtual]
 

Clear the track before re-use.

Reimplemented in FitTrack.

Definition at line 432 of file Track.h.

References m_chi2PerDoF, m_flags, m_lhcbIDs, m_nDoF, m_physicsState, m_states, and State::reset().

00433 {
00434 
00435   m_chi2PerDoF   = 0;
00436   m_nDoF         = 0;
00437   m_flags        = 0;
00438   m_physicsState.reset();
00439   m_states.clear();
00440   m_lhcbIDs.clear();
00441         
00442 }

void Track::setChi2PerDoF double  value  )  [inline]
 

Update chi^2 per degree of freedom of the track.

Definition at line 304 of file Track.h.

References m_chi2PerDoF.

Referenced by TrgTrackConverter::toTrack().

00305 {
00306   m_chi2PerDoF = value;
00307 }

void Track::setFlag const Flag value  )  [inline]
 

Update track flags.

Definition at line 337 of file Track.h.

References flagBits, flagMask, and m_flags.

Referenced by TrgTrackConverter::toTrack().

00338 {
00339   unsigned int val = (unsigned int)value;
00340   m_flags |= ((((unsigned int)val) << flagBits) & flagMask);
00341 }

void Track::setLhcbIDs const std::vector< LHCbID > &  value  )  [inline]
 

Update container of LHCbIDs.

Definition at line 359 of file Track.h.

References m_lhcbIDs.

Referenced by TrgTrackConverter::toTrack().

00360 {
00361   m_lhcbIDs = value;
00362 }

void Track::setNDoF int  value  )  [inline]
 

Update number of degrees of freedom of the track.

Definition at line 314 of file Track.h.

References m_nDoF.

Referenced by TrgTrackConverter::toTrack().

00315 {
00316   m_nDoF = value;
00317 }

void Track::setPhysicsState const State value  )  [inline]
 

Update State closest to the beam-line.

Definition at line 374 of file Track.h.

References m_physicsState.

00375 {
00376   m_physicsState = value;
00377 }

void Track::setProducedByAlgo const HistoryFlag value  )  [virtual]
 

Update the name of the algorithm that produced the track.

Reimplemented in FitTrack.

Definition at line 223 of file Track.cpp.

References historyBits, historyMask, and m_flags.

00224 {
00225   unsigned int val = (unsigned int)value;
00226   m_flags &= ~historyMask;
00227   m_flags |= ((((unsigned int)val) << historyBits) & historyMask);
00228 };

void Track::setStates const std::vector< State * > &  value  )  [inline]
 

Update container with pointers to all the states.

Definition at line 389 of file Track.h.

References m_states.

00390 {
00391   m_states = value;
00392 }

void Track::setType const TrackType value  )  [inline]
 

Update track type.

Definition at line 324 of file Track.h.

References m_flags, typeBits, and typeMask.

Referenced by TrgTrackConverter::toTrack().

00325 {
00326   unsigned int val = (unsigned int)value;
00327   m_flags &= ~typeMask;
00328   m_flags |= ((((unsigned int)val) << typeBits) & typeMask);
00329 }

StatusCode Track::slopes HepVector3D &  slopes,
HepSymMatrix &  errSlopes
const
 

Retrieve the slopes (dx/dz,dy/dz,1) at the physics state.

Definition at line 41 of file Track.cpp.

References State::errSlopes(), m_physicsState, State::slopes(), and slopes().

Referenced by slopes().

00043 {
00044   slopes    = m_physicsState.slopes();
00045   errSlopes = m_physicsState.errSlopes();
00046 
00047   return StatusCode::SUCCESS;
00048 };

const State * Track::stateAt const State::Location value  )  const [virtual]
 

Retrieve the pointer to the state at a certain predefined location. See State class.

Reimplemented in FitTrack.

Definition at line 191 of file Track.cpp.

References State::checkLocation(), m_physicsState, and m_states.

00192 {
00193   for ( std::vector<State*>::const_iterator it = m_states.begin() ;
00194         m_states.end() != it; it++ ) {
00195     if ( (*it) -> checkLocation( value ) ) return (*it);
00196   }
00197   if  (m_physicsState.checkLocation(value)) return &m_physicsState;
00198   return NULL;
00199 };

State * Track::stateAt const State::Location value  )  [virtual]
 

Retrieve the pointer to the state at a certain predefined location. See State class.

Reimplemented in FitTrack.

Definition at line 178 of file Track.cpp.

References State::checkLocation(), m_physicsState, and m_states.

Referenced by hasStateAt().

00179 {
00180   for ( std::vector<State*>::iterator it = m_states.begin() ;
00181         m_states.end() != it; it++ ) {
00182     if ( (*it) -> checkLocation( value ) ) return (*it);
00183   }
00184   if  (m_physicsState.checkLocation(value)) return &m_physicsState;
00185   return NULL;
00186 };

std::vector< State * > & Track::states  )  [inline]
 

Retrieve container with pointers to all the states.

Definition at line 384 of file Track.h.

References m_states.

00385 {
00386   return m_states;
00387 }

const std::vector< State * > & Track::states  )  const [inline]
 

Retrieve const container with pointers to all the states.

Definition at line 379 of file Track.h.

References m_states.

00380 {
00381   return m_states;
00382 }


Member Data Documentation

double Track::m_chi2PerDoF [protected]
 

chi^2 per degree of freedom of the track

Definition at line 258 of file Track.h.

Referenced by chi2(), chi2PerDoF(), reset(), setChi2PerDoF(), and Track().

unsigned int Track::m_flags [protected]
 

the variety of track flags

Definition at line 260 of file Track.h.

Referenced by checkFlag(), checkType(), flags(), producedByAlgo(), reset(), setFlag(), setProducedByAlgo(), setType(), and Track().

std::vector<LHCbID> Track::m_lhcbIDs [protected]
 

container of LHCbIDs

Definition at line 261 of file Track.h.

Referenced by addToLhcbIDs(), lhcbIDs(), removeFromLhcbIDs(), reset(), setLhcbIDs(), and Track().

int Track::m_nDoF [protected]
 

number of degrees of freedom of the track

Definition at line 259 of file Track.h.

Referenced by chi2(), nDoF(), reset(), setNDoF(), and Track().

State Track::m_physicsState [protected]
 

State closest to the beam-line.

Definition at line 262 of file Track.h.

Referenced by charge(), closestState(), momentum(), p(), physicsState(), position(), positionAndMomentum(), posMomCovariance(), pt(), reset(), setPhysicsState(), slopes(), stateAt(), and Track().

std::vector<State*> Track::m_states [protected]
 

container with pointers to all the states

Definition at line 263 of file Track.h.

Referenced by addToStates(), closestState(), nStates(), removeFromStates(), reset(), setStates(), stateAt(), states(), Track(), and ~Track().


The documentation for this class was generated from the following files:
Generated on Mon Apr 4 12:38:54 2005 for New Track Event Model by doxygen 1.4.1