CbmRoot
Loading...
Searching...
No Matches
CbmL1Track Class Reference

#include <CbmL1Track.h>

Inheritance diagram for CbmL1Track:
[legend]
Collaboration diagram for CbmL1Track:
[legend]

Public Types

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

Public Member Functions

 CbmL1Track ()=default
 
void AddMCTrackIndex (int iMT)
 Adds an index of MC track index.
 
void ClearMatchedMCTracks ()
 Clears the contents of matched MC track indexes (and pointers)
 
bool IsGhost () const
 
int GetFirstHitIndex () const
 Gets first hit index.
 
int GetLastHitIndex () const
 Gets last hit index.
 
const auto & GetHitIndexes () const
 Gets hit indexes.
 
const auto & GetMCTrackIndexes () const
 Gets a reference to MC track indexes.
 
double GetMaxPurity () const
 Gets max purity.
 
int GetMatchedMCTrackIndex () const
 Gets index of matched MC track.
 
int GetNofHits () const
 Gets number of hits of the track.
 
int GetNofMCTracks () const
 Gets number of associated MC tracks.
 
int GetNofStations () const
 Gets number of stations.
 
void SetMaxPurity (double maxPurity_)
 
double GetProb () const
 Gets probability of track fit model.
 
std::string ToString (int verbose=10, bool header=false) const
 Provides a string representation of object.
 
double GetEta () const
 Gets pseudo-rapidity.
 
void Set (const TrackParamBase< T1 > &Tb)
 
void Set (const TrackParamBase< fvec > &Tb, const int ib)
 
void SetOneEntry (const int ia, const TrackParamBase< T1 > &Tb)
 
void SetOneEntry (const int ia, const TrackParamBase< fvec > &Tb, const int ib)
 
double Z () const
 Gets z position [cm].
 
double & Z ()
 Reference to z position [cm].
 
double X () const
 Gets x position [cm].
 
double & X ()
 Reference to x position [cm].
 
double Y () const
 Gets y position [cm].
 
double & Y ()
 Reference to y position [cm].
 
double Tx () const
 Gets slope along x-axis.
 
double & Tx ()
 Reference to slope along x-axis.
 
double Ty () const
 Gets slope along y-axis.
 
double & Ty ()
 Reference to slope along y-axis.
 
double Qp () const
 Gets charge over momentum [ec/GeV].
 
double & Qp ()
 Reference to charge over momentum [ec/GeV].
 
double Time () const
 Gets time [ns].
 
double & Time ()
 Reference to time [ns].
 
double Vi () const
 Gets inverse velocity [ns/cm].
 
double & Vi ()
 Reference to inverse velocity [ns/cm].
 
double ChiSq () const
 Gets Chi-square of track fit model.
 
double & ChiSq ()
 Reference to Chi-square of track fit model.
 
double Ndf () const
 Gets NDF of track fit model.
 
double & Ndf ()
 Reference to NDF of track fit model.
 
double ChiSqTime () const
 Gets Chi-square of time measurements.
 
double & ChiSqTime ()
 Reference to Chi-square of time measurements.
 
double NdfTime () const
 Gets NDF of time measurements.
 
double & NdfTime ()
 Reference to NDF of time measurements.
 
double C (int i, int j) const
 Get covariance matrix element.
 
double C () const
 Get covariance matrix element when indices are known at compile time.
 
double & C (int i, int j)
 Get a reference to the covariance matrix element.
 
double & C ()
 Get a reference to the covariance matrix element when indices are known at compile time.
 
double C00 () const
 Individual getters for covariance matrix elements.
 
double & C00 ()
 Individual references to covariance matrix elements.
 
double C01 () const
 
double & C01 ()
 
double C02 () const
 
double & C02 ()
 
double C03 () const
 
double & C03 ()
 
double C04 () const
 
double & C04 ()
 
double C05 () const
 
double & C05 ()
 
double C06 () const
 
double & C06 ()
 
double C10 () const
 
double & C10 ()
 
double C11 () const
 
double & C11 ()
 
double C12 () const
 
double & C12 ()
 
double C13 () const
 
double & C13 ()
 
double C14 () const
 
double & C14 ()
 
double C15 () const
 
double & C15 ()
 
double C16 () const
 
double & C16 ()
 
double C20 () const
 
double & C20 ()
 
double C21 () const
 
double & C21 ()
 
double C22 () const
 
double & C22 ()
 
double C23 () const
 
double & C23 ()
 
double C24 () const
 
double & C24 ()
 
double C25 () const
 
double & C25 ()
 
double C26 () const
 
double & C26 ()
 
double C30 () const
 
double & C30 ()
 
double C31 () const
 
double & C31 ()
 
double C32 () const
 
double & C32 ()
 
double C33 () const
 
double & C33 ()
 
double C34 () const
 
double & C34 ()
 
double C35 () const
 
double & C35 ()
 
double C36 () const
 
double & C36 ()
 
double C40 () const
 
double & C40 ()
 
double C41 () const
 
double & C41 ()
 
double C42 () const
 
double & C42 ()
 
double C43 () const
 
double & C43 ()
 
double C44 () const
 
double & C44 ()
 
double C45 () const
 
double & C45 ()
 
double C46 () const
 
double & C46 ()
 
double C50 () const
 
double & C50 ()
 
double C51 () const
 
double & C51 ()
 
double C52 () const
 
double & C52 ()
 
double C53 () const
 
double & C53 ()
 
double C54 () const
 
double & C54 ()
 
double C55 () const
 
double & C55 ()
 
double C56 () const
 
double & C56 ()
 
double C60 () const
 
double & C60 ()
 
double C61 () const
 
double & C61 ()
 
double C62 () const
 
double & C62 ()
 
double C63 () const
 
double & C63 ()
 
double C64 () const
 
double & C64 ()
 
double C65 () const
 
double & C65 ()
 
double C66 () const
 
double & C66 ()
 
double GetZ () const
 Gets z position [cm].
 
double GetX () const
 Gets x position [cm].
 
double GetXError () const
 Gets x position error [cm].
 
double GetY () const
 Gets y position [cm].
 
double GetYError () const
 Gets y position error [cm].
 
double GetTx () const
 Gets slope along x-axis.
 
double GetTxError () const
 Gets error of slope along x-axis.
 
double GetTy () const
 Gets slope along y-axis.
 
double GetTyError () const
 Gets error of slope along y-axis.
 
double GetQp () const
 Gets charge over momentum [ec/GeV].
 
double GetQpError () const
 Gets error of charge over momentum [ec/GeV].
 
double GetTime () const
 Gets time [ns].
 
double GetTimeError () const
 Gets time error [ns].
 
