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

GetEta () const
 Gets pseudo-rapidity.
 
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

Member Typedef Documentation

◆ CovMatrix_t

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

covariance matrix type

Definition at line 41 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 457 of file KfTrackParam.h.

◆ 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 134 of file KfTrackParam.h.

◆ 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 446 of file KfTrackParam.h.

◆ 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 123 of file KfTrackParam.h.

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

◆ 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.

◆ C00() [2/2]

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

◆ C01() [1/2]

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

Definition at line 466 of file KfTrackParam.h.

◆ C01() [2/2]

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

Definition at line 144 of file KfTrackParam.h.

◆ C02() [1/2]

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

Definition at line 467 of file KfTrackParam.h.

◆ C02() [2/2]

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

Definition at line 145 of file KfTrackParam.h.

◆ C03() [1/2]

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

Definition at line 468 of file KfTrackParam.h.

◆ C03() [2/2]

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

Definition at line 146 of file KfTrackParam.h.

◆ C04() [1/2]

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

Definition at line 469 of file KfTrackParam.h.

◆ C04() [2/2]

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

Definition at line 147 of file KfTrackParam.h.

◆ C05() [1/2]

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

Definition at line 470 of file KfTrackParam.h.

◆ C05() [2/2]

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

Definition at line 148 of file KfTrackParam.h.

◆ C06() [1/2]

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

Definition at line 471 of file KfTrackParam.h.

◆ C06() [2/2]

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

Definition at line 149 of file KfTrackParam.h.

◆ C10() [1/2]

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

Definition at line 473 of file KfTrackParam.h.

◆ C10() [2/2]

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

Definition at line 151 of file KfTrackParam.h.

Referenced by FilterFirst(), and cbm::algo::ca::TrackFitter::FitCaTracks().

◆ C11() [1/2]

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

Definition at line 474 of file KfTrackParam.h.

◆ C11() [2/2]

◆ C12() [1/2]

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

Definition at line 475 of file KfTrackParam.h.

◆ C12() [2/2]

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

Definition at line 153 of file KfTrackParam.h.

◆ C13() [1/2]

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

Definition at line 476 of file KfTrackParam.h.

◆ C13() [2/2]

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

Definition at line 154 of file KfTrackParam.h.

◆ C14() [1/2]

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

Definition at line 477 of file KfTrackParam.h.

◆ C14() [2/2]

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

Definition at line 155 of file KfTrackParam.h.

◆ C15() [1/2]

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

Definition at line 478 of file KfTrackParam.h.

◆ C15() [2/2]

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

Definition at line 156 of file KfTrackParam.h.

◆ C16() [1/2]

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

Definition at line 479 of file KfTrackParam.h.

◆ C16() [2/2]

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

Definition at line 157 of file KfTrackParam.h.

◆ C20() [1/2]

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

Definition at line 481 of file KfTrackParam.h.

◆ C20() [2/2]

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

Definition at line 159 of file KfTrackParam.h.

◆ C21() [1/2]

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

Definition at line 482 of file KfTrackParam.h.

◆ C21() [2/2]

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

Definition at line 160 of file KfTrackParam.h.

◆ C22() [1/2]

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

Definition at line 483 of file KfTrackParam.h.

◆ C22() [2/2]

◆ C23() [1/2]

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

Definition at line 484 of file KfTrackParam.h.

◆ C23() [2/2]

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

Definition at line 162 of file KfTrackParam.h.

◆ C24() [1/2]

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

Definition at line 485 of file KfTrackParam.h.

◆ C24() [2/2]

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

Definition at line 163 of file KfTrackParam.h.

◆ C25() [1/2]

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

Definition at line 486 of file KfTrackParam.h.

◆ C25() [2/2]

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

Definition at line 164 of file KfTrackParam.h.

◆ C26() [1/2]

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

Definition at line 487 of file KfTrackParam.h.

◆ C26() [2/2]

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

