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

It is a technical base class of kf::TrackParam. More...

#include <KfTrackParam.h>

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

Public Types

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

Public Member Functions

 TrackParamBase ()=default
 
template<typename T1 >
 TrackParamBase (const TrackParamBase< T1 > &tr)
 
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].
 
X () const
 Gets x position [cm].
 
Y () const
 Gets y position [cm].
 
Tx () const
 Gets slope along x-axis.
 
Ty () const
 Gets slope along y-axis.
 
Qp () const
 Gets charge over momentum [ec/GeV].
 
Time () const
 Gets time [ns].
 
Vi () const
 Gets inverse velocity [ns/cm].
 
ChiSq () const
 Gets Chi-square of track fit model.
 
Ndf () const
 Gets NDF of track fit model.
 
ChiSqTime () const
 Gets Chi-square of time measurements.
 
NdfTime () const
 Gets 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.
 
C00 () const
 Individual getters for covariance matrix elements.
 
C01 () const
 
C02 () const
 
C03 () const
 
C04 () const
 
C05 () const
 
C06 () const
 
C10 () const
 
C11 () const
 
C12 () const
 
C13 () const
 
C14 () const
 
C15 () const
 
C16 () const
 
C20 () const
 
C21 () const
 
C22 () const
 
C23 () const
 
C24 () const
 
C25 () const
 
C26 () const
 
C30 () const
 
C31 () const
 
C32 () const
 
C33 () const
 
C34 () const
 
C35 () const
 
C36 () const
 
C40 () const
 
C41 () const
 
C42 () const
 
C43 () const
 
C44 () const
 
C45 () const
 
C46 () const
 
C50 () const
 
C51 () const
 
C52 () const
 
C53 () const
 
C54 () const
 
C55 () const
 
C56 () const
 
C60 () const
 
C61 () const
 
C62 () const
 
C63 () const
 
C64 () const
 
C65 () const
 
C66 () const
 
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)
 
T & Z ()
 Reference to z position [cm].
 
T & X ()
 Reference to x position [cm].
 
T & Y ()
 Reference to y position [cm].
 
T & Tx ()
 Reference to slope along x-axis.
 
T & Ty ()
 Reference to slope along y-axis.
 
T & Qp ()
 Reference to charge over momentum [ec/GeV].
 
T & Time ()
 Reference to time [ns].
 
T & Vi ()
 Reference to inverse velocity [ns/cm].
 
CovMatrix_tCovMatrix ()
 Reference to covariance matrix.
 
T & ChiSq ()
 Reference to Chi-square of track fit model.
 
T & Ndf ()
 Reference to NDF of track fit model.
 
T & ChiSqTime ()
 Reference to Chi-square of time measurements.
 
T & NdfTime ()
 Reference to NDF of time measurements.
 
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.
 
T & C00 ()
 Individual references to covariance matrix elements.
 
T & C01 ()
 
T & C02 ()
 
T & C03 ()
 
T & C04 ()
 
T & C05 ()
 
T & C06 ()
 
T & C10 ()
 
T & C11 ()
 
T & C12 ()
 
T & C13 ()
 
T & C14 ()
 
T & C15 ()
 
T & C16 ()
 
T & C20 ()
 
T & C21 ()
 
T & C22 ()
 
T & C23 ()
 
T & C24 ()
 
T & C25 ()
 
T & C26 ()
 
T & C30 ()
 
T & C31 ()
 
T & C32 ()
 
T & C33 ()
 
T & C34 ()
 
T & C35 ()
 
T & C36 ()
 
T & C40 ()
 
T & C41 ()
 
T & C42 ()
 
T & C43 ()
 
T & C44 ()
 
T & C45 ()
 
T & C46 ()
 
T & C50 ()
 
T & C51 ()
 
T & C52 ()
 
T & C53 ()
 
T & C54 ()
 
T & C55 ()
 
T & C56 ()
 
T & C60 ()
 
T & C61 ()
 
T & C62 ()
 
T & C63 ()
 
T & C64 ()
 
T & C65 ()
 
T & C66 ()
 
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.
 

Friends

class boost::serialization::access
 

Detailed Description

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

It is a technical base class of kf::TrackParam.

that represents fitted track parameters at given z

This is a template that can be instantiated for different floating point types. Track parameters: variable parameterts {x, y, tx, ty, q/p, t, vi} at fixed z Covariation matrix: low-diagopnal C[28]

Member Typedef Documentation