double GetVi () const
 Gets inverse velocity [ns/cm] in downstream direction.
 
double GetViError () const
 Gets inverse velocity error [ns/cm].
 
const CovMatrix_tGetCovMatrix () const
 Gets covariance matrix.
 
double GetCovariance (int i, int j) const
 Get covariance matrix element.
 
double GetChiSq () const
 Gets Chi-square of track fit model.
 
double GetNdf () const
 Gets NDF of track fit model.
 
double GetChiSqTime () const
 Gets Chi-square of time measurements.
 
double GetNdfTime () const
 Gets NDF of time measurements.
 
double GetCharge () const
 Gets charge.
 
double GetPhi () const
 Gets azimuthal angle [rad].
 
double GetPhiError () const
 Gets azimuthal angle error [rad].
 
double GetTheta () const
 Gets polar angle [rad].
 
double GetThetaError () const
 Gets polar angle error [rad].
 
double GetP () const
 Gets momentum [GeV/ec]. For the straight tracks returns 1.e4 [GeV/ec].
 
double GetPz () const
 Gets z-component of the momentum [GeV/ec].
 
double GetPx () const
 Gets x-component of the momentum [GeV/ec].
 
double GetPy () const
 Gets y-component of the momentum [GeV/ec].
 
double GetPt () const
 Gets transverse momentum.
 
void SetZ (double v)
 Sets z position [cm].
 
void SetX (double v)
 Sets x position [cm].
 
void SetY (double v)
 Sets y position [cm].
 
void SetTx (double v)
 Sets slope along x-axis.
 
void SetTy (double v)
 Sets slope along y-axis.
 
void SetQp (double v)
 Sets charge over momentum [ec/GeV].
 
void SetTime (double v)
 Sets time [ns].
 
void SetVi (double v)
 Sets inverse velocity [ns/cm].
 
void SetChiSq (double v)
 Sets Chi-square of track fit model.
 
void SetNdf (double v)
 Sets NDF of track fit model.
 
void SetChiSqTime (double v)
 Sets Chi-square of time measurements.
 
void SetNdfTime (double v)
 Sets NDF of time measurements.
 
void SetCovMatrix (const CovMatrix_t &val)
 Sets covariance matrix.
 
void SetCovariance (int i, int j, double val)
 Get covariance matrix element.
 
void SetCovariance (double val)
 Get covariance matrix element when indices are known at compile time.
 
void SetC00 (double val)
 Individual setters for covariance matrix elements.
 
void SetC10 (double val)
 
void SetC11 (double val)
 
void SetC20 (double val)
 
void SetC21 (double val)
 
void SetC22 (double val)
 
void SetC30 (double val)
 
void SetC31 (double val)
 
void SetC32 (double val)
 
void SetC33 (double val)
 
void SetC40 (double val)
 
void SetC41 (double val)
 
void SetC42 (double val)
 
void SetC43 (double val)
 
void SetC44 (double val)
 
void SetC50 (double val)
 
void SetC51 (double val)
 
void SetC52 (double val)
 
void SetC53 (double val)
 
void SetC54 (double val)
 
void SetC55 (double val)
 
void SetC60 (double val)
 
void SetC61 (double val)
 
void SetC62 (double val)
 
void SetC63 (double val)
 
void SetC64 (double val)
 
void SetC65 (double val)
 
void SetC66 (double val)
 
CovMatrix_tCovMatrix ()
 Reference to covariance matrix.
 
void ResetErrors (double c00, double c11, double c22, double c33, double c44, double c55, double 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.
 
void serialize (Archive &ar, const unsigned int)
 
void CopyBase (const int ia, const TrackParamBase< TdataB > &Tb, const int ib)
 

Public Attributes

cbm::algo::kf::TrackParamD Tpv
 Track parameters at primary vertex.
 
cbm::algo::kf::TrackParamD TLast
 Track parameters in the end of the track.
 
std::vector< int > Hits
 Indexes of hits of this track.
 
int nStations {0}
 Number of stations with hits of this track.
 
int index {0}
 Index of this track (TODO: it seems to be not initialized)
 
double fTrackTime {0.}
 Time of the track [ns] ???
 
std::map< int, int > hitMap
 

Static Public Attributes

static constexpr int kNtrackParam
 N of variable track parameters: {x, y, tx, ty, q/p, t, vi}.
 
static constexpr int kNcovParam
 N of covariance matrix parameters.
 

Private Member Functions

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

Private Attributes

ca::Vector< int > fvMcTrackIndexes = {"CbmL1Track::fvMcTrackIndexes"}
 
double maxPurity {-1.}
 Maximum persent of hits, which belong to one mcTrack.
 
CovMatrix_t fCovMatrix
 covariance matrix
 
double fX
 x-position [cm]
 
double fY
 y-position [cm]
 
double fZ
 z-position [cm]
 
double fTx
 slope along x-axis
 
double fTy
 slope along y-axis
 
double fQp
 charge over momentum [ec/GeV]
 
double fT
 time [ns]
 
double fVi
 inverse velocity in downstream direction [ns/cm]
 
double fChiSq
 chi^2 of track fit, spatial measurements
 
double fNdf
 NDF of track fit, spatial measurements.
 
double fChiSqTime
 chi^2 of track fit, time measurements
 
double fNdfTime
 NDF of track fit, time measurements.
 

Detailed Description

Definition at line 45 of file CbmL1Track.h.

Member Typedef Documentation

◆ CovMatrix_t

std::array<double, kNcovParam> cbm::algo::kf::TrackParamBase< double >::CovMatrix_t
inherited

covariance matrix type

Definition at line 41 of file KfTrackParam.h.

Constructor & Destructor Documentation

◆ CbmL1Track()

CbmL1Track::CbmL1Track ( )
default

Member Function Documentation

◆ AddMCTrackIndex()

void CbmL1Track::AddMCTrackIndex ( int iMT)
inline

Adds an index of MC track index.

Definition at line 50 of file CbmL1Track.h.

References fvMcTrackIndexes, and cbm::algo::ca::Vector< T >::push_back_no_warning().

◆ C() [1/4]

double & cbm::algo::kf::TrackParamBase< double >::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]

double cbm::algo::kf::TrackParamBase< double >::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]

double & cbm::algo::kf::TrackParamBase< double >::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]

double cbm::algo::kf::TrackParamBase< double >::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.

◆ C00() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C00 ( )
inlineinherited

Individual references to covariance matrix elements.

Definition at line 465 of file KfTrackParam.h.

◆ C00() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C00 ( ) const
inlineinherited

Individual getters for covariance matrix elements.

Returns
covariance matrix element

Definition at line 143 of file KfTrackParam.h.

