|
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.
References fCosPhi.
Referenced by IsFinite(), IsUndefined(), and ToString().
|
inline |
Definition at line 72 of file KfMeasurementU.h.
References fDu2.
Referenced by IsFinite(), IsUndefined(), and ToString().
|
inline |
Checks, if all fields are finite.
Definition at line 83 of file KfMeasurementU.h.
References CosPhi(), Du2(), cbm::algo::kf::utils::IsFinite(), Ndf(), SinPhi(), and U().
|
inline |
Checks, if some fields are undefined.
Definition at line 90 of file KfMeasurementU.h.
References CosPhi(), Du2(), cbm::algo::kf::utils::IsUndefined(), Ndf(), SinPhi(), and U().
|
inline |
Definition at line 73 of file KfMeasurementU.h.
References fNdf.
Referenced by IsFinite(), IsUndefined(), and ToString().
|
inline |
|
inline |
Setters and getters
Definition at line 63 of file KfMeasurementU.h.
References fCosPhi.
Referenced by cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::FilterXY().
|
inline |
Definition at line 66 of file KfMeasurementU.h.
References fDu2.
|
inline |
Definition at line 67 of file KfMeasurementU.h.
References fNdf.
|
inline |
Definition at line 64 of file KfMeasurementU.h.
References fSinPhi.
Referenced by cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::FilterXY().
|
inline |
Definition at line 65 of file KfMeasurementU.h.
References fU.
Referenced by cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::FilterXY().
|
inline |
Definition at line 70 of file KfMeasurementU.h.
References fSinPhi.
Referenced by IsFinite(), IsUndefined(), and ToString().
| std::string cbm::algo::kf::MeasurementU< DataT >::ToString | ( | int | indentLevel = 0 | ) | const |
|
inline |
Definition at line 71 of file KfMeasurementU.h.
References fU.
Referenced by IsFinite(), IsUndefined(), and ToString().
|
friend |
Serialization function.
Definition at line 38 of file KfMeasurementU.h.
|
private |
cos(phi)
Data members
Definition at line 112 of file KfMeasurementU.h.
Referenced by CosPhi(), MeasurementU(), serialize(), and SetCosPhi().
|
private |
rms^2 of the measurement
Definition at line 115 of file KfMeasurementU.h.
Referenced by Du2(), MeasurementU(), serialize(), and SetDu2().
|
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.
Referenced by MeasurementU(), Ndf(), serialize(), and SetNdf().
|
private |
sin(phi)
Definition at line 113 of file KfMeasurementU.h.
Referenced by MeasurementU(), serialize(), SetSinPhi(), and SinPhi().
|
private |
measurement, u = x * cos(phi) + y * sin(phi)
Definition at line 114 of file KfMeasurementU.h.
Referenced by MeasurementU(), serialize(), SetU(), and U().