◆ CovMatrix_t

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

covariance matrix type

Definition at line 41 of file KfTrackParam.h.

Constructor & Destructor Documentation

◆ TrackParamBase() [1/2]

template<typename T >
cbm::algo::kf::TrackParamBase< T >::TrackParamBase ( )
default

◆ TrackParamBase() [2/2]

template<typename T >
template<typename T1 >
cbm::algo::kf::TrackParamBase< T >::TrackParamBase ( const TrackParamBase< T1 > & tr)
inline

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 ( )
inline

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
inline

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 )
inline

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
inline

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 ( )
inline

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
inline

◆ C01() [1/2]

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

Definition at line 466 of file KfTrackParam.h.

◆ C01() [2/2]

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

Definition at line 144 of file KfTrackParam.h.

◆ C02() [1/2]

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

Definition at line 467 of file KfTrackParam.h.

◆ C02() [2/2]

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

Definition at line 145 of file KfTrackParam.h.

◆ C03() [1/2]

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

Definition at line 468 of file KfTrackParam.h.

◆ C03() [2/2]

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

Definition at line 146 of file KfTrackParam.h.

◆ C04() [1/2]

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

Definition at line 469 of file KfTrackParam.h.

◆ C04() [2/2]

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

Definition at line 147 of file KfTrackParam.h.

◆ C05() [1/2]

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

Definition at line 470 of file KfTrackParam.h.

◆ C05() [2/2]

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

Definition at line 148 of file KfTrackParam.h.

◆ C06() [1/2]

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

Definition at line 471 of file KfTrackParam.h.

◆ C06() [2/2]

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

Definition at line 149 of file KfTrackParam.h.

◆ C10() [1/2]

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

Definition at line 473 of file KfTrackParam.h.

◆ C10() [2/2]

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

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 ( )
inline

Definition at line 474 of file KfTrackParam.h.

◆ C11() [2/2]

◆ C12() [1/2]

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

Definition at line 475 of file KfTrackParam.h.

◆ C12() [2/2]

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

Definition at line 153 of file KfTrackParam.h.

◆ C13() [1/2]

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

Definition at line 476 of file KfTrackParam.h.

◆ C13() [2/2]

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

Definition at line 154 of file KfTrackParam.h.

◆ C14() [1/2]

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

Definition at line 477 of file KfTrackParam.h.

◆ C14() [2/2]

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

Definition at line 155 of file KfTrackParam.h.

◆ C15() [1/2]

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

Definition at line 478 of file KfTrackParam.h.

◆ C15() [2/2]

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

Definition at line 156 of file KfTrackParam.h.

◆ C16() [1/2]

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

Definition at line 479 of file KfTrackParam.h.

◆ C16() [2/2]

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

Definition at line 157 of file KfTrackParam.h.

◆ C20() [1/2]

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

Definition at line 481 of file KfTrackParam.h.

◆ C20() [2/2]

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

Definition at line 159 of file KfTrackParam.h.

◆ C21() [1/2]

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

Definition at line 482 of file KfTrackParam.h.

◆ C21() [2/2]

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

Definition at line 160 of file KfTrackParam.h.

◆ C22() [1/2]

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

Definition at line 483 of file KfTrackParam.h.

◆ C22() [2/2]

◆ C23() [1/2]

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

Definition at line 484 of file KfTrackParam.h.

◆ C23() [2/2]

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

Definition at line 162 of file KfTrackParam.h.

◆ C24() [1/2]

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

Definition at line 485 of file KfTrackParam.h.

◆ C24() [2/2]

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

Definition at line 163 of file KfTrackParam.h.

◆ C25() [1/2]

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

Definition at line 486 of file KfTrackParam.h.

◆ C25() [2/2]

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

Definition at line 164 of file KfTrackParam.h.

◆ C26() [1/2]

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

Definition at line 487 of file KfTrackParam.h.

◆ C26() [2/2]

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

Definition at line 165 of file KfTrackParam.h.

◆ C30() [1/2]

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

Definition at line 489 of file KfTrackParam.h.

◆ C30() [2/2]

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

Definition at line 167 of file KfTrackParam.h.

◆ C31() [1/2]

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

Definition at line 490 of file KfTrackParam.h.

◆ C31() [2/2]

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

Definition at line 168 of file KfTrackParam.h.

◆ C32() [1/2]

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

Definition at line 491 of file KfTrackParam.h.

◆ C32() [2/2]

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

