CbmRoot
Loading...
Searching...
No Matches
cbm::algo::kf::TrackParam< T > Class Template Reference

TrackParam classes of different types. More...

#include <KfTrackParam.h>

Inheritance diagram for cbm::algo::kf::TrackParam< T >:
[legend]
Collaboration diagram for cbm::algo::kf::TrackParam< T >:
[legend]

Public Types

typedef std::array< T, kNcovParamCovMatrix_t
 covariance matrix type
 

Public Member Functions

 ClassDefNV (TrackParam, 1)
 
GetEta () const
 Gets pseudo-rapidity.
 
 ClassDefNV (TrackParamBaseScalar, 1)
 
template<typename T1>
void Set (const TrackParamBase< T1 > &Tb)
 
void Set (const TrackParamBase< fvec > &Tb, const int ib)
 
template<typename T1>
void SetOneEntry (const int ia, const TrackParamBase< T1 > &Tb)
 
void SetOneEntry (const int ia, const TrackParamBase< fvec > &Tb, const int ib)
 
Z () const
 Gets z position [cm].
 
T & Z ()
 Reference to z position [cm].
 
X () const
 Gets x position [cm].
 
T & X ()
 Reference to x position [cm].
 
Y () const
 Gets y position [cm].
 
T & Y ()
 Reference to y position [cm].
 
Tx () const
 Gets slope along x-axis.
 
T & Tx ()
 Reference to slope along x-axis.
 
Ty () const
 Gets slope along y-axis.
 
T & Ty ()
 Reference to slope along y-axis.
 
Qp () const
 Gets charge over momentum [ec/GeV].
 
T & Qp ()
 Reference to charge over momentum [ec/GeV].
 
Time () const
 Gets time [ns].
 
T & Time ()
 Reference to time [ns].
 
Vi () const
 Gets inverse velocity [ns/cm].
 
T & Vi ()
 Reference to inverse velocity [ns/cm].
 
ChiSq () const
 Gets Chi-square of track fit model.
 
T & ChiSq ()
 Reference to Chi-square of track fit model.
 
Ndf () const
 Gets NDF of track fit model.
 
T & Ndf ()
 Reference to NDF of track fit model.
 
ChiSqTime () const
 Gets Chi-square of time measurements.
 
T & ChiSqTime ()
 Reference to Chi-square of time measurements.
 
NdfTime () const
 Gets NDF of time measurements.
 
T & NdfTime ()
 Reference to NDF of time measurements.
 
C (int i, int j) const
 Get covariance matrix element.
 
template<int i, int j>
C () const
 Get covariance matrix element when indices are known at compile time.
 
T & C (int i, int j)
 Get a reference to the covariance matrix element.
 
template<int i, int j>
T & C ()
 Get a reference to the covariance matrix element when indices are known at compile time.
 
C00 () const
 Individual getters for covariance matrix elements.
 
T & C00 ()
 Individual references to covariance matrix elements.
 
C01 () const
 
T & C01 ()
 
C02 () const
 
T & C02 ()
 
C03 () const
 
T & C03 ()
 
C04 () const
 
T & C04 ()
 
C05 () const
 
T & C05 ()
 
C06 () const
 
T & C06 ()
 
C10 () const
 
T & C10 ()
 
C11 () const
 
T & C11 ()
 
C12 () const
 
T & C12 ()
 
C13 () const
 
T & C13 ()
 
C14 () const
 
T & C14 ()
 
C15 () const
 
T & C15 ()
 
C16 () const
 
T & C16 ()
 
C20 () const
 
T & C20 ()
 
C21 () const
 
T & C21 ()
 
C22 () const
 
T & C22 ()
 
C23 () const
 
T & C23 ()
 
C24 () const
 
T & C24 ()
 
C25 () const
 
T & C25 ()
 
C26 () const
 
T & C26 ()
 
C30 () const
 
T & C30 ()
 
C31 () const
 
T & C31 ()
 
C32 () const
 
T & C32 ()
 
C33 () const
 
T & C33 ()
 
C34 () const
 
T & C34 ()
 
C35 () const
 
T & C35 ()
 
C36 () const
 
T & C36 ()
 
C40 () const
 
T & C40 ()
 
C41 () const
 
T & C41 ()
 
C42 () const
 
T & C42 ()
 
C43 () const
 
T & C43 ()
 
C44 () const
 
T & C44 ()
 
C45 () const
 
T & C45 ()
 
C46 () const
 
T & C46 ()
 
C50 () const
 
T & C50 ()
 
C51 () const
 
T & C51 ()
 
C52 () const
 
T & C52 ()
 
C53 () const
 
T & C53 ()
 
C54 () const
 
T & C54 ()
 
C55 () const
 
T & C55 ()
 
C56 () const
 
T & C56 ()
 
C60 () const
 
T & C60 ()
 
C61 () const
 
T & C61 ()
 
C62 () const
 
T & C62 ()
 
C63 () const
 
T & C63 ()
 
C64 () const
 
T & C64 ()
 
C65 () const
 
T & C65 ()
 
C66 () const
 
T & C66 ()
 
GetZ () const
 Gets z position [cm].
 
GetX () const
 Gets x position [cm].
 
GetXError () const
 Gets x position error [cm].
 
GetY () const
 Gets y position [cm].
 
GetYError () const
 Gets y position error [cm].
 
GetTx () const
 Gets slope along x-axis.
 
GetTxError () const
 Gets error of slope along x-axis.
 
GetTy () const
 Gets slope along y-axis.
 
GetTyError () const
 Gets error of slope along y-axis.
 
GetQp () const
 Gets charge over momentum [ec/GeV].
 
GetQpError () const
 Gets error of charge over momentum [ec/GeV].
 
GetTime () const
 Gets time [ns].
 
GetTimeError () const
 Gets time error [ns].
 
GetVi () const
 Gets inverse velocity [ns/cm] in downstream direction.
 
GetViError () const
 Gets inverse velocity error [ns/cm].
 
const CovMatrix_tGetCovMatrix () const
 Gets covariance matrix.
 
GetCovariance (int i, int j) const
 Get covariance matrix element.
 
GetChiSq () const
 Gets Chi-square of track fit model.
 
GetNdf () const
 Gets NDF of track fit model.
 
GetChiSqTime () const
 Gets Chi-square of time measurements.
 
GetNdfTime () const
 Gets NDF of time measurements.
 
GetCharge () const
 Gets charge.
 
GetPhi () const
 Gets azimuthal angle [rad].
 
GetPhiError () const
 Gets azimuthal angle error [rad].
 
GetTheta () const
 Gets polar angle [rad].
 
GetThetaError () const
 Gets polar angle error [rad].
 
GetP () const
 Gets momentum [GeV/ec]. For the straight tracks returns 1.e4 [GeV/ec].
 
GetPz () const
 Gets z-component of the momentum [GeV/ec].
 
GetPx () const
 Gets x-component of the momentum [GeV/ec].
 
GetPy () const
 Gets y-component of the momentum [GeV/ec].
 
GetPt () const
 Gets transverse momentum.
 
void SetZ (T v)
 Sets z position [cm].
 
void SetX (T v)
 Sets x position [cm].
 
