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