Definition at line 169 of file KfTrackParam.h.

◆ C33() [1/2]

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

Definition at line 492 of file KfTrackParam.h.

◆ C33() [2/2]

◆ C34() [1/2]

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

Definition at line 493 of file KfTrackParam.h.

◆ C34() [2/2]

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

Definition at line 171 of file KfTrackParam.h.

◆ C35() [1/2]

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

Definition at line 494 of file KfTrackParam.h.

◆ C35() [2/2]

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

Definition at line 172 of file KfTrackParam.h.

◆ C36() [1/2]

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

Definition at line 495 of file KfTrackParam.h.

◆ C36() [2/2]

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

Definition at line 173 of file KfTrackParam.h.

◆ C40() [1/2]

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

Definition at line 497 of file KfTrackParam.h.

◆ C40() [2/2]

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

Definition at line 175 of file KfTrackParam.h.

◆ C41() [1/2]

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

Definition at line 498 of file KfTrackParam.h.

◆ C41() [2/2]

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

Definition at line 176 of file KfTrackParam.h.

◆ C42() [1/2]

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

Definition at line 499 of file KfTrackParam.h.

◆ C42() [2/2]

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

Definition at line 177 of file KfTrackParam.h.

◆ C43() [1/2]

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

Definition at line 500 of file KfTrackParam.h.

◆ C43() [2/2]

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

Definition at line 178 of file KfTrackParam.h.

◆ C44() [1/2]

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

Definition at line 501 of file KfTrackParam.h.

◆ C44() [2/2]

◆ C45() [1/2]

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

Definition at line 502 of file KfTrackParam.h.

◆ C45() [2/2]

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

Definition at line 180 of file KfTrackParam.h.

◆ C46() [1/2]

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

Definition at line 503 of file KfTrackParam.h.

◆ C46() [2/2]

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

Definition at line 181 of file KfTrackParam.h.

◆ C50() [1/2]

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

Definition at line 505 of file KfTrackParam.h.

◆ C50() [2/2]

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

Definition at line 183 of file KfTrackParam.h.

◆ C51() [1/2]

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

Definition at line 506 of file KfTrackParam.h.

◆ C51() [2/2]

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

Definition at line 184 of file KfTrackParam.h.

◆ C52() [1/2]

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

Definition at line 507 of file KfTrackParam.h.

◆ C52() [2/2]

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

Definition at line 185 of file KfTrackParam.h.

◆ C53() [1/2]

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

Definition at line 508 of file KfTrackParam.h.

◆ C53() [2/2]

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

Definition at line 186 of file KfTrackParam.h.

◆ C54() [1/2]

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

Definition at line 509 of file KfTrackParam.h.

◆ C54() [2/2]

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

Definition at line 187 of file KfTrackParam.h.

◆ C55() [1/2]

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

Definition at line 510 of file KfTrackParam.h.

◆ C55() [2/2]

◆ C56() [1/2]

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

Definition at line 511 of file KfTrackParam.h.

◆ C56() [2/2]

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

Definition at line 189 of file KfTrackParam.h.

◆ C60() [1/2]

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

Definition at line 513 of file KfTrackParam.h.

◆ C60() [2/2]

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

Definition at line 191 of file KfTrackParam.h.

◆ C61() [1/2]

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

Definition at line 514 of file KfTrackParam.h.

◆ C61() [2/2]

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

Definition at line 192 of file KfTrackParam.h.

◆ C62() [1/2]

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

Definition at line 515 of file KfTrackParam.h.

◆ C62() [2/2]

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

Definition at line 193 of file KfTrackParam.h.

◆ C63() [1/2]

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

Definition at line 516 of file KfTrackParam.h.

◆ C63() [2/2]

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

Definition at line 194 of file KfTrackParam.h.

◆ C64() [1/2]

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

Definition at line 517 of file KfTrackParam.h.

◆ C64() [2/2]

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

Definition at line 195 of file KfTrackParam.h.

◆ C65() [1/2]

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

Definition at line 518 of file KfTrackParam.h.

◆ C65() [2/2]

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

Definition at line 196 of file KfTrackParam.h.

◆ C66() [1/2]

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

Definition at line 519 of file KfTrackParam.h.

◆ C66() [2/2]

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

◆ ChiSq() [1/2]

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

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
inline

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 ( )
inline

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
inline

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 )
private

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 ( )
inline

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
inline

Gets charge.

Definition at line 270 of file KfTrackParam.h.