void SetY (T v)
 Sets y position [cm].
 
void SetTx (T v)
 Sets slope along x-axis.
 
void SetTy (T v)
 Sets slope along y-axis.
 
void SetQp (T v)
 Sets charge over momentum [ec/GeV].
 
void SetTime (T v)
 Sets time [ns].
 
void SetVi (T v)
 Sets inverse velocity [ns/cm].
 
void SetChiSq (T v)
 Sets Chi-square of track fit model.
 
void SetNdf (T v)
 Sets NDF of track fit model.
 
void SetChiSqTime (T v)
 Sets Chi-square of time measurements.
 
void SetNdfTime (T v)
 Sets NDF of time measurements.
 
void SetCovMatrix (const CovMatrix_t &val)
 Sets covariance matrix.
 
void SetCovariance (int i, int j, T val)
 Get covariance matrix element.
 
template<int i, int j>
void SetCovariance (T val)
 Get covariance matrix element when indices are known at compile time.
 
void SetC00 (T val)
 Individual setters for covariance matrix elements.
 
void SetC10 (T val)
 
void SetC11 (T val)
 
void SetC20 (T val)
 
void SetC21 (T val)
 
void SetC22 (T val)
 
void SetC30 (T val)
 
void SetC31 (T val)
 
void SetC32 (T val)
 
void SetC33 (T val)
 
void SetC40 (T val)
 
void SetC41 (T val)
 
void SetC42 (T val)
 
void SetC43 (T val)
 
void SetC44 (T val)
 
void SetC50 (T val)
 
void SetC51 (T val)
 
void SetC52 (T val)
 
void SetC53 (T val)
 
void SetC54 (T val)
 
void SetC55 (T val)
 
void SetC60 (T val)
 
void SetC61 (T val)
 
void SetC62 (T val)
 
void SetC63 (T val)
 
void SetC64 (T val)
 
void SetC65 (T val)
 
void SetC66 (T val)
 
CovMatrix_tCovMatrix ()
 Reference to covariance matrix.
 
void ResetErrors (T c00, T c11, T c22, T c33, T c44, T c55, T c66)
 Resets variances of track parameters and chi2, ndf values.
 
std::string ToString (int i=-1) const
 Prints parameters to a string.
 
std::string ToStringCorrelations (int i=-1) const
 Prints correlations to a string.
 
bool IsFinite (bool printWhenWrong) const
 Checks whether some parameters are finite.
 
bool IsEntryConsistent (bool printWhenWrong, int i) const
 Checks whether SIMD entry i is consistent.
 
bool IsConsistent (bool printWhenWrong, int nFilled) const
 Checks whether first nFilled SIMD entries are consistent.
 
void InitVelocityRange (fscal minP)
 Initializes inverse velocity range.
 
template<class Archive>
void serialize (Archive &ar, const unsigned int)
 
template<typename TdataB, bool TDoAllA, bool TDoAllB>
void CopyBase (const int ia, const TrackParamBase< TdataB > &Tb, const int ib)
 

Static Public Attributes

static constexpr int kNtrackParam {7}
 N of variable track parameters: {x, y, tx, ty, q/p, t, vi}.
 
static constexpr int kNcovParam {(kNtrackParam) * (kNtrackParam + 1) / 2}
 N of covariance matrix parameters.
 

Private Member Functions

template<typename T1, bool TDoAllA, bool TDoAllB>
void CopyBase (const int ia, const TrackParamBase< T1 > &Tb, const int ib)
 Copies all/one entries from the other class.
 

Private Attributes

CovMatrix_t fCovMatrix
 covariance matrix
 
fX {0.}
 x-position [cm]
 
fY {0.}
 y-position [cm]
 
fZ {0.}
 z-position [cm]
 
fTx {0.}
 slope along x-axis
 
fTy {0.}
 slope along y-axis
 
fQp {0.}
 charge over momentum [ec/GeV]
 
fT {0.}
 time [ns]
 
fVi {0.}
 inverse velocity in downstream direction [ns/cm]
 
fChiSq {0.}
 chi^2 of track fit, spatial measurements
 
fNdf {0.}
 NDF of track fit, spatial measurements.
 
fChiSqTime {0.}
 chi^2 of track fit, time measurements
 
fNdfTime {0.}
 NDF of track fit, time measurements.
 

Detailed Description

template<typename T>
class cbm::algo::kf::TrackParam< T >

TrackParam classes of different types.

Class represents fitted track parameters at given z

Definition at line 655 of file KfTrackParam.h.

Member Typedef Documentation

◆ CovMatrix_t

template<typename T>
typedef std::array<T, kNcovParam> cbm::algo::kf::TrackParamBase< T >::CovMatrix_t
inherited

covariance matrix type

Definition at line 46 of file KfTrackParam.h.

Member Function Documentation

◆ C() [1/4]

template<typename T>
template<int i, int j>
T & cbm::algo::kf::TrackParamBase< T >::C ( )
inlineinherited

Get a reference to the covariance matrix element when indices are known at compile time.

Parameters
irow
jcolumn
valmatrix element

Definition at line 458 of file KfTrackParam.h.

References fCovMatrix, and cbm::algo::kf::math::SymIndex().

◆ C() [2/4]

template<typename T>
template<int i, int j>
T cbm::algo::kf::TrackParamBase< T >::C ( ) const
inlineinherited

Get covariance matrix element when indices are known at compile time.

Parameters
irow
jcolumn
Returns
matrix element

Definition at line 139 of file KfTrackParam.h.

References fCovMatrix.

◆ C() [3/4]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C ( int i,
int j )
inlineinherited

Get a reference to the covariance matrix element.

Parameters
irow
jcolumn
Returns
matrix element

Definition at line 451 of file KfTrackParam.h.

References fCovMatrix, and cbm::algo::kf::math::SymIndex().

◆ C() [4/4]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C ( int i,
int j ) const
inlineinherited

Get covariance matrix element.

Parameters
irow
jcolumn
Returns
covariance matrix element

Definition at line 128 of file KfTrackParam.h.

References fCovMatrix.

Referenced by cbm::kf::ConvertTrackParam(), and cbm::kf::ConvertTrackParam().

◆ C00() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C00 ( )
inlineinherited

Individual references to covariance matrix elements.

Definition at line 465 of file KfTrackParam.h.

References C.

◆ C00() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C00 ( ) const
inlineinherited

Individual getters for covariance matrix elements.

Returns
covariance matrix element

Definition at line 148 of file KfTrackParam.h.

References C.

Referenced by GetXError(), cbm::algo::kfp::V0Finder::SetKfpTrackParameters(), ToString(), and ToStringCorrelations().

◆ C01() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C01 ( )
inlineinherited

Definition at line 466 of file KfTrackParam.h.

References C.

◆ C01() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C01 ( ) const
inlineinherited

Definition at line 149 of file KfTrackParam.h.

References C.

Referenced by cbm::algo::kfp::V0Finder::SetKfpTrackParameters().

◆ C02() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C02 ( )
inlineinherited

Definition at line 467 of file KfTrackParam.h.

References C.

◆ C02() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C02 ( ) const
inlineinherited

Definition at line 150 of file KfTrackParam.h.

References C.

◆ C03() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C03 ( )
inlineinherited

Definition at line 468 of file KfTrackParam.h.

References C.

◆ C03() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C03 ( ) const
inlineinherited

Definition at line 151 of file KfTrackParam.h.

References C.

◆ C04() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C04 ( )
inlineinherited

Definition at line 469 of file KfTrackParam.h.

References C.

◆ C04() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C04 ( ) const
inlineinherited

Definition at line 152 of file KfTrackParam.h.

References C.

◆ C05() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C05 ( )
inlineinherited

Definition at line 470 of file KfTrackParam.h.

References C.

◆ C05() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C05 ( ) const
inlineinherited

Definition at line 153 of file KfTrackParam.h.

References C.

◆ C06() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C06 ( )
inlineinherited

Definition at line 471 of file KfTrackParam.h.

References C.

◆ C06() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C06 ( ) const
inlineinherited

Definition at line 154 of file KfTrackParam.h.

References C.

◆ C10() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C10 ( )
inlineinherited

Definition at line 473 of file KfTrackParam.h.

References C.

◆ C10() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C10 ( ) const
inlineinherited

Definition at line 156 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C11() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C11 ( )
inlineinherited

Definition at line 474 of file KfTrackParam.h.

References C.

◆ C11() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C11 ( ) const
inlineinherited

◆ C12() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C12 ( )
inlineinherited

Definition at line 475 of file KfTrackParam.h.

References C.

◆ C12() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C12 ( ) const
inlineinherited

Definition at line 158 of file KfTrackParam.h.

References C.

◆ C13() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C13 ( )
inlineinherited

Definition at line 476 of file KfTrackParam.h.

References C.

◆ C13() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C13 ( ) const
inlineinherited

Definition at line 159 of file KfTrackParam.h.

References C.

◆ C14() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C14 ( )
inlineinherited

Definition at line 477 of file KfTrackParam.h.

References C.

◆ C14() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C14 ( ) const
inlineinherited

Definition at line 160 of file KfTrackParam.h.

References C.

◆ C15() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C15 ( )
inlineinherited

Definition at line 478 of file KfTrackParam.h.

References C.

◆ C15() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C15 ( ) const
inlineinherited

Definition at line 161 of file KfTrackParam.h.

References C.

◆ C16() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C16 ( )
inlineinherited

Definition at line 479 of file KfTrackParam.h.

References C.

◆ C16() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C16 ( ) const
inlineinherited

Definition at line 162 of file KfTrackParam.h.

References C.

◆ C20() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C20 ( )
inlineinherited

Definition at line 481 of file KfTrackParam.h.

References C.

◆ C20() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C20 ( ) const
inlineinherited

Definition at line 164 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C21() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C21 ( )
inlineinherited

Definition at line 482 of file KfTrackParam.h.

References C.

◆ C21() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C21 ( ) const
inlineinherited

Definition at line 165 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C22() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C22 ( )
inlineinherited

Definition at line 483 of file KfTrackParam.h.

References C.

◆ C22() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C22 ( ) const
inlineinherited

Definition at line 166 of file KfTrackParam.h.

References C.

Referenced by GetPhiError(), GetThetaError(), GetTxError(), ToString(), and ToStringCorrelations().

◆ C23() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C23 ( )
inlineinherited

Definition at line 484 of file KfTrackParam.h.

References C.

◆ C23() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C23 ( ) const
inlineinherited

Definition at line 167 of file KfTrackParam.h.

References C.

◆ C24() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C24 ( )
inlineinherited

Definition at line 485 of file KfTrackParam.h.

References C.

◆ C24() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C24 ( ) const
inlineinherited

Definition at line 168 of file KfTrackParam.h.

References C.

◆ C25() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C25 ( )
inlineinherited

Definition at line 486 of file KfTrackParam.h.

References C.

◆ C25() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C25 ( ) const
inlineinherited

Definition at line 169 of file KfTrackParam.h.

References C.

◆ C26() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C26 ( )
inlineinherited

Definition at line 487 of file KfTrackParam.h.

References C.

◆ C26() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C26 ( ) const
inlineinherited

Definition at line 170 of file KfTrackParam.h.

References C.

◆ C30() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C30 ( )
inlineinherited

Definition at line 489 of file KfTrackParam.h.

References C.

◆ C30() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C30 ( ) const
inlineinherited

Definition at line 172 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C31() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C31 ( )
inlineinherited

Definition at line 490 of file KfTrackParam.h.

References C.

◆ C31() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C31 ( ) const
inlineinherited

Definition at line 173 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C32() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C32 ( )
inlineinherited

Definition at line 491 of file KfTrackParam.h.

References C.

◆ C32() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C32 ( ) const
inlineinherited

Definition at line 174 of file KfTrackParam.h.

References C.

Referenced by GetPhiError(), GetThetaError(), and ToStringCorrelations().

◆ C33() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C33 ( )
inlineinherited

Definition at line 492 of file KfTrackParam.h.

References C.

◆ C33() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C33 ( ) const
inlineinherited

Definition at line 175 of file KfTrackParam.h.

References C.

Referenced by GetPhiError(), GetThetaError(), GetTyError(), ToString(), and ToStringCorrelations().

◆ C34() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C34 ( )
inlineinherited

Definition at line 493 of file KfTrackParam.h.

References C.

◆ C34() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C34 ( ) const
inlineinherited

Definition at line 176 of file KfTrackParam.h.

References C.

◆ C35() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C35 ( )
inlineinherited

Definition at line 494 of file KfTrackParam.h.

References C.

◆ C35() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C35 ( ) const
inlineinherited

Definition at line 177 of file KfTrackParam.h.

References C.

◆ C36() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C36 ( )
inlineinherited

Definition at line 495 of file KfTrackParam.h.

References C.

◆ C36() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C36 ( ) const
inlineinherited

Definition at line 178 of file KfTrackParam.h.

References C.

◆ C40() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C40 ( )
inlineinherited

Definition at line 497 of file KfTrackParam.h.

References C.

◆ C40() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C40 ( ) const
inlineinherited

Definition at line 180 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C41() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C41 ( )
inlineinherited

Definition at line 498 of file KfTrackParam.h.

References C.

◆ C41() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C41 ( ) const
inlineinherited

Definition at line 181 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C42() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C42 ( )
inlineinherited

Definition at line 499 of file KfTrackParam.h.

References C.

◆ C42() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C42 ( ) const
inlineinherited

Definition at line 182 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C43() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C43 ( )
inlineinherited

Definition at line 500 of file KfTrackParam.h.

References C.

◆ C43() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C43 ( ) const
inlineinherited

Definition at line 183 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C44() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C44 ( )
inlineinherited

Definition at line 501 of file KfTrackParam.h.

References C.

◆ C44() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C44 ( ) const
inlineinherited

Definition at line 184 of file KfTrackParam.h.

References C.

Referenced by GetQpError(), ToString(), and ToStringCorrelations().

◆ C45() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C45 ( )
inlineinherited

Definition at line 502 of file KfTrackParam.h.

References C.

◆ C45() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C45 ( ) const
inlineinherited

Definition at line 185 of file KfTrackParam.h.

References C.

◆ C46() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C46 ( )
inlineinherited

Definition at line 503 of file KfTrackParam.h.

References C.

◆ C46() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C46 ( ) const
inlineinherited

Definition at line 186 of file KfTrackParam.h.

References C.

◆ C50() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C50 ( )
inlineinherited

Definition at line 505 of file KfTrackParam.h.

References C.

◆ C50() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C50 ( ) const
inlineinherited

Definition at line 188 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C51() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C51 ( )
inlineinherited

Definition at line 506 of file KfTrackParam.h.

References C.

◆ C51() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C51 ( ) const
inlineinherited

Definition at line 189 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C52() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C52 ( )
inlineinherited

Definition at line 507 of file KfTrackParam.h.

References C.

◆ C52() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C52 ( ) const
inlineinherited

Definition at line 190 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C53() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C53 ( )
inlineinherited

Definition at line 508 of file KfTrackParam.h.

References C.

◆ C53() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C53 ( ) const
inlineinherited

Definition at line 191 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C54() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C54 ( )
inlineinherited

Definition at line 509 of file KfTrackParam.h.

References C.

◆ C54() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C54 ( ) const
inlineinherited

Definition at line 192 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C55() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C55 ( )
inlineinherited

Definition at line 510 of file KfTrackParam.h.

References C.

◆ C55() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C55 ( ) const
inlineinherited

Definition at line 193 of file KfTrackParam.h.

References C.

Referenced by cbm::kf::ConvertTrackParam(), GetTimeError(), ToString(), and ToStringCorrelations().

◆ C56() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C56 ( )
inlineinherited

Definition at line 511 of file KfTrackParam.h.

References C.

◆ C56() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C56 ( ) const
inlineinherited

Definition at line 194 of file KfTrackParam.h.

References C.

◆ C60() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C60 ( )
inlineinherited

Definition at line 513 of file KfTrackParam.h.

References C.

◆ C60() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C60 ( ) const
inlineinherited

Definition at line 196 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C61() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C61 ( )
inlineinherited

Definition at line 514 of file KfTrackParam.h.

References C.

◆ C61() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C61 ( ) const
inlineinherited

Definition at line 197 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C62() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C62 ( )
inlineinherited

Definition at line 515 of file KfTrackParam.h.

References C.

◆ C62() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C62 ( ) const
inlineinherited

Definition at line 198 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C63() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C63 ( )
inlineinherited

Definition at line 516 of file KfTrackParam.h.

References C.

◆ C63() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C63 ( ) const
inlineinherited

Definition at line 199 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C64() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C64 ( )
inlineinherited

Definition at line 517 of file KfTrackParam.h.

References C.

◆ C64() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C64 ( ) const
inlineinherited

Definition at line 200 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C65() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C65 ( )
inlineinherited

Definition at line 518 of file KfTrackParam.h.

References C.

◆ C65() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C65 ( ) const
inlineinherited

Definition at line 201 of file KfTrackParam.h.

References C.

Referenced by ToStringCorrelations().

◆ C66() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::C66 ( )
inlineinherited

Definition at line 519 of file KfTrackParam.h.

References C.

◆ C66() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::C66 ( ) const
inlineinherited

Definition at line 202 of file KfTrackParam.h.

References C.

Referenced by cbm::kf::ConvertTrackParam(), GetViError(), ToString(), and ToStringCorrelations().

◆ ChiSq() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::ChiSq ( )
inlineinherited

Reference to Chi-square of track fit model.

Definition at line 436 of file KfTrackParam.h.

References fChiSq.

◆ ChiSq() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::ChiSq ( ) const
inlineinherited

Gets Chi-square of track fit model.

Definition at line 113 of file KfTrackParam.h.

References fChiSq.

Referenced by cbm::algo::ca::TripletConstructor::CollectHits(), and cbm::kf::ConvertTrackParam().

◆ ChiSqTime() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::ChiSqTime ( )
inlineinherited

Reference to Chi-square of time measurements.

Definition at line 442 of file KfTrackParam.h.

References fChiSqTime.

◆ ChiSqTime() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::ChiSqTime ( ) const
inlineinherited

Gets Chi-square of time measurements.

Definition at line 119 of file KfTrackParam.h.

References fChiSqTime.

Referenced by cbm::kf::ConvertTrackParam().

◆ ClassDefNV() [1/2]

template<typename T>
cbm::algo::kf::TrackParam< T >::ClassDefNV ( TrackParam< T > ,
1  )

◆ ClassDefNV() [2/2]

template<typename T>
cbm::algo::kf::TrackParamBaseScalar< T >::ClassDefNV ( TrackParamBaseScalar< T > ,
1  )
inherited

◆ CopyBase() [1/2]

template<typename T>
template<typename T1, bool TDoAllA, bool TDoAllB>
void cbm::algo::kf::TrackParamBase< T >::CopyBase ( const int ia,
const TrackParamBase< T1 > & Tb,
const int ib )
privateinherited

Copies all/one entries from the other class.

Template Parameters
TdataBType of the other class
TDoAllAIf true, all entries of the current class must be set
TDoAllBIf true, all entries of the other class must be used
Parameters
iaIndex of SIMD vector element of the current class
TbOther class
ibIndex of SIMD vector element of the other class

References TrackParamBase().

Referenced by cbm::algo::kf::TrackParamBase< fvec >::CopyBase(), Set(), Set(), SetOneEntry(), and SetOneEntry().

◆ CopyBase() [2/2]

template<typename T>
template<typename TdataB, bool TDoAllA, bool TDoAllB>
void cbm::algo::kf::TrackParamBase< T >::CopyBase ( const int ia,
const TrackParamBase< TdataB > & Tb,
const int ib )
inlineinherited

Definition at line 730 of file KfTrackParam.h.

◆ CovMatrix()

template<typename T>
CovMatrix_t & cbm::algo::kf::TrackParamBase< T >::CovMatrix ( )
inlineinherited

Reference to covariance matrix.

Definition at line 433 of file KfTrackParam.h.

References fCovMatrix.

Referenced by cbm::kf::ConvertTrackParam(), and CbmKfTrackFitter< FlagFitTime >::Smooth().

◆ GetCharge()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetCharge ( ) const
inlineinherited

Gets charge.

Definition at line 275 of file KfTrackParam.h.

References GetQp(), and cbm::algo::kf::utils::iif().

◆ GetChiSq()

◆ GetChiSqTime()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetChiSqTime ( ) const
inlineinherited

Gets Chi-square of time measurements.

Definition at line 269 of file KfTrackParam.h.

References fChiSqTime.

Referenced by cbm::algo::kf::TrackParamBase< fvec >::CopyBase(), and CbmKfTrackFitter< FlagFitTime >::Smooth().

◆ GetCovariance()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetCovariance ( int i,
int j ) const
inlineinherited

Get covariance matrix element.

Parameters
irow
jcolumn
Returns
covariance matrix element

Definition at line 260 of file KfTrackParam.h.

References C.

Referenced by cbm::kf::CreateKfParticle(), and CbmRecoQaTask::View::Load().

◆ GetCovMatrix()