Definition at line 165 of file KfTrackParam.h.

◆ C30() [1/2]

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

Definition at line 489 of file KfTrackParam.h.

◆ C30() [2/2]

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

Definition at line 167 of file KfTrackParam.h.

◆ C31() [1/2]

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

Definition at line 490 of file KfTrackParam.h.

◆ C31() [2/2]

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

Definition at line 168 of file KfTrackParam.h.

◆ C32() [1/2]

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

Definition at line 491 of file KfTrackParam.h.

◆ C32() [2/2]

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

Definition at line 169 of file KfTrackParam.h.

◆ C33() [1/2]

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

Definition at line 492 of file KfTrackParam.h.

◆ C33() [2/2]

◆ C34() [1/2]

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

Definition at line 493 of file KfTrackParam.h.

◆ C34() [2/2]

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

Definition at line 171 of file KfTrackParam.h.

◆ C35() [1/2]

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

Definition at line 494 of file KfTrackParam.h.

◆ C35() [2/2]

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

Definition at line 172 of file KfTrackParam.h.

◆ C36() [1/2]

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

Definition at line 495 of file KfTrackParam.h.

◆ C36() [2/2]

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

Definition at line 173 of file KfTrackParam.h.

◆ C40() [1/2]

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

Definition at line 497 of file KfTrackParam.h.

◆ C40() [2/2]

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

Definition at line 175 of file KfTrackParam.h.

◆ C41() [1/2]

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

Definition at line 498 of file KfTrackParam.h.

◆ C41() [2/2]

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

Definition at line 176 of file KfTrackParam.h.

◆ C42() [1/2]

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

Definition at line 499 of file KfTrackParam.h.

◆ C42() [2/2]

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

Definition at line 177 of file KfTrackParam.h.

◆ C43() [1/2]

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

Definition at line 500 of file KfTrackParam.h.

◆ C43() [2/2]

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

Definition at line 178 of file KfTrackParam.h.

◆ C44() [1/2]

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

Definition at line 501 of file KfTrackParam.h.

◆ C44() [2/2]

◆ C45() [1/2]

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

Definition at line 502 of file KfTrackParam.h.

◆ C45() [2/2]

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

Definition at line 180 of file KfTrackParam.h.

◆ C46() [1/2]

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

Definition at line 503 of file KfTrackParam.h.

◆ C46() [2/2]

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

Definition at line 181 of file KfTrackParam.h.

◆ C50() [1/2]

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

Definition at line 505 of file KfTrackParam.h.

◆ C50() [2/2]

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

Definition at line 183 of file KfTrackParam.h.

◆ C51() [1/2]

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

Definition at line 506 of file KfTrackParam.h.

◆ C51() [2/2]

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

Definition at line 184 of file KfTrackParam.h.

◆ C52() [1/2]

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

Definition at line 507 of file KfTrackParam.h.

◆ C52() [2/2]

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

Definition at line 185 of file KfTrackParam.h.

◆ C53() [1/2]

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

Definition at line 508 of file KfTrackParam.h.

◆ C53() [2/2]

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

Definition at line 186 of file KfTrackParam.h.

◆ C54() [1/2]

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

Definition at line 509 of file KfTrackParam.h.

◆ C54() [2/2]

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

Definition at line 187 of file KfTrackParam.h.

◆ C55() [1/2]

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

Definition at line 510 of file KfTrackParam.h.

◆ C55() [2/2]

◆ C56() [1/2]

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

Definition at line 511 of file KfTrackParam.h.

◆ C56() [2/2]

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

Definition at line 189 of file KfTrackParam.h.

◆ C60() [1/2]

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

Definition at line 513 of file KfTrackParam.h.

◆ C60() [2/2]

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

Definition at line 191 of file KfTrackParam.h.

◆ C61() [1/2]

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

Definition at line 514 of file KfTrackParam.h.