◆ GetChiSq()

◆ GetChiSqTime()

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

◆ GetCovariance()

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

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
inline

Gets covariance matrix.

Definition at line 249 of file KfTrackParam.h.

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

◆ GetNdf()

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

◆ GetNdfTime()

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

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
inline

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
inline

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
inline

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
inline

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
inline

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
inline

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
inline

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
inline

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
inline

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
inline

Gets polar angle error [rad].


Definition at line 691 of file KfTrackParam.h.

References sqrt().

◆ GetTime()

◆ GetTimeError()

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

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
inline

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
inline

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
inline

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
inline

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
inline

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
inline

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)
inline

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

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

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

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 ( )
inline

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
inline

◆ NdfTime() [1/2]

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

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 ( )
inline

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 )
inline

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  )
inline

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 )
inline

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)
inline

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)
inline

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)
inline

Definition at line 370 of file KfTrackParam.h.

◆ SetC11()

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

Definition at line 371 of file KfTrackParam.h.

◆ SetC20()

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

Definition at line 372 of file KfTrackParam.h.

◆ SetC21()

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

Definition at line 373 of file KfTrackParam.h.

◆ SetC22()

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

Definition at line 374 of file KfTrackParam.h.

◆ SetC30()

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

Definition at line 375 of file KfTrackParam.h.

◆ SetC31()

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

Definition at line 376 of file KfTrackParam.h.

◆ SetC32()

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

Definition at line 377 of file KfTrackParam.h.

◆ SetC33()

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

Definition at line 378 of file KfTrackParam.h.

◆ SetC40()

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

Definition at line 379 of file KfTrackParam.h.

◆ SetC41()

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

Definition at line 380 of file KfTrackParam.h.

◆ SetC42()

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

Definition at line 381 of file KfTrackParam.h.

◆ SetC43()

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

Definition at line 382 of file KfTrackParam.h.

◆ SetC44()

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

Definition at line 383 of file KfTrackParam.h.

◆ SetC50()

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

Definition at line 384 of file KfTrackParam.h.

◆ SetC51()

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

Definition at line 385 of file KfTrackParam.h.

◆ SetC52()

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

Definition at line 386 of file KfTrackParam.h.

◆ SetC53()

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

Definition at line 387 of file KfTrackParam.h.

◆ SetC54()

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

Definition at line 388 of file KfTrackParam.h.

◆ SetC55()

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

Definition at line 389 of file KfTrackParam.h.

◆ SetC60()

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

Definition at line 390 of file KfTrackParam.h.

◆ SetC61()

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

Definition at line 391 of file KfTrackParam.h.

◆ SetC62()

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

Definition at line 392 of file KfTrackParam.h.

◆ SetC63()

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

Definition at line 393 of file KfTrackParam.h.

◆ SetC64()

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

Definition at line 394 of file KfTrackParam.h.

◆ SetC65()

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

Definition at line 395 of file KfTrackParam.h.

◆ SetC66()

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

Definition at line 396 of file KfTrackParam.h.

◆ SetChiSq()

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

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)
inline

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 )
inline

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)
inline

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)
inline

Sets covariance matrix.

Definition at line 344 of file KfTrackParam.h.

◆ SetNdf()

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

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)
inline

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 )
inline

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 )
inline

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)
inline

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)
inline

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)
inline

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)
inline

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)
inline

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)
inline

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)
inline

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)
inline

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 ( )
inline

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

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

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 ( )
inline

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 ( )
inline

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 ( )
inline

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
inline

◆ X() [1/2]

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

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 ( )
inline

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 ( )
inline

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
inline

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

Friends And Related Symbol Documentation

◆ boost::serialization::access

template<typename T >
friend class boost::serialization::access
friend

Definition at line 36 of file KfTrackParam.h.

Member Data Documentation

◆ fChiSq

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

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.}
private

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
private
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.}
private

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.}
private

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.}
private

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.}
private

time [ns]

Definition at line 614 of file KfTrackParam.h.

◆ fTx

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

slope along x-axis

Definition at line 611 of file KfTrackParam.h.

◆ fTy

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

slope along y-axis

Definition at line 612 of file KfTrackParam.h.

◆ fVi

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

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.}
private

x-position [cm]

Definition at line 608 of file KfTrackParam.h.

◆ fY

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

y-position [cm]

Definition at line 609 of file KfTrackParam.h.

◆ fZ

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

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}
staticconstexpr

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}
staticconstexpr

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 files: