![]() |
Project
|
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 ¶m, const TMatrixD &cov, double chi2, int firstClIdx, int nClusters, double zAtMID, const TMatrixD ¶mAtMID, const TMatrixD &covAtMID, const Time &time) | |
~TrackMCH ()=default | |
TrackMCH (const TrackMCH &track)=default | |
TrackMCH & | operator= (const TrackMCH &track)=default |
TrackMCH (TrackMCH &&)=default | |
TrackMCH & | operator= (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 ¶m) |
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 ¶m) |
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 Time & | getTimeMUS () const |
mean time associated to this track, with error | |
Time & | getTimeMUS () |
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 | |
MCH track external format.
Definition at line 33 of file TrackMCH.h.
using o2::mch::TrackMCH::Time = o2::dataformats::TimeStampWithError<float, float> |
Definition at line 38 of file TrackMCH.h.
|
default |
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.
|
default |
|
default |
|
default |
|
inline |
get the track chi2
Definition at line 97 of file TrackMCH.h.
|
inline |
get the track normalized chi2
Definition at line 103 of file TrackMCH.h.
get the covariance between track parameters i and j
Definition at line 75 of file TrackMCH.h.
get the covariance between track parameters i and j on the MID side
Definition at line 92 of file TrackMCH.h.
|
inline |
get the track parameter covariances
Definition at line 73 of file TrackMCH.h.
|
inline |
get the track parameter covariances on the MID side
Definition at line 90 of file TrackMCH.h.
|
inline |
get the index of the first cluster attached to the track
Definition at line 108 of file TrackMCH.h.
|
inline |
get the index of the last cluster attached to the track
Definition at line 110 of file TrackMCH.h.
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.
|
inline |
get the number of clusters attached to the track
Definition at line 106 of file TrackMCH.h.
|
inline |
get the number of degrees of freedom of the track
Definition at line 101 of file TrackMCH.h.
double o2::mch::TrackMCH::getP | ( | ) | const |
return track momentum
Definition at line 68 of file TrackMCH.cxx.
|
inline |
get the track parameters
Definition at line 68 of file TrackMCH.h.
|
inline |
get the track parameters on the MID side
Definition at line 85 of file TrackMCH.h.
double o2::mch::TrackMCH::getPx | ( | ) | const |
return track momentum along x
Definition at line 43 of file TrackMCH.cxx.
double o2::mch::TrackMCH::getPy | ( | ) | const |
return track momentum along y
Definition at line 50 of file TrackMCH.cxx.
double o2::mch::TrackMCH::getPz | ( | ) | const |
return track momentum along z
Definition at line 57 of file TrackMCH.cxx.
|
inline |
get the muon sign
Definition at line 65 of file TrackMCH.h.
|
inline |
Definition at line 116 of file TrackMCH.h.
|
inline |
mean time associated to this track, with error
Definition at line 115 of file TrackMCH.h.
|
inline |
get the track x position
Definition at line 51 of file TrackMCH.h.
|
inline |
get the track y position
Definition at line 53 of file TrackMCH.h.
|
inline |
get the track z position where the parameters are evaluated
Definition at line 55 of file TrackMCH.h.
|
inline |
get the track z position on the MID side where the parameters are evaluated
Definition at line 80 of file TrackMCH.h.
|
inline |
set the track chi2
Definition at line 99 of file TrackMCH.h.
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.
|
inline |
set the track parameter covariances
Definition at line 77 of file TrackMCH.h.
|
inline |
set the track parameter covariances on the MID side
Definition at line 94 of file TrackMCH.h.
|
inline |
set the track parameters
Definition at line 70 of file TrackMCH.h.
|
inline |
set the track parameters on the MID side
Definition at line 87 of file TrackMCH.h.
Definition at line 117 of file TrackMCH.h.
|
inline |
Definition at line 118 of file TrackMCH.h.
|
inline |
set the track z position where the parameters are evaluated
Definition at line 57 of file TrackMCH.h.
|
inline |
set the track z position on the MID side where the parameters are evaluated
Definition at line 82 of file TrackMCH.h.