#include <Track.h>
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 State & | state (const StateLocation &key) const |
return the state const by location. More... | |
State & | state (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, State > | m_states |
map of states. More... | |
std::vector< Node * > | m_nodes |
vector on nodes (agregation of measurement and state). More... |
|
state locations.
|
|
flags of the track.
|
|
type of track.
|
|
default constructor.
|
|
default destructor.
|
|
clear the contents of the trajectory, clear flags, but clusters are kept.
|
|
clone this track (create derived one and return base clase).
|
|
return status of the key.
|
|
return the map of flags (const).
|
|
return the map of flags.
|
|
return number of degrees of freedom.
|
|
return the list of nodes (const).
|
|
return of the nodes.
|
|
return quality of the track.
|
|
reset the contents of the trajectory. clusters are removed.
|
|
|
|
set number of degrees of freedom.
|
|
set the nodes.
|
|
set quality.
|
|
set type of the track.
|
|
return the state by location.
|
|
return the state const by location.
|
|
return the map of the states.
|
|
return the map of states.
|
|
return the type of the track.
|
|
map of flags (int).
|
|
number of degrees of freedom.
|
|
vector on nodes (agregation of measurement and state).
|
|
quality of the trajectory (i.e chi2).
|
|
map of states.
|
|
type of the track.
|