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> 57 const CCGFloat* parV ) ;
60 const CCGFloat* par ) ;
77 std::vector<GlobalPoint>& co ) ;
81 Pt3D& ref )
const override;
95 void getTransform( Tr3D& tr, Pt3DVec* lptr )
const override;
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
static constexpr uint32_t k_Dy2
static constexpr uint32_t k_Phi
std::ostream & operator<<(std::ostream &s, const TruncatedPyramid &cell)
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 getTransform(Tr3D &tr, Pt3DVec *lptr) const override
--------— only needed by specific utility; overloaded when needed -—
HepGeom::Point3D< CCGFloat > Pt3D
void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override
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