![]() |
Project
|
track parameters for internal use More...
#include <TrackParam.h>
Public Member Functions | |
TrackParam ()=default | |
TrackParam (Double_t z, const Double_t param[5]) | |
TrackParam (Double_t z, const Double_t param[5], const Double_t cov[15]) | |
~TrackParam ()=default | |
TrackParam (const TrackParam &tp) | |
TrackParam & | operator= (const TrackParam &tp) |
TrackParam (TrackParam &&)=delete | |
TrackParam & | operator= (TrackParam &&)=delete |
Double_t | getZ () const |
return Z coordinate (cm) | |
void | setZ (Double_t z) |
set Z coordinate (cm) | |
Double_t | getNonBendingCoor () const |
return non bending coordinate (cm) | |
void | setNonBendingCoor (Double_t nonBendingCoor) |
set non bending coordinate (cm) | |
Double_t | getNonBendingSlope () const |
return non bending slope (cm ** -1) | |
void | setNonBendingSlope (Double_t nonBendingSlope) |
set non bending slope (cm ** -1) | |
Double_t | getBendingCoor () const |
return bending coordinate (cm) | |
void | setBendingCoor (Double_t bendingCoor) |
set bending coordinate (cm) | |
Double_t | getBendingSlope () const |
return bending slope (cm ** -1) | |
void | setBendingSlope (Double_t bendingSlope) |
set bending slope (cm ** -1) | |
Double_t | getInverseBendingMomentum () const |
return inverse bending momentum (GeV/c ** -1) times the charge (assumed forward motion) | |
void | setInverseBendingMomentum (Double_t inverseBendingMomentum) |
set inverse bending momentum (GeV/c ** -1) times the charge (assumed forward motion) | |
Double_t | getCharge () const |
return the charge (assumed forward motion) | |
void | setCharge (Double_t charge) |
set the charge (assumed forward motion) | |
const TMatrixD & | getParameters () const |
return track parameters | |
void | setParameters (const TMatrixD ¶meters) |
set track parameters | |
void | setParameters (const Double_t parameters[5]) |
set track parameters from the array | |
void | addParameters (const TMatrixD ¶meters) |
add track parameters | |
Double_t | px () const |
Double_t | py () const |
Double_t | pz () const |
Double_t | p () const |
Bool_t | hasCovariances () const |
return kTRUE if the covariance matrix exist, kFALSE if not | |
const TMatrixD & | getCovariances () const |
void | setCovariances (const TMatrixD &covariances) |
void | setCovariances (const Double_t covariances[15]) |
void | setVariances (const Double_t covariances[15]) |
void | deleteCovariances () |
const TMatrixD & | getPropagator () const |
void | resetPropagator () |
void | updatePropagator (const TMatrixD &propagator) |
const TMatrixD & | getExtrapParameters () const |
void | setExtrapParameters (const TMatrixD ¶meters) |
const TMatrixD & | getExtrapCovariances () const |
void | setExtrapCovariances (const TMatrixD &covariances) |
const TMatrixD & | getSmoothParameters () const |
void | setSmoothParameters (const TMatrixD ¶meters) |
const TMatrixD & | getSmoothCovariances () const |
void | setSmoothCovariances (const TMatrixD &covariances) |
const Cluster * | getClusterPtr () const |
get pointer to associated cluster | |
void | setClusterPtr (const Cluster *cluster) |
set pointer to associated cluster | |
Bool_t | isRemovable () const |
return true if the associated cluster can be removed from the track it belongs to | |
void | setRemovable (Bool_t removable) |
set the flag telling whether the associated cluster can be removed from the track it belongs to or not | |
Double_t | getTrackChi2 () const |
return the chi2 of the track when the associated cluster was attached | |
void | setTrackChi2 (Double_t chi2) |
set the chi2 of the track when the associated cluster was attached | |
Double_t | getLocalChi2 () const |
return the local chi2 of the associated cluster with respect to the track | |
void | setLocalChi2 (Double_t chi2) |
set the local chi2 of the associated cluster with respect to the track | |
TrackParamStruct | getTrackParamStruct () const |
Bool_t | isCompatibleTrackParam (const TrackParam &trackParam, Double_t sigma2Cut, Double_t &normChi2) const |
void | print () const |
void | clear () |
track parameters for internal use
Definition at line 33 of file TrackParam.h.
|
default |
o2::mch::TrackParam::TrackParam | ( | Double_t | z, |
const Double_t | param[5] | ||
) |
constructor with given parameters
Definition at line 36 of file TrackParam.cxx.
o2::mch::TrackParam::TrackParam | ( | Double_t | z, |
const Double_t | param[5], | ||
const Double_t | cov[15] | ||
) |
constructor with given parameters and covariances
Definition at line 43 of file TrackParam.cxx.
|
default |
o2::mch::TrackParam::TrackParam | ( | const TrackParam & | tp | ) |
Copy constructor
Definition at line 51 of file TrackParam.cxx.
|
delete |
|
inline |
add track parameters
Definition at line 87 of file TrackParam.h.
void o2::mch::TrackParam::clear | ( | ) |
clear memory
Definition at line 163 of file TrackParam.cxx.
void o2::mch::TrackParam::deleteCovariances | ( | ) |
Delete the covariance matrix
Definition at line 288 of file TrackParam.cxx.
|
inline |
return bending coordinate (cm)
Definition at line 59 of file TrackParam.h.
|
inline |
return bending slope (cm ** -1)
Definition at line 63 of file TrackParam.h.
|
inline |
return the charge (assumed forward motion)
Definition at line 71 of file TrackParam.h.
|
inline |
get pointer to associated cluster
Definition at line 120 of file TrackParam.h.
const TMatrixD & o2::mch::TrackParam::getCovariances | ( | ) | const |
Return the covariance matrix (create it before if needed)
Definition at line 228 of file TrackParam.cxx.
const TMatrixD & o2::mch::TrackParam::getExtrapCovariances | ( | ) | const |
Return the extrapolated covariance matrix (create it before if needed)
Definition at line 348 of file TrackParam.cxx.
const TMatrixD & o2::mch::TrackParam::getExtrapParameters | ( | ) | const |
Return extrapolated parameters (create it before if needed)
Definition at line 326 of file TrackParam.cxx.
|
inline |
return inverse bending momentum (GeV/c ** -1) times the charge (assumed forward motion)
Definition at line 67 of file TrackParam.h.
|
inline |
return the local chi2 of the associated cluster with respect to the track
Definition at line 134 of file TrackParam.h.
|
inline |
return non bending coordinate (cm)
Definition at line 51 of file TrackParam.h.
|
inline |
return non bending slope (cm ** -1)
Definition at line 55 of file TrackParam.h.
|
inline |
return track parameters
Definition at line 81 of file TrackParam.h.
const TMatrixD & o2::mch::TrackParam::getPropagator | ( | ) | const |
Return the propagator (create it before if needed)
Definition at line 295 of file TrackParam.cxx.
const TMatrixD & o2::mch::TrackParam::getSmoothCovariances | ( | ) | const |
Return the smoothed covariance matrix (create it before if needed)
Definition at line 392 of file TrackParam.cxx.
const TMatrixD & o2::mch::TrackParam::getSmoothParameters | ( | ) | const |
Return the smoothed parameters (create it before if needed)
Definition at line 370 of file TrackParam.cxx.
|
inline |
return the chi2 of the track when the associated cluster was attached
Definition at line 130 of file TrackParam.h.
TrackParamStruct o2::mch::TrackParam::getTrackParamStruct | ( | ) | const |
return track parameters in the flat structure
Definition at line 473 of file TrackParam.cxx.
|
inline |
return Z coordinate (cm)
Definition at line 47 of file TrackParam.h.
|
inline |
return kTRUE if the covariance matrix exist, kFALSE if not
Definition at line 95 of file TrackParam.h.
Bool_t o2::mch::TrackParam::isCompatibleTrackParam | ( | const TrackParam & | trackParam, |
Double_t | sigma2Cut, | ||
Double_t & | normChi2 | ||
) | const |
Return kTRUE if the two set of track parameters are compatible within sigma2Cut Set chi2 to the compatible chi2 value Note that parameter covariances must exist for at least one set of parameters Note also that if parameters are not given at the same Z, results will be meaningless
Definition at line 414 of file TrackParam.cxx.
|
inline |
return true if the associated cluster can be removed from the track it belongs to
Definition at line 125 of file TrackParam.h.
TrackParam & o2::mch::TrackParam::operator= | ( | const TrackParam & | tp | ) |
Assignment operator
Definition at line 81 of file TrackParam.cxx.
|
delete |
Double_t o2::mch::TrackParam::p | ( | ) | const |
return p from track parameters
Definition at line 215 of file TrackParam.cxx.
void o2::mch::TrackParam::print | ( | ) | const |
Printing TrackParam informations
Definition at line 491 of file TrackParam.cxx.
Double_t o2::mch::TrackParam::px | ( | ) | const |
return p_x from track parameters
Definition at line 175 of file TrackParam.cxx.
Double_t o2::mch::TrackParam::py | ( | ) | const |
return p_y from track parameters
Definition at line 189 of file TrackParam.cxx.
Double_t o2::mch::TrackParam::pz | ( | ) | const |
return p_z from track parameters
Definition at line 203 of file TrackParam.cxx.
void o2::mch::TrackParam::resetPropagator | ( | ) |
Reset the propagator
Definition at line 306 of file TrackParam.cxx.
|
inline |
set bending coordinate (cm)
Definition at line 61 of file TrackParam.h.
|
inline |
set bending slope (cm ** -1)
Definition at line 65 of file TrackParam.h.
|
inline |
set the charge (assumed forward motion)
Definition at line 73 of file TrackParam.h.
set pointer to associated cluster
Definition at line 122 of file TrackParam.h.
void o2::mch::TrackParam::setCovariances | ( | const Double_t | covariances[15] | ) |
Set the covariance matrix from the reduced matrix formated as follow:
[0] = <X,X> [1] = <SlopeX,X> [2] = <SlopeX,SlopeX> [3] = <Y,X> [4] = <Y,SlopeX> [5] = <Y,Y> [6] = <SlopeY,X> [7] = <SlopeY,SlopeX> [8] = <SlopeY,Y> [9] = <SlopeY,SlopeY> [10]= <q/pYZ,X> [11]= <q/pYZ,SlopeX> [12]= <q/pYZ,Y> [13]= <q/pYZ,SlopeY> [14]= <q/pYZ,q/pYZ>
Definition at line 250 of file TrackParam.cxx.
void o2::mch::TrackParam::setCovariances | ( | const TMatrixD & | covariances | ) |
Set the covariance matrix
Definition at line 239 of file TrackParam.cxx.
void o2::mch::TrackParam::setExtrapCovariances | ( | const TMatrixD & | covariances | ) |
Set the extrapolated covariance matrix
Definition at line 359 of file TrackParam.cxx.
void o2::mch::TrackParam::setExtrapParameters | ( | const TMatrixD & | parameters | ) |
Set extrapolated parameters
Definition at line 337 of file TrackParam.cxx.
|
inline |
set inverse bending momentum (GeV/c ** -1) times the charge (assumed forward motion)
Definition at line 69 of file TrackParam.h.
|
inline |
set the local chi2 of the associated cluster with respect to the track
Definition at line 136 of file TrackParam.h.
|
inline |
set non bending coordinate (cm)
Definition at line 53 of file TrackParam.h.
|
inline |
set non bending slope (cm ** -1)
Definition at line 57 of file TrackParam.h.
|
inline |
set track parameters from the array
Definition at line 85 of file TrackParam.h.
|
inline |
set track parameters
Definition at line 83 of file TrackParam.h.
|
inline |
set the flag telling whether the associated cluster can be removed from the track it belongs to or not
Definition at line 127 of file TrackParam.h.
void o2::mch::TrackParam::setSmoothCovariances | ( | const TMatrixD & | covariances | ) |
Set the smoothed covariance matrix
Definition at line 403 of file TrackParam.cxx.
void o2::mch::TrackParam::setSmoothParameters | ( | const TMatrixD & | parameters | ) |
Set the smoothed parameters
Definition at line 381 of file TrackParam.cxx.
|
inline |
set the chi2 of the track when the associated cluster was attached
Definition at line 132 of file TrackParam.h.
void o2::mch::TrackParam::setVariances | ( | const Double_t | covariances[15] | ) |
Set the diagonal terms of the covariance matrix (variances) from the reduced matrix formated as follow:
[0] = <X,X> [1] = <SlopeX,X> [2] = <SlopeX,SlopeX> [3] = <Y,X> [4] = <Y,SlopeX> [5] = <Y,Y> [6] = <SlopeY,X> [7] = <SlopeY,SlopeX> [8] = <SlopeY,Y> [9] = <SlopeY,SlopeY> [10]= <q/pYZ,X> [11]= <q/pYZ,SlopeX> [12]= <q/pYZ,Y> [13]= <q/pYZ,SlopeY> [14]= <q/pYZ,q/pYZ>
Definition at line 269 of file TrackParam.cxx.
|
inline |
set Z coordinate (cm)
Definition at line 49 of file TrackParam.h.
void o2::mch::TrackParam::updatePropagator | ( | const TMatrixD & | propagator | ) |
Update the propagator
Definition at line 315 of file TrackParam.cxx.