◆ C01() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C01 ( )
inlineinherited

Definition at line 466 of file KfTrackParam.h.

◆ C01() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C01 ( ) const
inlineinherited

Definition at line 144 of file KfTrackParam.h.

◆ C02() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C02 ( )
inlineinherited

Definition at line 467 of file KfTrackParam.h.

◆ C02() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C02 ( ) const
inlineinherited

Definition at line 145 of file KfTrackParam.h.

◆ C03() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C03 ( )
inlineinherited

Definition at line 468 of file KfTrackParam.h.

◆ C03() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C03 ( ) const
inlineinherited

Definition at line 146 of file KfTrackParam.h.

◆ C04() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C04 ( )
inlineinherited

Definition at line 469 of file KfTrackParam.h.

◆ C04() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C04 ( ) const
inlineinherited

Definition at line 147 of file KfTrackParam.h.

◆ C05() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C05 ( )
inlineinherited

Definition at line 470 of file KfTrackParam.h.

◆ C05() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C05 ( ) const
inlineinherited

Definition at line 148 of file KfTrackParam.h.

◆ C06() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C06 ( )
inlineinherited

Definition at line 471 of file KfTrackParam.h.

◆ C06() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C06 ( ) const
inlineinherited

Definition at line 149 of file KfTrackParam.h.

◆ C10() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C10 ( )
inlineinherited

Definition at line 473 of file KfTrackParam.h.

◆ C10() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C10 ( ) const
inlineinherited

Definition at line 151 of file KfTrackParam.h.

◆ C11() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C11 ( )
inlineinherited

Definition at line 474 of file KfTrackParam.h.

◆ C11() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C11 ( ) const
inlineinherited

Definition at line 152 of file KfTrackParam.h.

◆ C12() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C12 ( )
inlineinherited

Definition at line 475 of file KfTrackParam.h.

◆ C12() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C12 ( ) const
inlineinherited

Definition at line 153 of file KfTrackParam.h.

◆ C13() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C13 ( )
inlineinherited

Definition at line 476 of file KfTrackParam.h.

◆ C13() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C13 ( ) const
inlineinherited

Definition at line 154 of file KfTrackParam.h.

◆ C14() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C14 ( )
inlineinherited

Definition at line 477 of file KfTrackParam.h.

◆ C14() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C14 ( ) const
inlineinherited

Definition at line 155 of file KfTrackParam.h.

◆ C15() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C15 ( )
inlineinherited

Definition at line 478 of file KfTrackParam.h.

◆ C15() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C15 ( ) const
inlineinherited

Definition at line 156 of file KfTrackParam.h.

◆ C16() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C16 ( )
inlineinherited

Definition at line 479 of file KfTrackParam.h.

◆ C16() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C16 ( ) const
inlineinherited

Definition at line 157 of file KfTrackParam.h.

◆ C20() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C20 ( )
inlineinherited

Definition at line 481 of file KfTrackParam.h.

◆ C20() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C20 ( ) const
inlineinherited

Definition at line 159 of file KfTrackParam.h.

◆ C21() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C21 ( )
inlineinherited

Definition at line 482 of file KfTrackParam.h.

◆ C21() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C21 ( ) const
inlineinherited

Definition at line 160 of file KfTrackParam.h.

◆ C22() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C22 ( )
inlineinherited

Definition at line 483 of file KfTrackParam.h.

◆ C22() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C22 ( ) const
inlineinherited

Definition at line 161 of file KfTrackParam.h.

◆ C23() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C23 ( )
inlineinherited

Definition at line 484 of file KfTrackParam.h.

◆ C23() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C23 ( ) const
inlineinherited

Definition at line 162 of file KfTrackParam.h.

◆ C24() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C24 ( )
inlineinherited

Definition at line 485 of file KfTrackParam.h.

◆ C24() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C24 ( ) const
inlineinherited

Definition at line 163 of file KfTrackParam.h.

◆ C25() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C25 ( )
inlineinherited

Definition at line 486 of file KfTrackParam.h.

◆ C25() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C25 ( ) const
inlineinherited

Definition at line 164 of file KfTrackParam.h.

◆ C26() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C26 ( )
inlineinherited

Definition at line 487 of file KfTrackParam.h.

◆ C26() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C26 ( ) const
inlineinherited

Definition at line 165 of file KfTrackParam.h.

◆ C30() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C30 ( )
inlineinherited

Definition at line 489 of file KfTrackParam.h.

◆ C30() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C30 ( ) const
inlineinherited

Definition at line 167 of file KfTrackParam.h.

◆ C31() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C31 ( )
inlineinherited

Definition at line 490 of file KfTrackParam.h.

◆ C31() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C31 ( ) const
inlineinherited

Definition at line 168 of file KfTrackParam.h.

◆ C32() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C32 ( )
inlineinherited

Definition at line 491 of file KfTrackParam.h.

◆ C32() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C32 ( ) const
inlineinherited

Definition at line 169 of file KfTrackParam.h.

◆ C33() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C33 ( )
inlineinherited

Definition at line 492 of file KfTrackParam.h.

◆ C33() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C33 ( ) const
inlineinherited

Definition at line 170 of file KfTrackParam.h.

◆ C34() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C34 ( )
inlineinherited

Definition at line 493 of file KfTrackParam.h.

◆ C34() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C34 ( ) const
inlineinherited

Definition at line 171 of file KfTrackParam.h.

◆ C35() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C35 ( )
inlineinherited

Definition at line 494 of file KfTrackParam.h.

◆ C35() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C35 ( ) const
inlineinherited

Definition at line 172 of file KfTrackParam.h.

◆ C36() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C36 ( )
inlineinherited

Definition at line 495 of file KfTrackParam.h.

◆ C36() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C36 ( ) const
inlineinherited

Definition at line 173 of file KfTrackParam.h.

◆ C40() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C40 ( )
inlineinherited

Definition at line 497 of file KfTrackParam.h.

◆ C40() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C40 ( ) const
inlineinherited

Definition at line 175 of file KfTrackParam.h.

◆ C41() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C41 ( )
inlineinherited

Definition at line 498 of file KfTrackParam.h.

◆ C41() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C41 ( ) const
inlineinherited

Definition at line 176 of file KfTrackParam.h.

◆ C42() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C42 ( )
inlineinherited

Definition at line 499 of file KfTrackParam.h.

◆ C42() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C42 ( ) const
inlineinherited

Definition at line 177 of file KfTrackParam.h.

◆ C43() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C43 ( )
inlineinherited

Definition at line 500 of file KfTrackParam.h.

◆ C43() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C43 ( ) const
inlineinherited

Definition at line 178 of file KfTrackParam.h.

