Project
Loading...
Searching...
No Matches
o2::mch::TrackMCH Class Reference

MCH track external format. More...

#include <TrackMCH.h>

Public Types

using Time = o2::dataformats::TimeStampWithError< float, float >
 

Public Member Functions

 TrackMCH ()=default
 
 TrackMCH (double z, const TMatrixD &param, const TMatrixD &cov, double chi2, int firstClIdx, int nClusters, double zAtMID, const TMatrixD &paramAtMID, const TMatrixD &covAtMID, const Time &time)
 
 ~TrackMCH ()=default
 
 TrackMCH (const TrackMCH &track)=default
 
TrackMCHoperator= (const TrackMCH &track)=default
 
 TrackMCH (TrackMCH &&)=default
 
TrackMCHoperator= (TrackMCH &&)=default
 
double getX () const
 get the track x position
 
double getY () const
 get the track y position
 
double getZ () const
 get the track z position where the parameters are evaluated
 
void setZ (double z)
 set the track z position where the parameters are evaluated
 
double getPx () const
 
double getPy () const
 
double getPz () const
 
double getP () const
 
short getSign () const
 get the muon sign
 
const double * getParameters () const
 get the track parameters
 
void setParameters (const TMatrixD &param)
 set the track parameters
 
const double * getCovariances () const
 get the track parameter covariances
 
double getCovariance (int i, int j) const
 get the covariance between track parameters i and j
 
void setCovariances (const TMatrixD &cov)
 set the track parameter covariances
 
double getZAtMID () const
 get the track z position on the MID side where the parameters are evaluated
 
void setZAtMID (double z)
 set the track z position on the MID side where the parameters are evaluated
 
const double * getParametersAtMID () const
 get the track parameters on the MID side
 
void setParametersAtMID (const TMatrixD &param)
 set the track parameters on the MID side
 
const double * getCovariancesAtMID () const
 get the track parameter covariances on the MID side
 
double getCovarianceAtMID (int i, int j) const
 get the covariance between track parameters i and j on the MID side
 
void setCovariancesAtMID (const TMatrixD &cov)
 set the track parameter covariances on the MID side
 
double getChi2 () const
 get the track chi2
 
void setChi2 (double chi2)
 set the track chi2
 
int getNDF () const
 get the number of degrees of freedom of the track
 
double getChi2OverNDF () const
 get the track normalized chi2
 
int getNClusters () const
 get the number of clusters attached to the track
 
int getFirstClusterIdx () const
 get the index of the first cluster attached to the track
 
int getLastClusterIdx () const
 get the index of the last cluster attached to the track
 
void setClusterRef (int firstClusterIdx, int nClusters)
 set the number of the clusters attached to the track and the index of the first one
 
const TimegetTimeMUS () const
 mean time associated to this track, with error
 
TimegetTimeMUS ()
 
void setTimeMUS (const Time &t)
 
void setTimeMUS (float t, float te)
 
InteractionRecord getMeanIR (uint32_t refOrbit) const
 interaction record corresponding to the mean track time
 

Detailed Description

MCH track external format.

Definition at line 33 of file TrackMCH.h.

Member Typedef Documentation

◆ Time

Definition at line 38 of file TrackMCH.h.

Constructor & Destructor Documentation

◆ TrackMCH() [1/4]

o2::mch::TrackMCH::TrackMCH ( )
default

◆ TrackMCH() [2/4]

o2::mch::TrackMCH::TrackMCH ( double  z,
const TMatrixD &  param,
const TMatrixD &  cov,
double  chi2,
int  firstClIdx,
int  nClusters,
double  zAtMID,
const TMatrixD &  paramAtMID,
const TMatrixD &  covAtMID,
const Time time 
)

constructor

Definition at line 31 of file TrackMCH.cxx.

◆ ~TrackMCH()

o2::mch::TrackMCH::~TrackMCH ( )
default

◆ TrackMCH() [3/4]

o2::mch::TrackMCH::TrackMCH ( const TrackMCH track)
default

◆ TrackMCH() [4/4]

o2::mch::TrackMCH::TrackMCH ( TrackMCH &&  )
default

Member Function Documentation

◆ getChi2()

double o2::mch::TrackMCH::getChi2 ( ) const
inline

get the track chi2

Definition at line 97 of file TrackMCH.h.

◆ getChi2OverNDF()

double o2::mch::TrackMCH::getChi2OverNDF ( ) const
inline

get the track normalized chi2

Definition at line 103 of file TrackMCH.h.

◆ getCovariance()

double o2::mch::TrackMCH::getCovariance ( int  i,
int  j 
) const
inline

get the covariance between track parameters i and j

Definition at line 75 of file TrackMCH.h.

◆ getCovarianceAtMID()

double o2::mch::TrackMCH::getCovarianceAtMID ( int  i,
int  j 
) const
inline

get the covariance between track parameters i and j on the MID side

Definition at line 92 of file TrackMCH.h.

◆ getCovariances()

const double * o2::mch::TrackMCH::getCovariances ( ) const
inline

get the track parameter covariances

Definition at line 73 of file TrackMCH.h.

◆ getCovariancesAtMID()

const double * o2::mch::TrackMCH::getCovariancesAtMID ( ) const
inline

get the track parameter covariances on the MID side

Definition at line 90 of file TrackMCH.h.

◆ getFirstClusterIdx()

