CbmRoot
Loading...
Searching...
No Matches
cbm::algo::kf::MeasurementTime< DataT > Class Template Reference

The class describes a time measurement. More...

#include <KfMeasurementTime.h>

Inheritance diagram for cbm::algo::kf::MeasurementTime< DataT >:
[legend]

Public Member Functions

 MeasurementTime ()=default
 default constructor
 
 MeasurementTime (DataT t, DataT dt2, DataT ndfT)
 
void SetT (DataT t)
 
void SetDt2 (DataT dt2)
 
void SetNdfT (DataT ndfT)
 
DataT T () const
 
DataT Dt2 () const
 
DataT NdfT () const
 
std::string ToString (int indentLevel=0) const
 
bool IsFinite () const
 Checks, if all fields are finite.
 
bool IsUndefined () const
 Checks, if some fields are undefined.
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Private Attributes

DataT fT {0}
 time coordinate of the measurement
 
DataT fDt2 {1.}
 rms^2 of the time coordinate measurement
 
DataT fNdfT {0}
 ndf for the time coordinate measurement
 

Friends

class boost::serialization::access
 Serialization function.
 

Detailed Description

template<typename DataT>
class cbm::algo::kf::MeasurementTime< DataT >

The class describes a time measurement.

The measurement has a finite resolution, i.e. the measurement is not a value, but a distribution with a certain rms. The measurement may be used in the chi2 calculation or not The measurement may be a SIMD vector of values, when DataT is fvec type

Definition at line 28 of file KfMeasurementTime.h.

Constructor & Destructor Documentation

◆ MeasurementTime() [1/2]

template<typename DataT >
cbm::algo::kf::MeasurementTime< DataT >::MeasurementTime ( )
default

default constructor

◆ MeasurementTime() [2/2]

template<typename DataT >
cbm::algo::kf::MeasurementTime< DataT >::MeasurementTime ( DataT t,
DataT dt2,
DataT ndfT )
inline

constructor

Parameters
ttime coordinate of the measurement
dt2rms^2 of the time coordinate measurement
ndfTnumber of degrees of freedom for the time coordinate measurement if ndfT == 1, the measurement is used in fit and in the chi2 calculation if ndfT == 0, the measurement is used neither in fit nor in the chi2 calculation

Definition at line 42 of file KfMeasurementTime.h.

Member Function Documentation

◆ Dt2()

template<typename DataT >
DataT cbm::algo::kf::MeasurementTime< DataT >::Dt2 ( ) const
inline

◆ IsFinite()

template<typename DataT >
bool cbm::algo::kf::MeasurementTime< DataT >::IsFinite ( ) const
inline

Checks, if all fields are finite.

Definition at line 64 of file KfMeasurementTime.h.

◆ IsUndefined()

template<typename DataT >
bool cbm::algo::kf::MeasurementTime< DataT >::IsUndefined ( ) const
inline

Checks, if some fields are undefined.

Definition at line 67 of file KfMeasurementTime.h.

◆ NdfT()

template<typename DataT >
DataT cbm::algo::kf::MeasurementTime< DataT >::NdfT ( ) const
inline

◆ serialize()

template<typename DataT >
template<class Archive >
void cbm::algo::kf::MeasurementTime< DataT >::serialize ( Archive & ar,
const unsigned int  )
inline

Definition at line 75 of file KfMeasurementTime.h.

◆ SetDt2()

template<typename DataT >
void cbm::algo::kf::MeasurementTime< DataT >::SetDt2 ( DataT dt2)
inline

Definition at line 48 of file KfMeasurementTime.h.

Referenced by CbmKfTrackFitter::CreateGlobalTrack().

◆ SetNdfT()

template<typename DataT >
void cbm::algo::kf::MeasurementTime< DataT >::SetNdfT ( DataT ndfT)
inline

Definition at line 49 of file KfMeasurementTime.h.

Referenced by CbmKfTrackFitter::CreateGlobalTrack().

◆ SetT()

template<typename DataT >
void cbm::algo::kf::MeasurementTime< DataT >::SetT ( DataT t)
inline

Setters and getters

Definition at line 47 of file KfMeasurementTime.h.

Referenced by CbmKfTrackFitter::CreateGlobalTrack().

◆ T()

template<typename DataT >
DataT cbm::algo::kf::MeasurementTime< DataT >::T ( ) const
inline

◆ ToString()

template<typename DataT >
std::string cbm::algo::kf::MeasurementTime< DataT >::ToString ( int indentLevel = 0) const

Methods for debugging String representation of class contents

Parameters
indentLevelnumber of indent characters in the output

Definition at line 18 of file KfMeasurementTime.cxx.

Referenced by cbm::algo::kf::TrackKalmanFilter< DataT >::ToString().

Friends And Related Symbol Documentation

◆ boost::serialization::access

template<typename DataT >
boost::serialization::access
friend

Serialization function.

Definition at line 31 of file KfMeasurementTime.h.

Member Data Documentation

◆ fDt2

template<typename DataT >
DataT cbm::algo::kf::MeasurementTime< DataT >::fDt2 {1.}
private

rms^2 of the time coordinate measurement

Definition at line 87 of file KfMeasurementTime.h.

◆ fNdfT

template<typename DataT >
DataT cbm::algo::kf::MeasurementTime< DataT >::fNdfT {0}
private

ndf for the time coordinate measurement

number of degrees of freedom (used for chi2 calculation) if ndf == 1, the measurement is used in fit and in the chi2 calculation if ndf == 0, the measurement is used neither in fit nor in the chi2 calculation

Definition at line 93 of file KfMeasurementTime.h.

◆ fT

template<typename DataT >
DataT cbm::algo::kf::MeasurementTime< DataT >::fT {0}
private

time coordinate of the measurement


Data members

Definition at line 86 of file KfMeasurementTime.h.


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