◆ C44() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C44 ( )
inlineinherited

Definition at line 501 of file KfTrackParam.h.

◆ C44() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C44 ( ) const
inlineinherited

Definition at line 179 of file KfTrackParam.h.

◆ C45() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C45 ( )
inlineinherited

Definition at line 502 of file KfTrackParam.h.

◆ C45() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C45 ( ) const
inlineinherited

Definition at line 180 of file KfTrackParam.h.

◆ C46() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C46 ( )
inlineinherited

Definition at line 503 of file KfTrackParam.h.

◆ C46() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C46 ( ) const
inlineinherited

Definition at line 181 of file KfTrackParam.h.

◆ C50() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C50 ( )
inlineinherited

Definition at line 505 of file KfTrackParam.h.

◆ C50() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C50 ( ) const
inlineinherited

Definition at line 183 of file KfTrackParam.h.

◆ C51() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C51 ( )
inlineinherited

Definition at line 506 of file KfTrackParam.h.

◆ C51() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C51 ( ) const
inlineinherited

Definition at line 184 of file KfTrackParam.h.

◆ C52() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C52 ( )
inlineinherited

Definition at line 507 of file KfTrackParam.h.

◆ C52() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C52 ( ) const
inlineinherited

Definition at line 185 of file KfTrackParam.h.

◆ C53() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C53 ( )
inlineinherited

Definition at line 508 of file KfTrackParam.h.

◆ C53() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C53 ( ) const
inlineinherited

Definition at line 186 of file KfTrackParam.h.

◆ C54() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C54 ( )
inlineinherited

Definition at line 509 of file KfTrackParam.h.

◆ C54() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C54 ( ) const
inlineinherited

Definition at line 187 of file KfTrackParam.h.

◆ C55() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C55 ( )
inlineinherited

Definition at line 510 of file KfTrackParam.h.

◆ C55() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C55 ( ) const
inlineinherited

Definition at line 188 of file KfTrackParam.h.

◆ C56() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C56 ( )
inlineinherited

Definition at line 511 of file KfTrackParam.h.

◆ C56() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C56 ( ) const
inlineinherited

Definition at line 189 of file KfTrackParam.h.

◆ C60() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C60 ( )
inlineinherited

Definition at line 513 of file KfTrackParam.h.

◆ C60() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C60 ( ) const
inlineinherited

Definition at line 191 of file KfTrackParam.h.

◆ C61() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C61 ( )
inlineinherited

Definition at line 514 of file KfTrackParam.h.

◆ C61() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C61 ( ) const
inlineinherited

Definition at line 192 of file KfTrackParam.h.

◆ C62() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C62 ( )
inlineinherited

Definition at line 515 of file KfTrackParam.h.

◆ C62() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C62 ( ) const
inlineinherited

Definition at line 193 of file KfTrackParam.h.

◆ C63() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C63 ( )
inlineinherited

Definition at line 516 of file KfTrackParam.h.

◆ C63() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C63 ( ) const
inlineinherited

Definition at line 194 of file KfTrackParam.h.

◆ C64() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C64 ( )
inlineinherited

Definition at line 517 of file KfTrackParam.h.

◆ C64() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C64 ( ) const
inlineinherited

Definition at line 195 of file KfTrackParam.h.

◆ C65() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C65 ( )
inlineinherited

Definition at line 518 of file KfTrackParam.h.

◆ C65() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C65 ( ) const
inlineinherited

Definition at line 196 of file KfTrackParam.h.

◆ C66() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::C66 ( )
inlineinherited

Definition at line 519 of file KfTrackParam.h.

◆ C66() [2/2]

double cbm::algo::kf::TrackParamBase< double >::C66 ( ) const
inlineinherited

Definition at line 197 of file KfTrackParam.h.

◆ ChiSq() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::ChiSq ( )
inlineinherited

Reference to Chi-square of track fit model.

Definition at line 431 of file KfTrackParam.h.

◆ ChiSq() [2/2]

double cbm::algo::kf::TrackParamBase< double >::ChiSq ( ) const
inlineinherited

Gets Chi-square of track fit model.

Definition at line 108 of file KfTrackParam.h.

◆ ChiSqTime() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::ChiSqTime ( )
inlineinherited

Reference to Chi-square of time measurements.

Definition at line 437 of file KfTrackParam.h.

◆ ChiSqTime() [2/2]

double cbm::algo::kf::TrackParamBase< double >::ChiSqTime ( ) const
inlineinherited

Gets Chi-square of time measurements.

Definition at line 114 of file KfTrackParam.h.

◆ ClearMatchedMCTracks()

void CbmL1Track::ClearMatchedMCTracks ( )
inline

Clears the contents of matched MC track indexes (and pointers)

Definition at line 53 of file CbmL1Track.h.

References fvMcTrackIndexes.

◆ CopyBase() [1/2]

void cbm::algo::kf::TrackParamBase< double >::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]

void cbm::algo::kf::TrackParamBase< double >::CopyBase ( const int ia,
const TrackParamBase< TdataB > & Tb,
const int ib )
inlineinherited

Definition at line 714 of file KfTrackParam.h.

◆ CovMatrix()

CovMatrix_t & cbm::algo::kf::TrackParamBase< double >::CovMatrix ( )
inlineinherited

Reference to covariance matrix.

Definition at line 428 of file KfTrackParam.h.

◆ GetCharge()

double cbm::algo::kf::TrackParamBase< double >::GetCharge ( ) const
inlineinherited

Gets charge.

Definition at line 270 of file KfTrackParam.h.

◆ GetChiSq()

double cbm::algo::kf::TrackParamBase< double >::GetChiSq ( ) const
inlineinherited

Gets Chi-square of track fit model.

Definition at line 258 of file KfTrackParam.h.

Referenced by GetProb().

◆ GetChiSqTime()

double cbm::algo::kf::TrackParamBase< double >::GetChiSqTime ( ) const
inlineinherited

Gets Chi-square of time measurements.

Definition at line 264 of file KfTrackParam.h.

◆ GetCovariance()

double cbm::algo::kf::TrackParamBase< double >::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.

◆ GetCovMatrix()

const CovMatrix_t & cbm::algo::kf::TrackParamBase< double >::GetCovMatrix ( ) const
inlineinherited

Gets covariance matrix.

Definition at line 249 of file KfTrackParam.h.

◆ GetEta()

double cbm::algo::kf::TrackParamBaseScalar< double >::GetEta ( ) const
inlineinherited

Gets pseudo-rapidity.

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

Definition at line 636 of file KfTrackParam.h.

◆ GetFirstHitIndex()

int CbmL1Track::GetFirstHitIndex ( ) const
inline