int o2::mch::TrackMCH::getFirstClusterIdx ( ) const
inline

get the index of the first cluster attached to the track

Definition at line 108 of file TrackMCH.h.

◆ getLastClusterIdx()

int o2::mch::TrackMCH::getLastClusterIdx ( ) const
inline

get the index of the last cluster attached to the track

Definition at line 110 of file TrackMCH.h.

◆ getMeanIR()

InteractionRecord o2::mch::TrackMCH::getMeanIR ( uint32_t  refOrbit) const

interaction record corresponding to the mean track time

Definition at line 91 of file TrackMCH.cxx.

◆ getNClusters()

int o2::mch::TrackMCH::getNClusters ( ) const
inline

get the number of clusters attached to the track

Definition at line 106 of file TrackMCH.h.

◆ getNDF()

int o2::mch::TrackMCH::getNDF ( ) const
inline

get the number of degrees of freedom of the track

Definition at line 101 of file TrackMCH.h.

◆ getP()

double o2::mch::TrackMCH::getP ( ) const

return track momentum

Definition at line 68 of file TrackMCH.cxx.

◆ getParameters()

const double * o2::mch::TrackMCH::getParameters ( ) const
inline

get the track parameters

Definition at line 68 of file TrackMCH.h.

◆ getParametersAtMID()

const double * o2::mch::TrackMCH::getParametersAtMID ( ) const
inline

get the track parameters on the MID side

Definition at line 85 of file TrackMCH.h.

◆ getPx()

double o2::mch::TrackMCH::getPx ( ) const

return track momentum along x

Definition at line 43 of file TrackMCH.cxx.

◆ getPy()

double o2::mch::TrackMCH::getPy ( ) const

return track momentum along y

Definition at line 50 of file TrackMCH.cxx.

◆ getPz()

double o2::mch::TrackMCH::getPz ( ) const

return track momentum along z

Definition at line 57 of file TrackMCH.cxx.

◆ getSign()

short o2::mch::TrackMCH::getSign ( ) const
inline

get the muon sign

Definition at line 65 of file TrackMCH.h.

◆ getTimeMUS() [1/2]

Time & o2::mch::TrackMCH::getTimeMUS ( )
inline

Definition at line 116 of file TrackMCH.h.

◆ getTimeMUS() [2/2]

const Time & o2::mch::TrackMCH::getTimeMUS ( ) const
inline

mean time associated to this track, with error

Definition at line 115 of file TrackMCH.h.

◆ getX()

double o2::mch::TrackMCH::getX ( ) const
inline

get the track x position

Definition at line 51 of file TrackMCH.h.

◆ getY()

double o2::mch::TrackMCH::getY ( ) const
inline

get the track y position

Definition at line 53 of file TrackMCH.h.

◆ getZ()

double o2::mch::TrackMCH::getZ ( ) const
inline

get the track z position where the parameters are evaluated

Definition at line 55 of file TrackMCH.h.

◆ getZAtMID()

double o2::mch::TrackMCH::getZAtMID ( ) const
inline

get the track z position on the MID side where the parameters are evaluated

Definition at line 80 of file TrackMCH.h.

◆ operator=() [1/2]

TrackMCH & o2::mch::TrackMCH::operator= ( const TrackMCH track)
default

◆ operator=() [2/2]

TrackMCH & o2::mch::TrackMCH::operator= ( TrackMCH &&  )
default

◆ setChi2()

void o2::mch::TrackMCH::setChi2 ( double  chi2)
inline

set the track chi2

Definition at line 99 of file TrackMCH.h.

◆ setClusterRef()

void o2::mch::TrackMCH::setClusterRef ( int  firstClusterIdx,
int  nClusters 
)
inline

set the number of the clusters attached to the track and the index of the first one

Definition at line 112 of file TrackMCH.h.

◆ setCovariances()

void o2::mch::TrackMCH::setCovariances ( const TMatrixD &  cov)
inline

set the track parameter covariances

Definition at line 77 of file TrackMCH.h.

◆ setCovariancesAtMID()

void o2::mch::TrackMCH::setCovariancesAtMID ( const TMatrixD &  cov)
inline

set the track parameter covariances on the MID side

Definition at line 94 of file TrackMCH.h.

◆ setParameters()

void o2::mch::TrackMCH::setParameters ( const TMatrixD &  param)
inline

set the track parameters

Definition at line 70 of file TrackMCH.h.

◆ setParametersAtMID()

void o2::mch::TrackMCH::setParametersAtMID ( const TMatrixD &  param)
inline

set the track parameters on the MID side

Definition at line 87 of file TrackMCH.h.

◆ setTimeMUS() [1/2]

void o2::mch::TrackMCH::setTimeMUS ( const Time t)
inline

Definition at line 117 of file TrackMCH.h.

◆ setTimeMUS() [2/2]

void o2::mch::TrackMCH::setTimeMUS ( float  t,
float  te 
)
inline

Definition at line 118 of file TrackMCH.h.

◆ setZ()

void o2::mch::TrackMCH::setZ ( double  z)
inline

set the track z position where the parameters are evaluated

Definition at line 57 of file TrackMCH.h.

◆ setZAtMID()

void o2::mch::TrackMCH::setZAtMID ( double  z)
inline

set the track z position on the MID side where the parameters are evaluated

Definition at line 82 of file TrackMCH.h.


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