10 #ifndef HERD_PHYSPOINT_H_ 11 #define HERD_PHYSPOINT_H_ 26 #include <type_traits> 56 PhysPoint(
float xCoo,
float yCoo,
float zCoo,
float resX = 0.,
float resY = 0.,
float resZ = 0.)
57 :
Point(xCoo, yCoo, zCoo),
_res{resX, resY, resZ} {}
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
A class describing a physical point in the 3D space.
Definition: PhysPoint.h:36
float ResX() const
Returns the resolution of the X coordinate of the point.
Definition: PhysPoint.h:75
#define DEFAULT_INIT(x)
Definition: DefaultValues.h:23
CooArray< float > ResAsArray() const
Returns the point resolution as array.
Definition: PhysPoint.h:108
CooArray< float > _res
Definition: PhysPoint.h:117
PhysPoint()
Default constructor.
Definition: PhysPoint.h:43
float ResY() const
Returns the resolution of the Y coordinate of the point.
Definition: PhysPoint.h:86
A class describing a vector in 3D space.
Definition: Vec3D.h:33
Vec3D Point
Definition: Point.h:23
PhysPoint(float xCoo, float yCoo, float zCoo, float resX=0., float resY=0., float resZ=0.)
Constructor.
Definition: PhysPoint.h:56
void SetResY(float resY)
Definition: PhysPoint.h:91
void SetResZ(float resZ)
Definition: PhysPoint.h:102
PhysPoint(const Vec3D &coo, std::array< float, 3 > res={0., 0., 0.})
Array constructor.
Definition: PhysPoint.h:66
void SetResX(float resX)
Definition: PhysPoint.h:80
void SetResFromArray(const std::array< float, 3 > arr)
Sets the resolution from array.
Definition: PhysPoint.h:114
virtual ~PhysPoint()=default
Virtual destructor.
float ResZ() const
Returns the resolution of the Z coordinate of the point.
Definition: PhysPoint.h:97