14#include <boost/serialization/access.hpp>
34 template<
typename DataT>
38 friend class boost::serialization::access;
51 MeasurementU(DataT cosPhi, DataT sinPhi, DataT u, DataT du2, DataT ndf)
71 DataT
U()
const {
return fU; }
80 std::string
ToString(
int indentLevel = 0)
const;
97 friend class boost::serialization::access;
98 template<
class Archive>
std::string ToString(CbmCutId id)
Convert CbmCutId to a string representation.
Common constant definitions for the Kalman Filter library.
DataT fDu2
rms^2 of the measurement
MeasurementU(DataT cosPhi, DataT sinPhi, DataT u, DataT du2, DataT ndf)
bool IsFinite() const
Checks, if all fields are finite.
void SetSinPhi(DataT sinPhi)
MeasurementU()=default
default constructor
void serialize(Archive &ar, const unsigned int)
bool IsUndefined() const
Checks, if some fields are undefined.
void SetCosPhi(DataT cosPhi)
DataT fU
measurement, u = x * cos(phi) + y * sin(phi)
DataT fNdf
number of degrees of freedom (used for chi2 calculation) if ndf == 1, the measurement is used in the ...
constexpr T2 Undef
Undefined values.
bool IsFinite(const T &val)
Checks whether a variable of a particular type is finite.
bool IsUndefined(const T &val)
Checks whether a variable of a particular type defined.
class cbm::algo::kf::MeasurementTime _fvecalignment