CbmRoot
|
The class describes a time measurement. More...
#include <KfMeasurementTime.h>
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. | |
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.
|
default |
default constructor
|
inline |
constructor
t | time coordinate of the measurement |
dt2 | rms^2 of the time coordinate measurement |
ndfT | number 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.
|
inline |
Definition at line 52 of file KfMeasurementTime.h.
Referenced by cbm::algo::kf::TrackKalmanFilter< DataT >::FilterTime().
|
inline |
Checks, if all fields are finite.
Definition at line 64 of file KfMeasurementTime.h.
|
inline |
Checks, if some fields are undefined.
Definition at line 67 of file KfMeasurementTime.h.
|
inline |
Definition at line 53 of file KfMeasurementTime.h.
Referenced by cbm::algo::kf::TrackKalmanFilter< DataT >::FilterTime().
|
inline |
Definition at line 75 of file KfMeasurementTime.h.
|
inline |
Definition at line 48 of file KfMeasurementTime.h.
Referenced by CbmKfTrackFitter::CreateGlobalTrack().
|
inline |
Definition at line 49 of file KfMeasurementTime.h.
Referenced by CbmKfTrackFitter::CreateGlobalTrack().
|
inline |
Setters and getters
Definition at line 47 of file KfMeasurementTime.h.
Referenced by CbmKfTrackFitter::CreateGlobalTrack().
|
inline |
Definition at line 51 of file KfMeasurementTime.h.
Referenced by cbm::algo::kf::TrackKalmanFilter< DataT >::FilterTime(), and CbmRecoQaTask::View::Load().
std::string cbm::algo::kf::MeasurementTime< DataT >::ToString | ( | int | indentLevel = 0 | ) | const |
Methods for debugging String representation of class contents
indentLevel | number of indent characters in the output |
Definition at line 18 of file KfMeasurementTime.cxx.
Referenced by cbm::algo::kf::TrackKalmanFilter< DataT >::ToString().
|
friend |
Serialization function.
Definition at line 31 of file KfMeasurementTime.h.
|
private |
rms^2 of the time coordinate measurement
Definition at line 87 of file KfMeasurementTime.h.
|
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.
|
private |