CbmRoot
|
The class describes a 1D - measurement U in XY coordinate system. More...
#include <KfMeasurementU.h>
Public Member Functions | |
MeasurementU ()=default | |
default constructor | |
MeasurementU (DataT cosPhi, DataT sinPhi, DataT u, DataT du2, DataT ndf) | |
void | SetCosPhi (DataT cosPhi) |
void | SetSinPhi (DataT sinPhi) |
void | SetU (DataT u) |
void | SetDu2 (DataT du2) |
void | SetNdf (DataT ndf) |
DataT | CosPhi () const |
DataT | SinPhi () const |
DataT | U () const |
DataT | Du2 () const |
DataT | Ndf () 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 | fCosPhi = defs::Undef<DataT> |
cos(phi) | |
DataT | fSinPhi = defs::Undef<DataT> |
sin(phi) | |
DataT | fU = defs::Undef<DataT> |
measurement, u = x * cos(phi) + y * sin(phi) | |
DataT | fDu2 = defs::Undef<DataT> |
rms^2 of the measurement | |
DataT | fNdf = defs::Undef<DataT> |
number of degrees of freedom (used for chi2 calculation) if ndf == 1, the measurement is used in the chi2 calculation if ndf == 0, the measurement is not used in the chi2 calculation | |
Friends | |
class | boost::serialization::access |
Serialization function. | |
The class describes a 1D - measurement U in XY coordinate system.
The measurement is defined as
u = x * cos(phi) + y * sin(phi)
where phi is the azimuthal angle of the measurement direction and x, y are the coordinates of the measurement The measurement may be scaled, i.e. cos^2 + sin^2 must not necessarily be equal to 1 The measurement has a finite resolution, i.e. the measurement is not a point, 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 35 of file KfMeasurementU.h.
|
default |
default constructor
|
inline |
constructor
cosPhi | cos(phi) |
sinPhi | sin(phi) |
u | measurement, u = x * cos(phi) + y * sin(phi) |
du2 | rms^2 of the measurement |
ndf | number of degrees of freedom (used for chi2 calculation) if ndf == 1, the measurement is used in the chi2 calculation if ndf == 0, the measurement is not used in the chi2 calculation |
Definition at line 51 of file KfMeasurementU.h.
|
inline |
Definition at line 69 of file KfMeasurementU.h.
|
inline |
Definition at line 72 of file KfMeasurementU.h.
|
inline |
Checks, if all fields are finite.
Definition at line 83 of file KfMeasurementU.h.
|
inline |
Checks, if some fields are undefined.
Definition at line 90 of file KfMeasurementU.h.
|
inline |
Definition at line 73 of file KfMeasurementU.h.
|
inline |
Definition at line 99 of file KfMeasurementU.h.
|
inline |
Setters and getters
Definition at line 63 of file KfMeasurementU.h.
Referenced by cbm::algo::kf::TrackKalmanFilter< DataT >::FilterXY().
|
inline |
Definition at line 66 of file KfMeasurementU.h.
|
inline |
Definition at line 67 of file KfMeasurementU.h.
|
inline |
Definition at line 64 of file KfMeasurementU.h.
Referenced by cbm::algo::kf::TrackKalmanFilter< DataT >::FilterXY().
|
inline |
Definition at line 65 of file KfMeasurementU.h.
Referenced by cbm::algo::kf::TrackKalmanFilter< DataT >::FilterXY().
|
inline |
Definition at line 70 of file KfMeasurementU.h.
std::string cbm::algo::kf::MeasurementU< 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 19 of file KfMeasurementU.cxx.
|
inline |
Definition at line 71 of file KfMeasurementU.h.
|
friend |
Serialization function.
Definition at line 38 of file KfMeasurementU.h.
|
private |
|
private |
rms^2 of the measurement
Definition at line 115 of file KfMeasurementU.h.
|
private |
number of degrees of freedom (used for chi2 calculation) if ndf == 1, the measurement is used in the chi2 calculation if ndf == 0, the measurement is not used in the chi2 calculation
Definition at line 120 of file KfMeasurementU.h.
|
private |
sin(phi)
Definition at line 113 of file KfMeasurementU.h.
|
private |
measurement, u = x * cos(phi) + y * sin(phi)
Definition at line 114 of file KfMeasurementU.h.