Main Page   Compound List   File List   Compound Members   File Members  

Track Class Reference

Base data class of a Track. More...

#include <Track.h>

List of all members.

Public Types

enum  TrackType
 type of track. More...

enum  TrackFlag { History }
 flags of the track. More...

enum  StateLocation { BeginVelo, EndVelo }
 state locations. More...


Public Methods

 Track ()
 default constructor. More...

virtual ~Track ()
 default destructor. More...

virtual Track * clone ()
 clone this track (create derived one and return base clase). More...

void setType (const TrackType &type)
 set type of the track. More...

TrackType type () const
 return the type of the track. More...

void setFlag (const TrackFlag &flag, int value)
int Flag (const TrackFlag &key) const
 return status of the key. More...

std::map< TrackFlag, int > & flags ()
 return the map of flags. More...

const std::map< TrackFlag,
int > & 
flags () const
 return the map of flags (const). More...

void setQuality (double quality)
 set quality. More...

double quality () const
 return quality of the track. More...

void setNdof (size_t ndof)
 set number of degrees of freedom. More...

const size_t ndof () const
 return number of degrees of freedom. More...

const Statestate (const StateLocation &key) const
 return the state const by location. More...

Statestate (const StateLocation &key)
 return the state by location. More...

std::map< StateLocation, state > & states ()
 return the map of states. More...

const std::map< StateLocation,
state > & 
states () const
 return the map of the states. More...

void setNodes (const std::vector< Node * > &nodes)
 set the nodes. More...

std::vector< Node * > & nodes ()
 return of the nodes. More...

const std::vector< Node * > & nodes () const
 return the list of nodes (const). More...

virtual void clear ()
 clear the contents of the trajectory, clear flags, but clusters are kept. More...

virtual void reset ()
 reset the contents of the trajectory. clusters are removed. More...


Protected Attributes

TrackType m_type
 type of the track. More...

std::map< TrackFlags, int > m_flags
 map of flags (int). More...

double m_quality
 quality of the trajectory (i.e chi2). More...

size_t m_ndof
 number of degrees of freedom. More...

std::map< StateLocation, Statem_states
 map of states. More...

std::vector< Node * > m_nodes
 vector on nodes (agregation of measurement and state). More...


Detailed Description

Base data class of a Track.


Member Enumeration Documentation

enum Track::StateLocation
 

state locations.

Enumeration values:
BeginVelo 
EndVelo 

enum Track::TrackFlag
 

flags of the track.

Enumeration values:
History 

enum Track::TrackType
 

type of track.


Constructor & Destructor Documentation

Track::Track   [inline]
 

default constructor.

virtual Track::~Track   [inline, virtual]
 

default destructor.


Member Function Documentation

virtual void Track::clear   [virtual]
 

clear the contents of the trajectory, clear flags, but clusters are kept.

virtual Track* Track::clone   [inline, virtual]
 

clone this track (create derived one and return base clase).

int Track::Flag const TrackFlag   key const [inline]
 

return status of the key.

const std::map<TrackFlag,int>& Track::flags   const [inline]
 

return the map of flags (const).

std::map<TrackFlag,int>& Track::flags   [inline]
 

return the map of flags.

const size_t Track::ndof   const [inline]
 

return number of degrees of freedom.

const std::vector<Node*>& Track::nodes   const [inline]
 

return the list of nodes (const).

std::vector<Node*>& Track::nodes   [inline]
 

return of the nodes.

double Track::quality   const [inline]
 

return quality of the track.

virtual void Track::reset   [virtual]
 

reset the contents of the trajectory. clusters are removed.

void Track::setFlag const TrackFlag   flag,
int    value
[inline]
 

void Track::setNdof size_t    ndof [inline]
 

set number of degrees of freedom.

void Track::setNodes const std::vector< Node * > &    nodes [inline]
 

set the nodes.

void Track::setQuality double    quality [inline]
 

set quality.

void Track::setType const TrackType   type [inline]
 

set type of the track.

State& Track::state const StateLocation   key [inline]
 

return the state by location.

const State& Track::state const StateLocation   key const [inline]
 

return the state const by location.

const std::map<StateLocation,state>& Track::states   const [inline]
 

return the map of the states.

std::map<StateLocation,state>& Track::states   [inline]
 

return the map of states.

TrackType Track::type   const [inline]
 

return the type of the track.


Member Data Documentation

std::map<TrackFlags,int> Track::m_flags [protected]
 

map of flags (int).

size_t Track::m_ndof [protected]
 

number of degrees of freedom.

std::vector<Node*> Track::m_nodes [protected]
 

vector on nodes (agregation of measurement and state).

double Track::m_quality [protected]
 

quality of the trajectory (i.e chi2).

std::map<StateLocation,State> Track::m_states [protected]
 

map of states.

TrackType Track::m_type [protected]
 

type of the track.


The documentation for this class was generated from the following file:
Generated on Thu Sep 9 10:05:54 2004 for New Track Event Model by doxygen 1.2.14 written by Dimitri van Heesch, © 1997-2002