Gets first hit index.

Definition at line 58 of file CbmL1Track.h.

References Hits.

Referenced by CbmL1::HistoPerformance().

◆ GetHitIndexes()

const auto & CbmL1Track::GetHitIndexes ( ) const
inline

Gets hit indexes.

Definition at line 64 of file CbmL1Track.h.

References Hits.

Referenced by ToString().

◆ GetLastHitIndex()

int CbmL1Track::GetLastHitIndex ( ) const
inline

Gets last hit index.

Definition at line 61 of file CbmL1Track.h.

References Hits.

Referenced by CbmL1::HistoPerformance().

◆ GetMatchedMCTrackIndex()

int CbmL1Track::GetMatchedMCTrackIndex ( ) const
inline

Gets index of matched MC track.

Note
If two tracks are matched (should not happen, if purity > 50%), the first

Definition at line 76 of file CbmL1Track.h.

References fvMcTrackIndexes.

Referenced by CbmL1::HistoPerformance(), and ToString().

◆ GetMaxPurity()

double CbmL1Track::GetMaxPurity ( ) const
inline

Gets max purity.

Definition at line 71 of file CbmL1Track.h.

References maxPurity.

Referenced by CbmL1::HistoPerformance(), and ToString().

◆ GetMCTrackIndexes()

const auto & CbmL1Track::GetMCTrackIndexes ( ) const
inline

Gets a reference to MC track indexes.

Definition at line 68 of file CbmL1Track.h.

References fvMcTrackIndexes.

Referenced by ToString().

◆ GetNdf()

double cbm::algo::kf::TrackParamBase< double >::GetNdf ( ) const
inlineinherited

Gets NDF of track fit model.

Definition at line 261 of file KfTrackParam.h.

Referenced by GetProb().

◆ GetNdfTime()

double cbm::algo::kf::TrackParamBase< double >::GetNdfTime ( ) const
inlineinherited

Gets NDF of time measurements.

Definition at line 267 of file KfTrackParam.h.

◆ GetNofHits()

int CbmL1Track::GetNofHits ( ) const
inline

Gets number of hits of the track.

Definition at line 79 of file CbmL1Track.h.

References Hits.

Referenced by ToString().

◆ GetNofMCTracks()

int CbmL1Track::GetNofMCTracks ( ) const
inline

Gets number of associated MC tracks.

Definition at line 82 of file CbmL1Track.h.

References fvMcTrackIndexes.

Referenced by CbmL1::HistoPerformance(), and ToString().

◆ GetNofStations()

int CbmL1Track::GetNofStations ( ) const
inline

Gets number of stations.

Definition at line 85 of file CbmL1Track.h.

References nStations.

◆ GetP()

double cbm::algo::kf::TrackParamBase< double >::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 ToString().

◆ GetPhi()

double cbm::algo::kf::TrackParamBase< double >::GetPhi ( ) const
inlineinherited

Gets azimuthal angle [rad].

Definition at line 273 of file KfTrackParam.h.

◆ GetPhiError()

double cbm::algo::kf::TrackParamBase< double >::GetPhiError ( ) const
inlineinherited

Gets azimuthal angle error [rad].


Inline and template function implementation


Definition at line 276 of file KfTrackParam.h.

◆ GetProb()

double CbmL1Track::GetProb ( ) const
inline

Gets probability of track fit model.

Definition at line 94 of file CbmL1Track.h.

References cbm::algo::kf::TrackParamBase< double >::GetChiSq(), and cbm::algo::kf::TrackParamBase< double >::GetNdf().

◆ GetPt()

double cbm::algo::kf::TrackParamBase< double >::GetPt ( ) const
inlineinherited

Gets transverse momentum.

Definition at line 297 of file KfTrackParam.h.

◆ GetPx()

double cbm::algo::kf::TrackParamBase< double >::GetPx ( ) const
inlineinherited

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

Definition at line 291 of file KfTrackParam.h.

◆ GetPy()

double cbm::algo::kf::TrackParamBase< double >::GetPy ( ) const
inlineinherited

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

Definition at line 294 of file KfTrackParam.h.

◆ GetPz()

double cbm::algo::kf::TrackParamBase< double >::GetPz ( ) const
inlineinherited

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

Definition at line 288 of file KfTrackParam.h.

◆ GetQp()

double cbm::algo::kf::TrackParamBase< double >::GetQp ( ) const
inlineinherited

Gets charge over momentum [ec/GeV].

Definition at line 231 of file KfTrackParam.h.

◆ GetQpError()

double cbm::algo::kf::TrackParamBase< double >::GetQpError ( ) const
inlineinherited

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

Definition at line 234 of file KfTrackParam.h.

◆ GetTheta()

double cbm::algo::kf::TrackParamBase< double >::GetTheta ( ) const
inlineinherited

Gets polar angle [rad].

Definition at line 279 of file KfTrackParam.h.

◆ GetThetaError()

double cbm::algo::kf::TrackParamBase< double >::GetThetaError ( ) const
inlineinherited

Gets polar angle error [rad].


Definition at line 282 of file KfTrackParam.h.

◆ GetTime()

double cbm::algo::kf::TrackParamBase< double >::GetTime ( ) const
inlineinherited

Gets time [ns].

Definition at line 237 of file KfTrackParam.h.

◆ GetTimeError()

double cbm::algo::kf::TrackParamBase< double >::GetTimeError ( ) const
inlineinherited

Gets time error [ns].

Definition at line 240 of file KfTrackParam.h.

◆ GetTx()

double cbm::algo::kf::TrackParamBase< double >::GetTx ( ) const
inlineinherited

Gets slope along x-axis.

Definition at line 219 of file KfTrackParam.h.

Referenced by ToString().

◆ GetTxError()

double cbm::algo::kf::TrackParamBase< double >::GetTxError ( ) const
inlineinherited

Gets error of slope along x-axis.

Definition at line 222 of file KfTrackParam.h.

◆ GetTy()

double cbm::algo::kf::TrackParamBase< double >::GetTy ( ) const
inlineinherited

Gets slope along y-axis.

Definition at line 225 of file KfTrackParam.h.

◆ GetTyError()

double cbm::algo::kf::TrackParamBase< double >::GetTyError ( ) const
inlineinherited

Gets error of slope along y-axis.

Definition at line 228 of file KfTrackParam.h.

◆ GetVi()

double cbm::algo::kf::TrackParamBase< double >::GetVi ( ) const
inlineinherited

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

Definition at line 243 of file KfTrackParam.h.

◆ GetViError()

double cbm::algo::kf::TrackParamBase< double >::GetViError ( ) const
inlineinherited