template<typename T>
const CovMatrix_t & cbm::algo::kf::TrackParamBase< T >::GetCovMatrix ( ) const
inlineinherited

Gets covariance matrix.

Definition at line 254 of file KfTrackParam.h.

References fCovMatrix.

Referenced by cbm::algo::kf::TrackParamBase< fvec >::CopyBase(), and CbmKfTrackFitter< FlagFitTime >::Smooth().

◆ GetEta()

template<typename T>
T cbm::algo::kf::TrackParamBaseScalar< T >::GetEta ( ) const
inlineinherited

Gets pseudo-rapidity.

------------------------------------------------------------------------------------------------------------------—using

Definition at line 640 of file KfTrackParam.h.

References cbm::algo::kf::TrackParamBase< T >::GetTheta(), and log().

◆ GetNdf()

◆ GetNdfTime()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetNdfTime ( ) const
inlineinherited

Gets NDF of time measurements.

Definition at line 272 of file KfTrackParam.h.

References fNdfTime.

Referenced by cbm::algo::kf::TrackParamBase< fvec >::CopyBase(), and CbmKfTrackFitter< FlagFitTime >::Smooth().

◆ GetP()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetP ( ) const
inlineinherited

Gets momentum [GeV/ec]. For the straight tracks returns 1.e4 [GeV/ec].

Definition at line 290 of file KfTrackParam.h.

References cbm::algo::kf::utils::fabs(), GetQp(), and cbm::algo::kf::utils::iif().

Referenced by GetPt(), GetPz(), and CbmL1::HistoPerformance().

◆ GetPhi()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetPhi ( ) const
inlineinherited

Gets azimuthal angle [rad].

Definition at line 278 of file KfTrackParam.h.

References GetTx(), and GetTy().

Referenced by CbmL1::HistoPerformance().

◆ GetPhiError()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetPhiError ( ) const
inlineinherited

Gets azimuthal angle error [rad].


Inline and template function implementation


Definition at line 687 of file KfTrackParam.h.

References C22(), C32(), C33(), GetPhiError(), GetTx(), GetTy(), and sqrt().

Referenced by GetPhiError().

◆ GetPt()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetPt ( ) const
inlineinherited

Gets transverse momentum.

Definition at line 302 of file KfTrackParam.h.

References GetP(), GetTx(), GetTy(), and sqrt().

◆ GetPx()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetPx ( ) const
inlineinherited

Gets x-component of the momentum [GeV/ec].

Definition at line 296 of file KfTrackParam.h.

References GetPz(), and GetTx().

◆ GetPy()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetPy ( ) const
inlineinherited

Gets y-component of the momentum [GeV/ec].

Definition at line 299 of file KfTrackParam.h.

References GetPz(), and GetTy().

◆ GetPz()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetPz ( ) const
inlineinherited

Gets z-component of the momentum [GeV/ec].

Definition at line 293 of file KfTrackParam.h.

References GetP(), GetTx(), GetTy(), and sqrt().

Referenced by GetPx(), and GetPy().

◆ GetQp()

◆ GetQpError()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetQpError ( ) const
inlineinherited

Gets error of charge over momentum [ec/GeV].

Definition at line 239 of file KfTrackParam.h.

References C44(), and sqrt().

Referenced by cbm::ca::TrackFitQa::Fill().

◆ GetTheta()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetTheta ( ) const
inlineinherited

Gets polar angle [rad].

Definition at line 284 of file KfTrackParam.h.

References GetTx(), GetTy(), and sqrt().

Referenced by cbm::ca::TrackFitQa::Fill(), and cbm::algo::kf::TrackParamBaseScalar< T >::GetEta().

◆ GetThetaError()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetThetaError ( ) const
inlineinherited

Gets polar angle error [rad].


Definition at line 707 of file KfTrackParam.h.

References C22(), C32(), C33(), GetThetaError(), GetTx(), GetTy(), and sqrt().

Referenced by GetThetaError().

◆ GetTime()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetTime ( ) const
inlineinherited

Gets time [ns].

Definition at line 242 of file KfTrackParam.h.

References fT.

Referenced by cbm::algo::kf::TrackParamBase< fvec >::CopyBase(), cbm::ca::TrackFitQa::Fill(), and ToString().

◆ GetTimeError()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetTimeError ( ) const
inlineinherited

Gets time error [ns].

Definition at line 245 of file KfTrackParam.h.

References C55(), and sqrt().

Referenced by cbm::ca::TrackFitQa::Fill().

◆ GetTx()

◆ GetTxError()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetTxError ( ) const
inlineinherited

Gets error of slope along x-axis.

Definition at line 227 of file KfTrackParam.h.

References C22(), and sqrt().

Referenced by cbm::ca::TrackFitQa::Fill().

◆ GetTy()

◆ GetTyError()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetTyError ( ) const
inlineinherited

Gets error of slope along y-axis.

Definition at line 233 of file KfTrackParam.h.

References C33(), and sqrt().

Referenced by cbm::ca::TrackFitQa::Fill().

◆ GetVi()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetVi ( ) const
inlineinherited

Gets inverse velocity [ns/cm] in downstream direction.

Definition at line 248 of file KfTrackParam.h.

References fVi.

Referenced by cbm::algo::kf::TrackParamBase< fvec >::CopyBase(), cbm::ca::TrackFitQa::Fill(), and ToString().

◆ GetViError()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetViError ( ) const
inlineinherited

Gets inverse velocity error [ns/cm].

Definition at line 251 of file KfTrackParam.h.

References C66(), and sqrt().

Referenced by cbm::ca::TrackFitQa::Fill().

◆ GetX()

◆ GetXError()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetXError ( ) const
inlineinherited

Gets x position error [cm].

Definition at line 215 of file KfTrackParam.h.

References C00(), and sqrt().

Referenced by cbm::ca::TrackFitQa::Fill().

◆ GetY()

◆ GetYError()

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::GetYError ( ) const
inlineinherited

Gets y position error [cm].

Definition at line 221 of file KfTrackParam.h.

References C11(), and sqrt().

Referenced by cbm::ca::TrackFitQa::Fill().

◆ GetZ()

◆ InitVelocityRange()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::InitVelocityRange ( fscal minP)
inlineinherited

Initializes inverse velocity range.

Definition at line 781 of file KfTrackParam.h.

References InitVelocityRange(), cbm::algo::kf::defs::ProtonMass, SetC66(), SetVi(), cbm::algo::kf::defs::SpeedOfLightInv, and sqrt().

Referenced by InitVelocityRange().

◆ IsConsistent()

template<typename DataT>
bool cbm::algo::kf::TrackParamBase< DataT >::IsConsistent ( bool printWhenWrong,
int nFilled ) const
inherited

Checks whether first nFilled SIMD entries are consistent.

Definition at line 305 of file KfTrackParam.cxx.

References IsEntryConsistent(), cbm::algo::kf::fvec::size(), size(), and ToString().

Referenced by cbm::kf::CreateKfParticle().

◆ IsEntryConsistent()

template<typename DataT>
bool cbm::algo::kf::TrackParamBase< DataT >::IsEntryConsistent ( bool printWhenWrong,
int i ) const
inherited

