Go to the documentation of this file. 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);
HepGeom::Transform3D Tr3D
std::vector< Pt3D > Pt3DVec
void initCorners(CornersVec &) override
void getTransform(Tr3D &tr, Pt3DVec *lptr) const override
--------— only needed by specific utility; overloaded when needed -—
static constexpr uint32_t k_Alp1
static constexpr uint32_t k_Dy1
static constexpr uint32_t k_Dx3
static constexpr uint32_t k_Dx1
CaloCellGeometry::Pt3DVec Pt3DVec
A base class to handle the particular shape of Ecal Xtals. Taken from ORCA Calorimetry Code.
const GlobalVector & axis() const
static void localCornersReflection(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
CaloCellGeometry::CCGFloat CCGFloat
TruncatedPyramid & operator=(const TruncatedPyramid &tr)
void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override
static constexpr uint32_t k_Theta
static void createCorners(const std::vector< CCGFloat > &pv, const Tr3D &tr, std::vector< GlobalPoint > &co)
HepGeom::Point3D< CCGFloat > Pt3D
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
static constexpr uint32_t k_Dz
std::ostream & operator<<(std::ostream &s, const TruncatedPyramid &cell)
CCGFloat getThetaAxis() const
~TruncatedPyramid() override
static constexpr uint32_t k_Phi
CaloCellGeometry::Tr3D Tr3D
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
static void localCornersSwap(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
static constexpr uint32_t k_Dx2
GlobalVector makeAxis(void)
CCGFloat getPhiAxis() const
static constexpr uint32_t k_Alp2
static constexpr uint32_t k_Dx4
CaloCellGeometry::Pt3D Pt3D
static constexpr uint32_t k_Dy2
const GlobalPoint backCtr(void) const