15#include <boost/serialization/access.hpp>
28 friend class boost::serialization::access;
44 template<
typename FSrc>
94 std::string
ToString(
int indentLevel = 0)
const;
109 template<
class Archive>
std::string ToString(CbmCutId id)
Convert CbmCutId to a string representation.
F fYmin
lower bound for active plane in y-direction [cm]
EFieldType fFieldType
Type of magnetic field near the layer.
ActiveLayer & operator=(ActiveLayer &&)=default
Move assignment operator.
ActiveLayer & operator=(const ActiveLayer &)=default
Copy assignment operator.
EFieldType GetFieldType() const
Gets field type.
F GetXmax() const
Gets upper bound in x-direction [cm].
ActiveLayer()=default
Default constructor (for serialization)
ActiveLayer(const ActiveLayer &)=default
Standard copy constructor.
bool IsInField() const
Checks, if the layer is in magnetic field.
F fXmin
lower bound for active plane in x-direction [cm]
F GetZref() const
Gets reference z-coordinate of the layer [cm].
ActiveLayer(ActiveLayer &&)=default
Move constructor.
F fXmax
upper bound for active plane in x-direction [cm]
F fZref
reference z-coordinate of the layer [cm]
F fYmax
upper bound for active plane in y-direction [cm]
void serialize(Archive &ar, const unsigned int)
Serialization method.
bool fTimeInfo
If time-measurement accessible.
ActiveLayer(const ActiveLayer< FSrc > &other)
Type conversion copy constructor.
F GetYmin() const
Gets lower bound in y-direction [cm].
F GetYmax() const
Gets upper bound in y-direction [cm].
F GetXmin() const
Gets lower bound in x-direction [cm].
bool IsTimeMeasured() const
Checks, if time measurement available.
constexpr T2 Undef
Undefined values.
EFieldType
Magnetic field type in different setup regions.