Gets inverse velocity error [ns/cm].

Definition at line 246 of file KfTrackParam.h.

◆ GetX()

double cbm::algo::kf::TrackParamBase< double >::GetX ( ) const
inlineinherited

Gets x position [cm].

Definition at line 207 of file KfTrackParam.h.

◆ GetXError()

double cbm::algo::kf::TrackParamBase< double >::GetXError ( ) const
inlineinherited

Gets x position error [cm].

Definition at line 210 of file KfTrackParam.h.

◆ GetY()

double cbm::algo::kf::TrackParamBase< double >::GetY ( ) const
inlineinherited

Gets y position [cm].

Definition at line 213 of file KfTrackParam.h.

◆ GetYError()

double cbm::algo::kf::TrackParamBase< double >::GetYError ( ) const
inlineinherited

Gets y position error [cm].

Definition at line 216 of file KfTrackParam.h.

◆ GetZ()

double cbm::algo::kf::TrackParamBase< double >::GetZ ( ) const
inlineinherited

Gets z position [cm].


Getters with 'Get' prefix Some of them involve calculations

Definition at line 204 of file KfTrackParam.h.

◆ InitVelocityRange()

void cbm::algo::kf::TrackParamBase< double >::InitVelocityRange ( fscal minP)
inlineinherited

Initializes inverse velocity range.

Definition at line 553 of file KfTrackParam.h.

◆ IsConsistent()

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

Checks whether first nFilled SIMD entries are consistent.

Definition at line 550 of file KfTrackParam.cxx.

◆ IsEntryConsistent()

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

Checks whether SIMD entry i is consistent.

Definition at line 547 of file KfTrackParam.cxx.

◆ IsFinite()

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

Checks whether some parameters are finite.

Definition at line 544 of file KfTrackParam.cxx.

◆ IsGhost()

bool CbmL1Track::IsGhost ( ) const
inline

Definition at line 55 of file CbmL1Track.h.

References maxPurity, and CbmL1Constants::MinPurity.

Referenced by CbmL1::HistoPerformance(), and ToString().

◆ Ndf() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::Ndf ( )
inlineinherited

Reference to NDF of track fit model.

Definition at line 434 of file KfTrackParam.h.

◆ Ndf() [2/2]

double cbm::algo::kf::TrackParamBase< double >::Ndf ( ) const
inlineinherited

Gets NDF of track fit model.

Definition at line 111 of file KfTrackParam.h.

◆ NdfTime() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::NdfTime ( )
inlineinherited

Reference to NDF of time measurements.

Definition at line 440 of file KfTrackParam.h.

◆ NdfTime() [2/2]

double cbm::algo::kf::TrackParamBase< double >::NdfTime ( ) const
inlineinherited

Gets NDF of time measurements.

Definition at line 117 of file KfTrackParam.h.

◆ Qp() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::Qp ( )
inlineinherited

Reference to charge over momentum [ec/GeV].

Definition at line 419 of file KfTrackParam.h.

◆ Qp() [2/2]

double cbm::algo::kf::TrackParamBase< double >::Qp ( ) const
inlineinherited

Gets charge over momentum [ec/GeV].

Definition at line 99 of file KfTrackParam.h.

◆ ResetErrors()

void cbm::algo::kf::TrackParamBase< double >::ResetErrors ( double c00,
double c11,
double c22,
double c33,
double c44,
double c55,
double 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 533 of file KfTrackParam.h.

◆ serialize()

void cbm::algo::kf::TrackParamBase< double >::serialize ( Archive & ar,
const unsigned int  )
inlineinherited

Serialization

Definition at line 560 of file KfTrackParam.h.

◆ Set() [1/2]

void cbm::algo::kf::TrackParamBase< double >::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]

void cbm::algo::kf::TrackParamBase< double >::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.

◆ SetC00()

void cbm::algo::kf::TrackParamBase< double >::SetC00 ( double val)
inlineinherited

Individual setters for covariance matrix elements.

Definition at line 369 of file KfTrackParam.h.

◆ SetC10()

void cbm::algo::kf::TrackParamBase< double >::SetC10 ( double val)
inlineinherited

Definition at line 370 of file KfTrackParam.h.

◆ SetC11()

void cbm::algo::kf::TrackParamBase< double >::SetC11 ( double val)
inlineinherited

Definition at line 371 of file KfTrackParam.h.

◆ SetC20()

void cbm::algo::kf::TrackParamBase< double >::SetC20 ( double val)
inlineinherited

Definition at line 372 of file KfTrackParam.h.

◆ SetC21()

void cbm::algo::kf::TrackParamBase< double >::SetC21 ( double val)
inlineinherited

Definition at line 373 of file KfTrackParam.h.

◆ SetC22()

void cbm::algo::kf::TrackParamBase< double >::SetC22 ( double val)
inlineinherited

Definition at line 374 of file KfTrackParam.h.

◆ SetC30()

void cbm::algo::kf::TrackParamBase< double >::SetC30 ( double val)
inlineinherited

Definition at line 375 of file KfTrackParam.h.

◆ SetC31()

void cbm::algo::kf::TrackParamBase< double >::SetC31 ( double val)
inlineinherited

Definition at line 376 of file KfTrackParam.h.

◆ SetC32()

void cbm::algo::kf::TrackParamBase< double >::SetC32 ( double val)
inlineinherited

Definition at line 377 of file KfTrackParam.h.

◆ SetC33()

void cbm::algo::kf::TrackParamBase< double >::SetC33 ( double val)
inlineinherited

Definition at line 378 of file KfTrackParam.h.

◆ SetC40()

void cbm::algo::kf::TrackParamBase< double >::SetC40 ( double val)
inlineinherited

Definition at line 379 of file KfTrackParam.h.

◆ SetC41()

void cbm::algo::kf::TrackParamBase< double >::SetC41 ( double val)
inlineinherited

Definition at line 380 of file KfTrackParam.h.

◆ SetC42()

void cbm::algo::kf::TrackParamBase< double >::SetC42 ( double val)
inlineinherited

Definition at line 381 of file KfTrackParam.h.

◆ SetC43()

void cbm::algo::kf::TrackParamBase< double >::SetC43 ( double val)
inlineinherited

Definition at line 382 of file KfTrackParam.h.

◆ SetC44()

void cbm::algo::kf::TrackParamBase< double >::SetC44 ( double val)
inlineinherited

Definition at line 383 of file KfTrackParam.h.

◆ SetC50()

void cbm::algo::kf::TrackParamBase< double >::SetC50 ( double val)
inlineinherited

Definition at line 384 of file KfTrackParam.h.

◆ SetC51()