Checks whether SIMD entry i is consistent.

Definition at line 204 of file KfTrackParam.cxx.

References C, fChiSq, fChiSqTime, fNdf, fNdfTime, fQp, fT, fTx, fTy, fVi, fX, fY, fZ, cbm::algo::kf::GetEntry(), sqrt(), and ToString().

Referenced by IsConsistent().

◆ IsFinite()

template<typename DataT>
bool cbm::algo::kf::TrackParamBase< DataT >::IsFinite ( bool printWhenWrong) const
inherited

Checks whether some parameters are finite.

Definition at line 161 of file KfTrackParam.cxx.

References C, fChiSq, fChiSqTime, fNdf, fNdfTime, fQp, fT, fTx, fTy, fVi, fX, fY, fZ, cbm::algo::kf::utils::IsFinite(), and kNtrackParam.

◆ Ndf() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::Ndf ( )
inlineinherited

Reference to NDF of track fit model.

Definition at line 439 of file KfTrackParam.h.

References fNdf.

◆ Ndf() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::Ndf ( ) const
inlineinherited

Gets NDF of track fit model.

Definition at line 116 of file KfTrackParam.h.

References fNdf.

Referenced by cbm::kf::ConvertTrackParam().

◆ NdfTime() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::NdfTime ( )
inlineinherited

Reference to NDF of time measurements.

Definition at line 445 of file KfTrackParam.h.

References fNdfTime.

◆ NdfTime() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::NdfTime ( ) const
inlineinherited

Gets NDF of time measurements.

Definition at line 122 of file KfTrackParam.h.

References fNdfTime.

Referenced by cbm::kf::ConvertTrackParam().

◆ Qp() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::Qp ( )
inlineinherited

Reference to charge over momentum [ec/GeV].

Definition at line 424 of file KfTrackParam.h.

References fQp.

◆ Qp() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::Qp ( ) const
inlineinherited

◆ ResetErrors()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::ResetErrors ( T c00,
T c11,
T c22,
T c33,
T c44,
T c55,
T c66 )
inlineinherited

Resets variances of track parameters and chi2, ndf values.


Other methods

Parameters
c00Variance of x-position [cm2]
c11Variance of y-position [cm2]
c22Variance of slope along x-axis
c33Variance of slope along y-axis
c44Variance of charge over momentum [(ec/GeV)2]
c55Variance of time [ns2]
c66Variance of inverse velocity [1/c2]

Definition at line 760 of file KfTrackParam.h.

References fCovMatrix, ResetErrors(), SetC00(), SetC11(), SetC22(), SetC33(), SetC44(), SetC55(), SetC66(), SetChiSq(), SetChiSqTime(), SetNdf(), and SetNdfTime().

Referenced by ResetErrors().

◆ serialize()

template<typename T>
template<class Archive>
void cbm::algo::kf::TrackParamBase< T >::serialize ( Archive & ar,
const unsigned int  )
inlineinherited

Serialization

Definition at line 560 of file KfTrackParam.h.

References fChiSq, fChiSqTime, fCovMatrix, fNdf, fNdfTime, fQp, fT, fTx, fTy, fVi, fX, fY, and fZ.

◆ Set() [1/2]

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::Set ( const TrackParamBase< fvec > & Tb,
const int ib )
inlineinherited

Set all SIMD entries from one SIMD entry of the other class It also works when T is scalar

Definition at line 67 of file KfTrackParam.h.

References CopyBase(), and TrackParamBase().

◆ Set() [2/2]

template<typename T>
template<typename T1>
void cbm::algo::kf::TrackParamBase< T >::Set ( const TrackParamBase< T1 > & Tb)
inlineinherited

Set all SIMD entries from all SIMD entries of the other class It works for scalar and fvec types, except of the case when T is scalar and TdataB is fvec.

Definition at line 60 of file KfTrackParam.h.

References CopyBase(), and TrackParamBase().

Referenced by CbmL1::Reconstruct(), and TrackParamBase().

◆ SetC00()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC00 ( T val)
inlineinherited

Individual setters for covariance matrix elements.

Definition at line 374 of file KfTrackParam.h.

References SetCovariance().

Referenced by ResetErrors().

◆ SetC10()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC10 ( T val)
inlineinherited

Definition at line 375 of file KfTrackParam.h.

References SetCovariance().

◆ SetC11()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC11 ( T val)
inlineinherited

Definition at line 376 of file KfTrackParam.h.

References SetCovariance().

Referenced by ResetErrors().

◆ SetC20()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC20 ( T val)
inlineinherited

Definition at line 377 of file KfTrackParam.h.

References SetCovariance().

◆ SetC21()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC21 ( T val)
inlineinherited

Definition at line 378 of file KfTrackParam.h.

References SetCovariance().

◆ SetC22()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC22 ( T val)
inlineinherited

Definition at line 379 of file KfTrackParam.h.

References SetCovariance().

Referenced by ResetErrors().

◆ SetC30()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC30 ( T val)
inlineinherited

Definition at line 380 of file KfTrackParam.h.

References SetCovariance().

◆ SetC31()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC31 ( T val)
inlineinherited

Definition at line 381 of file KfTrackParam.h.

References SetCovariance().

◆ SetC32()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC32 ( T val)
inlineinherited

Definition at line 382 of file KfTrackParam.h.

References SetCovariance().

◆ SetC33()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC33 ( T val)
inlineinherited

Definition at line 383 of file KfTrackParam.h.

References SetCovariance().

Referenced by ResetErrors().

◆ SetC40()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC40 ( T val)
inlineinherited

Definition at line 384 of file KfTrackParam.h.

References SetCovariance().

◆ SetC41()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC41 ( T val)
inlineinherited

Definition at line 385 of file KfTrackParam.h.

References SetCovariance().

◆ SetC42()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC42 ( T val)
inlineinherited

Definition at line 386 of file KfTrackParam.h.

References SetCovariance().

◆ SetC43()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC43 ( T val)
inlineinherited

Definition at line 387 of file KfTrackParam.h.

References SetCovariance().

◆ SetC44()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC44 ( T val)
inlineinherited

Definition at line 388 of file KfTrackParam.h.

References SetCovariance().

Referenced by ResetErrors().

◆ SetC50()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC50 ( T val)
inlineinherited

Definition at line 389 of file KfTrackParam.h.

References SetCovariance().

◆ SetC51()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC51 ( T val)
inlineinherited

Definition at line 390 of file KfTrackParam.h.

References SetCovariance().

◆ SetC52()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC52 ( T val)
inlineinherited

Definition at line 391 of file KfTrackParam.h.

References SetCovariance().

◆ SetC53()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC53 ( T val)
inlineinherited

Definition at line 392 of file KfTrackParam.h.

References SetCovariance().

◆ SetC54()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC54 ( T val)
inlineinherited

Definition at line 393 of file KfTrackParam.h.

References SetCovariance().

◆ SetC55()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC55 ( T val)
inlineinherited

Definition at line 394 of file KfTrackParam.h.

References SetCovariance().

Referenced by ResetErrors().

◆ SetC60()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC60 ( T val)
inlineinherited

Definition at line 395 of file KfTrackParam.h.