◆ C61() [2/2]

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

Definition at line 192 of file KfTrackParam.h.

◆ C62() [1/2]

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

Definition at line 515 of file KfTrackParam.h.

◆ C62() [2/2]

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

Definition at line 193 of file KfTrackParam.h.

◆ C63() [1/2]

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

Definition at line 516 of file KfTrackParam.h.

◆ C63() [2/2]

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

Definition at line 194 of file KfTrackParam.h.

◆ C64() [1/2]

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

Definition at line 517 of file KfTrackParam.h.

◆ C64() [2/2]

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

Definition at line 195 of file KfTrackParam.h.

◆ C65() [1/2]

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

Definition at line 518 of file KfTrackParam.h.

◆ C65() [2/2]

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

Definition at line 196 of file KfTrackParam.h.

◆ C66() [1/2]

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

Definition at line 519 of file KfTrackParam.h.

◆ C66() [2/2]

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

◆ 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 431 of file KfTrackParam.h.

◆ 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 108 of file KfTrackParam.h.

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 437 of file KfTrackParam.h.

◆ ChiSqTime() [2/2]

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

Gets Chi-square of time measurements.

Definition at line 114 of file KfTrackParam.h.

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

◆ 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

◆ CopyBase() [2/2]

◆ CovMatrix()

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

Reference to covariance matrix.

Definition at line 428 of file KfTrackParam.h.

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

◆ GetCharge()

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

Gets charge.

Definition at line 270 of file KfTrackParam.h.

◆ GetChiSq()

◆ GetChiSqTime()

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

◆ 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 255 of file KfTrackParam.h.

Referenced by CbmBbaAlignmentTask::Exec(), CbmBbaAlignmentTask::Finish(), 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 249 of file KfTrackParam.h.

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

◆ GetEta()

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

Gets pseudo-rapidity.

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

Definition at line 636 of file KfTrackParam.h.

References log().

◆ GetNdf()

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

◆ GetNdfTime()

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

Gets NDF of time measurements.

Definition at line 267 of file KfTrackParam.h.

Referenced by cbm::algo::kf::TrackParamBase< T >::CopyBase(), and CbmKfTrackFitter::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 285 of file KfTrackParam.h.

Referenced by CbmL1::HistoPerformance().

◆ GetPhi()

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

Gets azimuthal angle [rad].

Definition at line 273 of file KfTrackParam.h.

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 671 of file KfTrackParam.h.

References sqrt().

◆ GetPt()

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

Gets transverse momentum.

Definition at line 297 of file KfTrackParam.h.

References 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 291 of file KfTrackParam.h.

◆ GetPy()

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

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

Definition at line 294 of file KfTrackParam.h.

◆ GetPz()

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

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

Definition at line 288 of file KfTrackParam.h.

References sqrt().

◆ 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 234 of file KfTrackParam.h.

References 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 279 of file KfTrackParam.h.

References sqrt().

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

◆ GetThetaError()

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

Gets polar angle error [rad].


Definition at line 691 of file KfTrackParam.h.

References sqrt().

◆ GetTime()

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

◆ GetTimeError()

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

Gets time error [ns].

Definition at line 240 of file KfTrackParam.h.

References 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 222 of file KfTrackParam.h.

References 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 228 of file KfTrackParam.h.

References 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 243 of file KfTrackParam.h.

Referenced by cbm::algo::kf::TrackParamBase< T >::CopyBase(), cbm::ca::TrackFitQa::Fill(), CbmL1::FillFitHistos(), and CbmL1::TrackFitPerformance().

◆ GetViError()

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

Gets inverse velocity error [ns/cm].

Definition at line 246 of file KfTrackParam.h.

References 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 210 of file KfTrackParam.h.

References 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 216 of file KfTrackParam.h.

References 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 765 of file KfTrackParam.h.

References sqrt().

Referenced by cbm::algo::ca::TrackFitter::FitCaTracks().