void cbm::algo::kf::TrackParamBase< double >::SetC51 ( double val)
inlineinherited

Definition at line 385 of file KfTrackParam.h.

◆ SetC52()

void cbm::algo::kf::TrackParamBase< double >::SetC52 ( double val)
inlineinherited

Definition at line 386 of file KfTrackParam.h.

◆ SetC53()

void cbm::algo::kf::TrackParamBase< double >::SetC53 ( double val)
inlineinherited

Definition at line 387 of file KfTrackParam.h.

◆ SetC54()

void cbm::algo::kf::TrackParamBase< double >::SetC54 ( double val)
inlineinherited

Definition at line 388 of file KfTrackParam.h.

◆ SetC55()

void cbm::algo::kf::TrackParamBase< double >::SetC55 ( double val)
inlineinherited

Definition at line 389 of file KfTrackParam.h.

◆ SetC60()

void cbm::algo::kf::TrackParamBase< double >::SetC60 ( double val)
inlineinherited

Definition at line 390 of file KfTrackParam.h.

◆ SetC61()

void cbm::algo::kf::TrackParamBase< double >::SetC61 ( double val)
inlineinherited

Definition at line 391 of file KfTrackParam.h.

◆ SetC62()

void cbm::algo::kf::TrackParamBase< double >::SetC62 ( double val)
inlineinherited

Definition at line 392 of file KfTrackParam.h.

◆ SetC63()

void cbm::algo::kf::TrackParamBase< double >::SetC63 ( double val)
inlineinherited

Definition at line 393 of file KfTrackParam.h.

◆ SetC64()

void cbm::algo::kf::TrackParamBase< double >::SetC64 ( double val)
inlineinherited

Definition at line 394 of file KfTrackParam.h.

◆ SetC65()

void cbm::algo::kf::TrackParamBase< double >::SetC65 ( double val)
inlineinherited

Definition at line 395 of file KfTrackParam.h.

◆ SetC66()

void cbm::algo::kf::TrackParamBase< double >::SetC66 ( double val)
inlineinherited

Definition at line 396 of file KfTrackParam.h.

◆ SetChiSq()

void cbm::algo::kf::TrackParamBase< double >::SetChiSq ( double v)
inlineinherited

Sets Chi-square of track fit model.

Definition at line 332 of file KfTrackParam.h.

◆ SetChiSqTime()

void cbm::algo::kf::TrackParamBase< double >::SetChiSqTime ( double v)
inlineinherited

Sets Chi-square of time measurements.

Definition at line 338 of file KfTrackParam.h.

◆ SetCovariance() [1/2]

void cbm::algo::kf::TrackParamBase< double >::SetCovariance ( double 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.

◆ SetCovariance() [2/2]

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

Get covariance matrix element.

Parameters
irow
jcolumn
valcovariance matrix element

Definition at line 350 of file KfTrackParam.h.

◆ SetCovMatrix()

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

Sets covariance matrix.

Definition at line 344 of file KfTrackParam.h.

◆ SetMaxPurity()

void CbmL1Track::SetMaxPurity ( double maxPurity_)
inline

Sets max purity NOTE: max purity is calculated as a ratio of max number of hits left by an actual track and the total number of hits in the track

Definition at line 91 of file CbmL1Track.h.

References maxPurity.

◆ SetNdf()

void cbm::algo::kf::TrackParamBase< double >::SetNdf ( double v)
inlineinherited

Sets NDF of track fit model.

Definition at line 335 of file KfTrackParam.h.

◆ SetNdfTime()

void cbm::algo::kf::TrackParamBase< double >::SetNdfTime ( double v)
inlineinherited

Sets NDF of time measurements.

Definition at line 341 of file KfTrackParam.h.

◆ SetOneEntry() [1/2]

void cbm::algo::kf::TrackParamBase< double >::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]

void cbm::algo::kf::TrackParamBase< double >::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()

void cbm::algo::kf::TrackParamBase< double >::SetQp ( double v)
inlineinherited

Sets charge over momentum [ec/GeV].

Definition at line 323 of file KfTrackParam.h.

◆ SetTime()

void cbm::algo::kf::TrackParamBase< double >::SetTime ( double v)
inlineinherited

Sets time [ns].

Definition at line 326 of file KfTrackParam.h.

◆ SetTx()

void cbm::algo::kf::TrackParamBase< double >::SetTx ( double v)
inlineinherited

Sets slope along x-axis.

Definition at line 317 of file KfTrackParam.h.

◆ SetTy()

void cbm::algo::kf::TrackParamBase< double >::SetTy ( double v)
inlineinherited

Sets slope along y-axis.

Definition at line 320 of file KfTrackParam.h.

◆ SetVi()

void cbm::algo::kf::TrackParamBase< double >::SetVi ( double v)
inlineinherited

Sets inverse velocity [ns/cm].

Definition at line 329 of file KfTrackParam.h.

◆ SetX()

void cbm::algo::kf::TrackParamBase< double >::SetX ( double v)
inlineinherited

Sets x position [cm].

Definition at line 311 of file KfTrackParam.h.

◆ SetY()

void cbm::algo::kf::TrackParamBase< double >::SetY ( double v)
inlineinherited

Sets y position [cm].

Definition at line 314 of file KfTrackParam.h.

◆ SetZ()

void cbm::algo::kf::TrackParamBase< double >::SetZ ( double v)
inlineinherited

Sets z position [cm].


Parameter setters

Definition at line 308 of file KfTrackParam.h.

◆ Time() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::Time ( )
inlineinherited

Reference to time [ns].

Definition at line 422 of file KfTrackParam.h.

◆ Time() [2/2]

double cbm::algo::kf::TrackParamBase< double >::Time ( ) const
inlineinherited

Gets time [ns].

Definition at line 102 of file KfTrackParam.h.

◆ ToString() [1/2]

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 537 of file KfTrackParam.cxx.

◆ ToString() [2/2]

std::string CbmL1Track::ToString ( int verbose = 10,
bool header = false ) const

Provides a string representation of object.

Parameters
verboseVerbosity level
headerIf true, header will be printed

Definition at line 16 of file CbmL1Track.cxx.

References GetHitIndexes(), GetMatchedMCTrackIndex(), GetMaxPurity(), GetMCTrackIndexes(), GetNofHits(), GetNofMCTracks(), cbm::algo::kf::TrackParamBase< double >::GetP(), cbm::algo::kf::TrackParamBase< double >::GetTx(), and IsGhost().

◆ ToStringCorrelations()

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 541 of file KfTrackParam.cxx.

◆ Tx() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::Tx ( )
inlineinherited

Reference to slope along x-axis.

Definition at line 413 of file KfTrackParam.h.