References SetCovariance().

◆ SetC61()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC61 ( T val)
inlineinherited

Definition at line 396 of file KfTrackParam.h.

References SetCovariance().

◆ SetC62()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC62 ( T val)
inlineinherited

Definition at line 397 of file KfTrackParam.h.

References SetCovariance().

◆ SetC63()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC63 ( T val)
inlineinherited

Definition at line 398 of file KfTrackParam.h.

References SetCovariance().

◆ SetC64()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC64 ( T val)
inlineinherited

Definition at line 399 of file KfTrackParam.h.

References SetCovariance().

◆ SetC65()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC65 ( T val)
inlineinherited

Definition at line 400 of file KfTrackParam.h.

References SetCovariance().

◆ SetC66()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetC66 ( T val)
inlineinherited

Definition at line 401 of file KfTrackParam.h.

References SetCovariance().

Referenced by InitVelocityRange(), and ResetErrors().

◆ SetChiSq()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetChiSq ( T v)
inlineinherited

Sets Chi-square of track fit model.

Definition at line 337 of file KfTrackParam.h.

References fChiSq, and v.

Referenced by ResetErrors(), and CbmKfTrackFitter< FlagFitTime >::Smooth().

◆ SetChiSqTime()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetChiSqTime ( T v)
inlineinherited

Sets Chi-square of time measurements.

Definition at line 343 of file KfTrackParam.h.

References fChiSqTime, and v.

Referenced by ResetErrors(), and CbmKfTrackFitter< FlagFitTime >::Smooth().

◆ SetCovariance() [1/2]

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetCovariance ( int i,
int j,
T val )
inlineinherited

Get covariance matrix element.

Parameters
irow
jcolumn
valcovariance matrix element

Definition at line 355 of file KfTrackParam.h.

References fCovMatrix.

Referenced by SetC00(), SetC10(), SetC11(), SetC20(), SetC21(), SetC22(), SetC30(), SetC31(), SetC32(), SetC33(), SetC40(), SetC41(), SetC42(), SetC43(), SetC44(), SetC50(), SetC51(), SetC52(), SetC53(), SetC54(), SetC55(), SetC60(), SetC61(), SetC62(), SetC63(), SetC64(), SetC65(), and SetC66().

◆ SetCovariance() [2/2]

template<typename T>
template<int i, int j>
void cbm::algo::kf::TrackParamBase< T >::SetCovariance ( T val)
inlineinherited

Get covariance matrix element when indices are known at compile time.

Parameters
irow
jcolumn
valmatrix element

Definition at line 366 of file KfTrackParam.h.

References fCovMatrix.

◆ SetCovMatrix()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetCovMatrix ( const CovMatrix_t & val)
inlineinherited

Sets covariance matrix.

Definition at line 349 of file KfTrackParam.h.

References fCovMatrix.

◆ SetNdf()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetNdf ( T v)
inlineinherited

Sets NDF of track fit model.

Definition at line 340 of file KfTrackParam.h.

References fNdf, and v.

Referenced by ResetErrors(), and CbmKfTrackFitter< FlagFitTime >::Smooth().

◆ SetNdfTime()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetNdfTime ( T v)
inlineinherited

Sets NDF of time measurements.

Definition at line 346 of file KfTrackParam.h.

References fNdfTime, and v.

Referenced by ResetErrors(), and CbmKfTrackFitter< FlagFitTime >::Smooth().

◆ SetOneEntry() [1/2]

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetOneEntry ( const int ia,
const TrackParamBase< fvec > & Tb,
const int ib )
inlineinherited

Set one SIMD entry from one SIMD entry of the other class It only works when T is fvec, TdataB is fvec

Definition at line 79 of file KfTrackParam.h.

References CopyBase(), and TrackParamBase().

◆ SetOneEntry() [2/2]

template<typename T>
template<typename T1>
void cbm::algo::kf::TrackParamBase< T >::SetOneEntry ( const int ia,
const TrackParamBase< T1 > & Tb )
inlineinherited

Set one SIMD entry from one SIMD entry of the other class It only works when T is fvec, TdataB is scalar

Definition at line 72 of file KfTrackParam.h.

References CopyBase(), and TrackParamBase().

◆ SetQp()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetQp ( T v)
inlineinherited

Sets charge over momentum [ec/GeV].

Definition at line 328 of file KfTrackParam.h.

References fQp, and v.

◆ SetTime()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetTime ( T v)
inlineinherited

Sets time [ns].

Definition at line 331 of file KfTrackParam.h.

References fT, and v.

◆ SetTx()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetTx ( T v)
inlineinherited

Sets slope along x-axis.

Definition at line 322 of file KfTrackParam.h.

References fTx, and v.

◆ SetTy()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetTy ( T v)
inlineinherited

Sets slope along y-axis.

Definition at line 325 of file KfTrackParam.h.

References fTy, and v.

◆ SetVi()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetVi ( T v)
inlineinherited

Sets inverse velocity [ns/cm].

Definition at line 334 of file KfTrackParam.h.

References fVi, and v.

Referenced by InitVelocityRange().

◆ SetX()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetX ( T v)
inlineinherited

Sets x position [cm].

Definition at line 316 of file KfTrackParam.h.

References fX, and v.

◆ SetY()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetY ( T v)
inlineinherited

Sets y position [cm].

Definition at line 319 of file KfTrackParam.h.

References fY, and v.

◆ SetZ()

template<typename T>
void cbm::algo::kf::TrackParamBase< T >::SetZ ( T v)
inlineinherited

Sets z position [cm].


Parameter setters

Definition at line 313 of file KfTrackParam.h.

References fZ, and v.

◆ Time() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::Time ( )
inlineinherited

Reference to time [ns].

Definition at line 427 of file KfTrackParam.h.

References fT.

◆ Time() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::Time ( ) const
inlineinherited

◆ ToString()

template<typename DataT>
std::string cbm::algo::kf::TrackParamBase< DataT >::ToString ( int i = -1) const
inherited

Prints parameters to a string.

Parameters
iIndex of SIMD vector element (when i== -1, the entire vector is printed)

Definition at line 15 of file KfTrackParam.cxx.

References C00(), C11(), C22(), C33(), C44(), C55(), C66(), fChiSq, fNdf, GetQp(), GetTime(), GetTx(), GetTy(), GetVi(), GetX(), GetY(), GetZ(), and ToStringCorrelations().

◆ ToStringCorrelations()

template<typename DataT>
std::string cbm::algo::kf::TrackParamBase< DataT >::ToStringCorrelations ( int i = -1) const
inherited

Prints correlations to a string.

Parameters
iIndex of SIMD vector element (when i== -1, the entire vector is printed)

Definition at line 76 of file KfTrackParam.cxx.

References C00(), C10(), C11(), C20(), C21(), C22(), C30(), C31(), C32(), C33(), C40(), C41(), C42(), C43(), C44(), C50(), C51(), C52(), C53(), C54(), C55(), C60(), C61(), C62(), C63(), C64(), C65(), C66(), and sqrt().

Referenced by ToString().

◆ Tx() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::Tx ( )
inlineinherited

Reference to slope along x-axis.

