#include <TrTrack.h>
Public Types | |
enum | TrackType { Velotrack, Backward, Long, Upstream, Downstream, Ttrack } |
enum | HistoryFlag { LongTrack, Seeding, TrKshort, TrMatching, VeloTrack, VeloTT } |
Public Methods | |
TrTrack (const TrTrack &track) | |
TrTrack copy constructor. More... | |
TrTrack () | |
Default Constructor. More... | |
virtual | ~TrTrack () |
Destructor. More... | |
virtual const CLID & | clID () const |
Retrieve pointer to class definition structure. More... | |
void | positionAndMomentum (const double z, const HepPoint3D &pos, const HepVector3D &mom, const HepSymMatrix &cov6D) const |
Retrieve for a track at a given z-position the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6). More... | |
HepPoint3D | position (const double z) const |
Retrieve the 3D-position vector of a track at a given z-position. More... | |
HepVector3D | slopes (const double z) const |
Retrieve the slopes (dx/dz,dy/dz,1) of a track at a given z-position. More... | |
HepSymMatrix | posMomCovariance (const double z) const |
Retrieve the 6D covariance matrix (x,y,z,px,py,pz) of a track at a given z-position. More... | |
std::vector | errPosition (const double z) const |
Retrieve the errors on the 3D-position vector of a track at a given z-position. More... | |
std::vector | errSlopes (const double z) const |
Retrieve the errors on the slopes (errors on dx/dz,dy/dz) of a track at a given z-position. More... | |
double | p (const double z) const |
Retrieve the momentum of a track at a given z-position. More... | |
double | pt (const double z) const |
Retrieve the transverse momentum of a track at a given z-position. More... | |
HepVector3D | momentum (const double z) const |
Retrieve the momentum vector of a track at a given z-position. More... | |
std::vector | errMomentum (const double z) const |
Retrieve the errors on the momentum vector of a track at a given z-position. More... | |
TrackType | type () |
Retrieve the type of the track. More... | |
bool | producedByAlgo (const TrTrack::HistoryFlag &flag) |
Check wether the track was produced by a given algorithm. More... | |
double | chi2PerDoF () const |
Retrieve the Chi^2/nDoF of the track. More... | |
double | chi2 () const |
Retrieve the Chi^2 of the track. More... | |
void | setChi2 (double value) |
Update the Chi^2 of the track. More... | |
unsigned int | nDoF () const |
number of degrees of freedom. More... | |
void | setNDoF (unsigned int value) |
Update the number of degrees of freedom of the track. More... | |
int | errorFlag () const |
Retrieve the error flag of the track. More... | |
void | setErrorFlag (int value) |
Update the error flag of the track. More... | |
void | reset () |
Clear the track before re-use. More... | |
void | clone (TrTrack *track) |
Clone the track. More... | |
double | charge () const |
Retrieve the track's charge. More... | |
void | setCharge (double value) |
Update the track's charge. More... | |
virtual StreamBuffer & | serialize (StreamBuffer &s) const |
Serialize the object for writing. More... | |
virtual StreamBuffer & | serialize (StreamBuffer &s) |
Serialize the object for reading. More... | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the ASCII output stream. More... | |
Static Public Methods | |
const CLID & | classID () |
Protected Methods | |
void | setType (const TrTrack::TrackType &value) |
set the track type. More... | |
unsigned int | nStates () const |
number of states on track. More... | |
TrState * | closestState (double z) const |
Retrieve the pointer to the state closest to the given z-position. More... | |
const std::vector< TrState * > | states () const |
Retrieve container with the pointers to the states on the track. More... | |
void | setStates (const const &std::vector< TrState * >) |
Update the container with the pointers to the states on the track. More... | |
unsigned int | nMeasurements () const |
number of track measurements. More... | |
const std::vector< TrMeasurement * > | measurements () const |
Retrieve container with pointers to the track measurements. More... | |
void | setMeasurements (const const &std::vector< TrState * >) |
Update the container with the pointers to the measurements. More... | |
Private Attributes | |
std::vector< TrState * > | m_states |
container with pointers to the states. More... | |
std::vector< TrMeasurement * > | m_measurements |
container with pointers to the measurements. More... | |
double | m_chi2 |
chi^2 of the track. More... | |
int | m_ndof |
number of degrees of freedom of the track. More... | |
double | m_charge |
the track's charge. More... | |
int | m_errorFlag |
error flag. More... | |
int | m_type |
Retrieve the type of the track. More... |
|
|
|
|
|
TrTrack copy constructor.
|
|
Default Constructor.
|
|
Destructor.
|
|
Retrieve the track's charge.
|
|
Retrieve the Chi^2 of the track.
|
|
Retrieve the Chi^2/nDoF of the track.
|
|
|
|
Retrieve pointer to class definition structure.
|
|
Clone the track.
|
|
Retrieve the pointer to the state closest to the given z-position.
|
|
Retrieve the errors on the momentum vector of a track at a given z-position.
|
|
Retrieve the error flag of the track.
|
|
Retrieve the errors on the 3D-position vector of a track at a given z-position.
|
|
Retrieve the errors on the slopes (errors on dx/dz,dy/dz) of a track at a given z-position.
|
|
Fill the ASCII output stream.
|
|
Retrieve container with pointers to the track measurements.
|
|
Retrieve the momentum vector of a track at a given z-position.
|
|
number of degrees of freedom.
|
|
number of track measurements.
|
|
number of states on track.
|
|
Retrieve the momentum of a track at a given z-position.
|
|
Retrieve the 3D-position vector of a track at a given z-position.
|
|
Retrieve for a track at a given z-position the position and momentum vectors and the corresponding 6D covariance matrix (pos:1->3,mom:4-6).
|
|
Retrieve the 6D covariance matrix (x,y,z,px,py,pz) of a track at a given z-position.
|
|
Check wether the track was produced by a given algorithm.
|
|
Retrieve the transverse momentum of a track at a given z-position.
|
|
Clear the track before re-use.
|
|
Serialize the object for reading.
|
|
Serialize the object for writing.
|
|
Update the track's charge.
|
|
Update the Chi^2 of the track.
|
|
Update the error flag of the track.
|
|
Update the container with the pointers to the measurements.
|
|
Update the number of degrees of freedom of the track.
|
|
Update the container with the pointers to the states on the track.
|
|
set the track type.
|
|
Retrieve the slopes (dx/dz,dy/dz,1) of a track at a given z-position.
|
|
Retrieve container with the pointers to the states on the track.
|
|
Retrieve the type of the track.
|
|
the track's charge.
|
|
chi^2 of the track.
|
|
error flag.
|
|
container with pointers to the measurements.
|
|
number of degrees of freedom of the track.
|
|
container with pointers to the states.
|
|
Retrieve the type of the track.
|