◆ Tx() [2/2]

double cbm::algo::kf::TrackParamBase< double >::Tx ( ) const
inlineinherited

Gets slope along x-axis.

Definition at line 93 of file KfTrackParam.h.

◆ Ty() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::Ty ( )
inlineinherited

Reference to slope along y-axis.

Definition at line 416 of file KfTrackParam.h.

◆ Ty() [2/2]

double cbm::algo::kf::TrackParamBase< double >::Ty ( ) const
inlineinherited

Gets slope along y-axis.

Definition at line 96 of file KfTrackParam.h.

◆ Vi() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::Vi ( )
inlineinherited

Reference to inverse velocity [ns/cm].

Definition at line 425 of file KfTrackParam.h.

◆ Vi() [2/2]

double cbm::algo::kf::TrackParamBase< double >::Vi ( ) const
inlineinherited

Gets inverse velocity [ns/cm].

Definition at line 105 of file KfTrackParam.h.

◆ X() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::X ( )
inlineinherited

Reference to x position [cm].

Definition at line 407 of file KfTrackParam.h.

◆ X() [2/2]

double cbm::algo::kf::TrackParamBase< double >::X ( ) const
inlineinherited

Gets x position [cm].

Definition at line 87 of file KfTrackParam.h.

◆ Y() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::Y ( )
inlineinherited

Reference to y position [cm].

Definition at line 410 of file KfTrackParam.h.

◆ Y() [2/2]

double cbm::algo::kf::TrackParamBase< double >::Y ( ) const
inlineinherited

Gets y position [cm].

Definition at line 90 of file KfTrackParam.h.

◆ Z() [1/2]

double & cbm::algo::kf::TrackParamBase< double >::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]

double cbm::algo::kf::TrackParamBase< double >::Z ( ) const
inlineinherited

Gets z position [cm].


Getters without 'Get' prefix to ease the math formulae

Definition at line 84 of file KfTrackParam.h.

Member Data Documentation

◆ fChiSq

double cbm::algo::kf::TrackParamBase< double >::fChiSq
privateinherited

chi^2 of track fit, spatial measurements

Definition at line 617 of file KfTrackParam.h.

◆ fChiSqTime

double cbm::algo::kf::TrackParamBase< double >::fChiSqTime
privateinherited

chi^2 of track fit, time measurements

Definition at line 619 of file KfTrackParam.h.

◆ fCovMatrix

CovMatrix_t cbm::algo::kf::TrackParamBase< double >::fCovMatrix
privateinherited

covariance matrix


Class members

Definition at line 599 of file KfTrackParam.h.

◆ fNdf

double cbm::algo::kf::TrackParamBase< double >::fNdf
privateinherited

NDF of track fit, spatial measurements.

Definition at line 618 of file KfTrackParam.h.

◆ fNdfTime

double cbm::algo::kf::TrackParamBase< double >::fNdfTime
privateinherited

NDF of track fit, time measurements.

Definition at line 620 of file KfTrackParam.h.

◆ fQp

double cbm::algo::kf::TrackParamBase< double >::fQp
privateinherited

charge over momentum [ec/GeV]

Definition at line 613 of file KfTrackParam.h.

◆ fT

double cbm::algo::kf::TrackParamBase< double >::fT
privateinherited

time [ns]

Definition at line 614 of file KfTrackParam.h.

◆ fTrackTime

double CbmL1Track::fTrackTime {0.}

Time of the track [ns] ???

Definition at line 108 of file CbmL1Track.h.

◆ fTx

double cbm::algo::kf::TrackParamBase< double >::fTx
privateinherited

slope along x-axis

Definition at line 611 of file KfTrackParam.h.

◆ fTy

double cbm::algo::kf::TrackParamBase< double >::fTy
privateinherited

slope along y-axis

Definition at line 612 of file KfTrackParam.h.

◆ fVi

double cbm::algo::kf::TrackParamBase< double >::fVi
privateinherited

inverse velocity in downstream direction [ns/cm]

Definition at line 615 of file KfTrackParam.h.

◆ fvMcTrackIndexes

ca::Vector<int> CbmL1Track::fvMcTrackIndexes = {"CbmL1Track::fvMcTrackIndexes"}
private

◆ fX

double cbm::algo::kf::TrackParamBase< double >::fX
privateinherited

x-position [cm]

Definition at line 608 of file KfTrackParam.h.

◆ fY

double cbm::algo::kf::TrackParamBase< double >::fY
privateinherited

y-position [cm]

Definition at line 609 of file KfTrackParam.h.

◆ fZ

double cbm::algo::kf::TrackParamBase< double >::fZ
privateinherited

z-position [cm]

Definition at line 610 of file KfTrackParam.h.

◆ hitMap

std::map<int, int> CbmL1Track::hitMap

Definition at line 110 of file CbmL1Track.h.

◆ Hits

std::vector<int> CbmL1Track::Hits

Indexes of hits of this track.

Definition at line 104 of file CbmL1Track.h.

Referenced by GetFirstHitIndex(), GetHitIndexes(), GetLastHitIndex(), GetNofHits(), CbmL1::HistoPerformance(), and CbmL1::Reconstruct().

◆ index

int CbmL1Track::index {0}

Index of this track (TODO: it seems to be not initialized)

Definition at line 106 of file CbmL1Track.h.

◆ kNcovParam

int cbm::algo::kf::TrackParamBase< double >::kNcovParam
staticconstexprinherited

N of covariance matrix parameters.

Definition at line 39 of file KfTrackParam.h.

◆ kNtrackParam

int cbm::algo::kf::TrackParamBase< double >::kNtrackParam
staticconstexprinherited

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

Definition at line 38 of file KfTrackParam.h.

◆ maxPurity

double CbmL1Track::maxPurity {-1.}
private

Maximum persent of hits, which belong to one mcTrack.

Definition at line 117 of file CbmL1Track.h.

Referenced by GetMaxPurity(), IsGhost(), and SetMaxPurity().

◆ nStations

int CbmL1Track::nStations {0}

Number of stations with hits of this track.

Definition at line 105 of file CbmL1Track.h.

Referenced by GetNofStations().

◆ TLast

cbm::algo::kf::TrackParamD CbmL1Track::TLast

Track parameters in the end of the track.

Definition at line 102 of file CbmL1Track.h.

Referenced by CbmL1GlobalTrackFinder::CbmL1TrackToCbmTrack(), and CbmL1::Reconstruct().

◆ Tpv

cbm::algo::kf::TrackParamD CbmL1Track::Tpv

Track parameters at primary vertex.

Definition at line 101 of file CbmL1Track.h.

Referenced by CbmL1::Reconstruct().


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