Definition at line 418 of file KfTrackParam.h.

References fTx.

◆ Tx() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::Tx ( ) const
inlineinherited

Gets slope along x-axis.

Definition at line 98 of file KfTrackParam.h.

References fTx.

Referenced by cbm::kf::ConvertTrackParam(), cbm::ca::TrackFitQa::Fill(), CbmL1::IdealTrackFinder(), and CbmKfTrackFitter< FlagFitTime >::Smooth().

◆ Ty() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::Ty ( )
inlineinherited

Reference to slope along y-axis.

Definition at line 421 of file KfTrackParam.h.

References fTy.

◆ Ty() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::Ty ( ) const
inlineinherited

Gets slope along y-axis.

Definition at line 101 of file KfTrackParam.h.

References fTy.

Referenced by cbm::kf::ConvertTrackParam(), cbm::ca::TrackFitQa::Fill(), CbmL1::IdealTrackFinder(), and CbmKfTrackFitter< FlagFitTime >::Smooth().

◆ Vi() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::Vi ( )
inlineinherited

Reference to inverse velocity [ns/cm].

Definition at line 430 of file KfTrackParam.h.

References fVi.

◆ Vi() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::Vi ( ) const
inlineinherited

Gets inverse velocity [ns/cm].

Definition at line 110 of file KfTrackParam.h.

References fVi.

Referenced by cbm::kf::ConvertTrackParam(), and CbmKfTrackFitter< FlagFitTime >::Smooth().

◆ X() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::X ( )
inlineinherited

Reference to x position [cm].

Definition at line 412 of file KfTrackParam.h.

References fX.

◆ X() [2/2]

◆ Y() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::Y ( )
inlineinherited

Reference to y position [cm].

Definition at line 415 of file KfTrackParam.h.

References fY.

◆ Y() [2/2]

◆ Z() [1/2]

template<typename T>
T & cbm::algo::kf::TrackParamBase< T >::Z ( )
inlineinherited

Reference to z position [cm].


References to parameters to ease the math formulae They are especially useful for masked SIMD operations like: X()( mask ) = fvec(1.);

Definition at line 409 of file KfTrackParam.h.

References fZ.

◆ Z() [2/2]

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::Z ( ) const
inlineinherited

Gets z position [cm].


Getters without 'Get' prefix to ease the math formulae

Definition at line 89 of file KfTrackParam.h.

References fZ.

Referenced by cbm::kf::ConvertTrackParam(), CbmL1::IdealTrackFinder(), and cbm::algo::evbuild::V0Trigger::Select().

Member Data Documentation

◆ fChiSq

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fChiSq {0.}
privateinherited

chi^2 of track fit, spatial measurements

Definition at line 617 of file KfTrackParam.h.

Referenced by ChiSq(), ChiSq(), GetChiSq(), IsEntryConsistent(), IsFinite(), serialize(), SetChiSq(), and ToString().

◆ fChiSqTime

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fChiSqTime {0.}
privateinherited

chi^2 of track fit, time measurements

Definition at line 619 of file KfTrackParam.h.

Referenced by ChiSqTime(), ChiSqTime(), GetChiSqTime(), IsEntryConsistent(), IsFinite(), serialize(), and SetChiSqTime().

◆ fCovMatrix

template<typename T>
CovMatrix_t cbm::algo::kf::TrackParamBase< T >::fCovMatrix
privateinherited
Initial value:
{1.,
0., 1.,
0., 0., 1.,
0., 0., 0., 1.,
0., 0., 0., 0., 1.,
0., 0., 0., 0., 0., 1.,
0., 0., 0., 0., 0., 0., 1.}

covariance matrix


Class members

Definition at line 599 of file KfTrackParam.h.

Referenced by C(), C(), C(), C(), CovMatrix(), GetCovMatrix(), ResetErrors(), serialize(), SetCovariance(), SetCovariance(), and SetCovMatrix().

◆ fNdf

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fNdf {0.}
privateinherited

NDF of track fit, spatial measurements.

Definition at line 618 of file KfTrackParam.h.

Referenced by GetNdf(), IsEntryConsistent(), IsFinite(), Ndf(), Ndf(), serialize(), SetNdf(), and ToString().

◆ fNdfTime

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fNdfTime {0.}
privateinherited

NDF of track fit, time measurements.

Definition at line 620 of file KfTrackParam.h.

Referenced by GetNdfTime(), IsEntryConsistent(), IsFinite(), NdfTime(), NdfTime(), serialize(), and SetNdfTime().

◆ fQp

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fQp {0.}
privateinherited

charge over momentum [ec/GeV]

Definition at line 613 of file KfTrackParam.h.

Referenced by GetQp(), IsEntryConsistent(), IsFinite(), Qp(), Qp(), serialize(), and SetQp().

◆ fT

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fT {0.}
privateinherited

time [ns]

Definition at line 614 of file KfTrackParam.h.

Referenced by GetTime(), IsEntryConsistent(), IsFinite(), serialize(), SetTime(), Time(), and Time().

◆ fTx

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fTx {0.}
privateinherited

slope along x-axis

Definition at line 611 of file KfTrackParam.h.

Referenced by GetTx(), IsEntryConsistent(), IsFinite(), serialize(), SetTx(), Tx(), and Tx().

◆ fTy

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fTy {0.}
privateinherited

slope along y-axis

Definition at line 612 of file KfTrackParam.h.

Referenced by GetTy(), IsEntryConsistent(), IsFinite(), serialize(), SetTy(), Ty(), and Ty().

◆ fVi

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fVi {0.}
privateinherited

inverse velocity in downstream direction [ns/cm]

Definition at line 615 of file KfTrackParam.h.

Referenced by GetVi(), IsEntryConsistent(), IsFinite(), serialize(), SetVi(), Vi(), and Vi().

◆ fX

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fX {0.}
privateinherited

x-position [cm]

Definition at line 608 of file KfTrackParam.h.

Referenced by GetX(), IsEntryConsistent(), IsFinite(), serialize(), SetX(), X(), and X().

◆ fY

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fY {0.}
privateinherited

y-position [cm]

Definition at line 609 of file KfTrackParam.h.

Referenced by GetY(), IsEntryConsistent(), IsFinite(), serialize(), SetY(), Y(), and Y().

◆ fZ

template<typename T>
T cbm::algo::kf::TrackParamBase< T >::fZ {0.}
privateinherited

z-position [cm]

Definition at line 610 of file KfTrackParam.h.

Referenced by GetZ(), IsEntryConsistent(), IsFinite(), serialize(), SetZ(), Z(), and Z().

◆ kNcovParam

template<typename T>
int cbm::algo::kf::TrackParamBase< T >::kNcovParam {(kNtrackParam) * (kNtrackParam + 1) / 2}
staticconstexprinherited

N of covariance matrix parameters.

Definition at line 44 of file KfTrackParam.h.

◆ kNtrackParam

template<typename T>
int cbm::algo::kf::TrackParamBase< T >::kNtrackParam {7}
staticconstexprinherited

N of variable track parameters: {x, y, tx, ty, q/p, t, vi}.

Definition at line 43 of file KfTrackParam.h.

Referenced by IsFinite().


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