15#include <boost/serialization/access.hpp>
39 Target(
double x,
double y,
double z,
double dz,
double r);
45 : fMaterial(other.fMaterial)
46 , fX(utils::simd::Cast<I, T>(other.fX))
47 , fY(utils::simd::Cast<I, T>(other.fY))
48 , fZ(utils::simd::Cast<I, T>(other.fZ))
49 , fDz(utils::simd::Cast<I, T>(other.fDz))
50 , fR(utils::simd::Cast<I, T>(other.fR))
61 const T&
GetX()
const {
return fX; }
64 const T&
GetY()
const {
return fY; }
67 const T&
GetZ()
const {
return fZ; }
70 const T&
GetDz()
const {
return fDz; }
73 const T&
GetR()
const {
return fR; }
96 void SetZ(
const T& z) { fZ = z; }
100 void SetDz(
const T& dz) { fDz = dz; }
104 void SetR(
const T& r) { fR = r; }
109 std::string
ToString(
int indentLevel = 0,
int vebose = 1)
const;
113 friend class boost::serialization::access;
114 template<
class Archive>
126 T fX{defs::Undef<T>};
127 T fY{defs::Undef<T>};
128 T fZ{defs::Undef<T>};
129 T fDz{defs::Undef<T>};
130 T fR{defs::Undef<T>};
std::string ToString(ECbmModuleId modId)
Common constant definitions for the Kalman Filter library.
A map of station thickness in units of radiation length (X0) to the specific point in XY plane.
A geometry layer in the target region.
void SetR(const T &r)
Sets target transverse size.
const T & GetDz() const
Gets target half-thickness.
const T & GetY() const
Gets y-coordinate of the nominal target center.
const MaterialMap & GetMaterial() const
Gets material map.
void SetDz(const T &dz)
Sets target half-thickness.
void SetY(const T &y)
Sets y-coordinate of the nominal target center.
Target & operator=(const Target &other)=default
Copy assignment operator.
void SetZ(const T &z)
Sets x-coordinate of the nominal target center.
const T & GetX() const
Gets x-coordinate of the nominal target center.
~Target()=default
Destructor.
const T & GetR() const
Gets transverse size of target.
Target()=default
Default constructor.
void SetX(const T &x)
Sets x-coordinate of the nominal target center.
Target(const Target< I > &other)
Copy constructor.
const T & GetZ() const
Gets z-coordinate of the nominal target center.
void serialize(Archive &ar, const unsigned int)