◆ 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 size(), and cbm::algo::ToString().

◆ 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 cbm::algo::kf::GetEntry(), sqrt(), and cbm::algo::ToString().

◆ 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 cbm::algo::kf::utils::IsFinite().

◆ Ndf() [1/2]

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

Reference to NDF of track fit model.

Definition at line 434 of file KfTrackParam.h.

◆ Ndf() [2/2]

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

◆ NdfTime() [1/2]

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

Reference to NDF of time measurements.

Definition at line 440 of file KfTrackParam.h.

◆ NdfTime() [2/2]

◆ Qp() [1/2]

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

Reference to charge over momentum [ec/GeV].

Definition at line 419 of file KfTrackParam.h.

◆ Qp() [2/2]

◆ 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 744 of file KfTrackParam.h.

Referenced by FilterFirst(), CbmKfTrackFitter::FilterFirstMeasurement(), and cbm::algo::ca::TrackFitter::FitCaTracks().

◆ 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.

◆ 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 62 of file KfTrackParam.h.

◆ 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 55 of file KfTrackParam.h.

Referenced by cbm::algo::ca::CloneMerger::Exec(), CbmKfFitTracksTask::Exec(), CbmL1::Reconstruct(), and cbm::algo::kf::TrackKalmanFilter< DataT >::SetTrack().

◆ SetC00()

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

Individual setters for covariance matrix elements.

Definition at line 369 of file KfTrackParam.h.

◆ SetC10()

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

Definition at line 370 of file KfTrackParam.h.

◆ SetC11()

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

Definition at line 371 of file KfTrackParam.h.

◆ SetC20()

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

Definition at line 372 of file KfTrackParam.h.

◆ SetC21()

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

Definition at line 373 of file KfTrackParam.h.

◆ SetC22()

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

Definition at line 374 of file KfTrackParam.h.

◆ SetC30()

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

Definition at line 375 of file KfTrackParam.h.

◆ SetC31()

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

Definition at line 376 of file KfTrackParam.h.

◆ SetC32()

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

Definition at line 377 of file KfTrackParam.h.

◆ SetC33()

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

Definition at line 378 of file KfTrackParam.h.

◆ SetC40()

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

Definition at line 379 of file KfTrackParam.h.

◆ SetC41()

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

Definition at line 380 of file KfTrackParam.h.

◆ SetC42()

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

Definition at line 381 of file KfTrackParam.h.

◆ SetC43()

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

Definition at line 382 of file KfTrackParam.h.

◆ SetC44()

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

Definition at line 383 of file KfTrackParam.h.

◆ SetC50()

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

Definition at line 384 of file KfTrackParam.h.

◆ SetC51()

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

Definition at line 385 of file KfTrackParam.h.

◆ SetC52()

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

Definition at line 386 of file KfTrackParam.h.

◆ SetC53()

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

Definition at line 387 of file KfTrackParam.h.

◆ SetC54()

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

Definition at line 388 of file KfTrackParam.h.

◆ SetC55()

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

Definition at line 389 of file KfTrackParam.h.

◆ SetC60()

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

Definition at line 390 of file KfTrackParam.h.

◆ SetC61()

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

Definition at line 391 of file KfTrackParam.h.

◆ SetC62()

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

Definition at line 392 of file KfTrackParam.h.

◆ SetC63()

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

Definition at line 393 of file KfTrackParam.h.

◆ SetC64()

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

Definition at line 394 of file KfTrackParam.h.

◆ SetC65()

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

Definition at line 395 of file KfTrackParam.h.

◆ SetC66()

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

Definition at line 396 of file KfTrackParam.h.

◆ SetChiSq()

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

Sets Chi-square of track fit model.

Definition at line 332 of file KfTrackParam.h.

References v.

Referenced by CbmKfTrackFitter::FitTrajectory(), and CbmKfTrackFitter::Smooth().

