1 #ifndef TruncatedPyramid_h
2 #define TruncatedPyramid_h
5 #include <CLHEP/Geometry/Point3D.h>
6 #include <CLHEP/Geometry/Plane3D.h>
7 #include <CLHEP/Geometry/Vector3D.h>
8 #include <CLHEP/Geometry/Transform3D.h>
26 static constexpr uint32_t
k_Dz = 0;
29 static constexpr uint32_t
k_Phi = 2;
31 static constexpr uint32_t
k_Dy1 = 3;
32 static constexpr uint32_t
k_Dx1 = 4;
34 static constexpr uint32_t
k_Dx2 = 5;
36 static constexpr uint32_t
k_Alp1 = 6;
38 static constexpr uint32_t
k_Dy2 = 7;
39 static constexpr uint32_t
k_Dx3 = 8;
41 static constexpr uint32_t
k_Dx4 = 9;
43 static constexpr uint32_t
k_Alp2 = 10;
73 static void createCorners(
const std::vector<CCGFloat>&
pv,
const Tr3D& tr, std::vector<GlobalPoint>&
co);
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
CaloCellGeometry::Tr3D Tr3D
static constexpr uint32_t k_Dx4
static constexpr uint32_t k_Alp2
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
CaloCellGeometry::Pt3D Pt3D
HepGeom::Transform3D Tr3D
std::vector< Pt3D > Pt3DVec
CCGFloat getPhiAxis() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void getTransform(Tr3D &tr, Pt3DVec *lptr) const override
--------— only needed by specific utility; overloaded when needed -—
__host__ __device__ VT * co
static constexpr uint32_t k_Dy2
static constexpr uint32_t k_Phi
static void localCornersSwap(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
static constexpr uint32_t k_Alp1
CaloCellGeometry::Pt3DVec Pt3DVec
static constexpr uint32_t k_Dx3
static constexpr uint32_t k_Dx2
CCGFloat getThetaAxis() const
TruncatedPyramid & operator=(const TruncatedPyramid &tr)
GlobalVector makeAxis(void)
CaloCellGeometry::CCGFloat CCGFloat
void initCorners(CornersVec &) override
void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override
HepGeom::Point3D< CCGFloat > Pt3D
static constexpr uint32_t k_Theta
A base class to handle the particular shape of Ecal Xtals. Taken from ORCA Calorimetry Code...
static constexpr uint32_t k_Dy1
const GlobalVector & axis() const
static void createCorners(const std::vector< CCGFloat > &pv, const Tr3D &tr, std::vector< GlobalPoint > &co)
static constexpr uint32_t k_Dz
~TruncatedPyramid() override
const GlobalPoint backCtr(void) const
static void localCornersReflection(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
static constexpr uint32_t k_Dx1