◆ SetChiSqTime()

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

Sets Chi-square of time measurements.

Definition at line 338 of file KfTrackParam.h.

References v.

Referenced by CbmKfTrackFitter::FitTrajectory(), and CbmKfTrackFitter::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 350 of file KfTrackParam.h.

◆ 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 361 of file KfTrackParam.h.

◆ SetCovMatrix()

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

Sets covariance matrix.

Definition at line 344 of file KfTrackParam.h.

◆ SetNdf()

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

Sets NDF of track fit model.

Definition at line 335 of file KfTrackParam.h.

References v.

Referenced by CbmKfTrackFitter::FitTrajectory(), and CbmKfTrackFitter::Smooth().

◆ SetNdfTime()

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

Sets NDF of time measurements.

Definition at line 341 of file KfTrackParam.h.

References v.

Referenced by CbmKfTrackFitter::FitTrajectory(), and CbmKfTrackFitter::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 74 of file KfTrackParam.h.

◆ 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 67 of file KfTrackParam.h.

◆ SetQp()

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

Sets charge over momentum [ec/GeV].

Definition at line 323 of file KfTrackParam.h.

References v.

◆ SetTime()

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

Sets time [ns].

Definition at line 326 of file KfTrackParam.h.

References v.

◆ SetTx()

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

Sets slope along x-axis.

Definition at line 317 of file KfTrackParam.h.

References v.

◆ SetTy()

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

Sets slope along y-axis.

Definition at line 320 of file KfTrackParam.h.

References v.

◆ SetVi()

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

Sets inverse velocity [ns/cm].

Definition at line 329 of file KfTrackParam.h.

References v.

◆ SetX()

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

Sets x position [cm].

Definition at line 311 of file KfTrackParam.h.

References v.

Referenced by CbmBbaAlignmentTask::ApplyAlignment().

◆ SetY()

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

Sets y position [cm].

Definition at line 314 of file KfTrackParam.h.

References v.

◆ SetZ()

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

Sets z position [cm].


Parameter setters

Definition at line 308 of file KfTrackParam.h.

References v.

◆ Time() [1/2]

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

Reference to time [ns].

Definition at line 422 of file KfTrackParam.h.

◆ Time() [2/2]

◆ 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.

Referenced by CbmL1::EfficienciesPerformance(), and cbm::algo::ca::TripletConstructor::FindTripletHits().

◆ 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 sqrt().

◆ Tx() [1/2]

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

Reference to slope along x-axis.

Definition at line 413 of file KfTrackParam.h.

◆ Tx() [2/2]

◆ Ty() [1/2]

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

Reference to slope along y-axis.

Definition at line 416 of file KfTrackParam.h.

◆ Ty() [2/2]

◆ Vi() [1/2]

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

Reference to inverse velocity [ns/cm].

Definition at line 425 of file KfTrackParam.h.

◆ Vi() [2/2]

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

◆ X() [1/2]

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

Reference to x position [cm].

Definition at line 407 of file KfTrackParam.h.

◆ 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 410 of file KfTrackParam.h.

◆ 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 404 of file KfTrackParam.h.

◆ 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 84 of file KfTrackParam.h.

Referenced by cbm::kf::ConvertTrackParam(), cbm::algo::ca::CloneMerger::Exec(), cbm::algo::ca::TripletConstructor::FindDoublets(), 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ fT

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

time [ns]

Definition at line 614 of file KfTrackParam.h.

◆ 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.

◆ 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.

◆ 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.

◆ fX

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

x-position [cm]

Definition at line 608 of file KfTrackParam.h.

◆ fY

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

y-position [cm]

Definition at line 609 of file KfTrackParam.h.

◆ fZ

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

z-position [cm]

Definition at line 610 of file KfTrackParam.h.

◆ kNcovParam

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

N of covariance matrix parameters.

Definition at line 39 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 38 of file KfTrackParam.h.


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