1 #ifndef GeometryCaloGeometryFlatTrd_h 2 #define GeometryCaloGeometryFlatTrd_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> 59 const CCGFloat* parV ) ;
62 const CCGFloat* par ) ;
82 Pt3D& ref )
const override;
88 std::vector<GlobalPoint>& co ) ;
94 void getTransform( Tr3D& tr, Pt3DVec* lptr )
const override;
const GlobalVector & axis() const
A base class to handle the particular shape of HGCal volumes.
FlatTrd & operator=(const FlatTrd &tr)
static constexpr unsigned int ncornerBy2_
CaloCellGeometry::Pt3D Pt3D
void setRefPoint(const GlobalPoint &pos)
GlobalPoint const & getPosition() const override
Returns the position of reference for this cell.
Geom::Phi< T > phi() const
static constexpr uint32_t k_Theta
CaloCellGeometry::Pt3DVec Pt3DVec
HepGeom::Transform3D Tr3D
static constexpr uint32_t k_Cell
std::vector< Pt3D > Pt3DVec
static constexpr uint32_t k_dY1
void setPosition(const GlobalPoint &p)
std::ostream & operator<<(std::ostream &s, const FlatTrd &cell)
static constexpr unsigned int ncorner_
void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override
CaloCellGeometry::CCGFloat CCGFloat
static constexpr uint32_t k_dX1
static constexpr uint32_t k_dY2
GlobalPoint backCtr(void) const
static constexpr uint32_t k_dX4
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
void getTransform(Tr3D &tr, Pt3DVec *lptr) const override
--------— only needed by specific utility; overloaded when needed -—
Pt3D getLocal(const GlobalPoint &global) const
GlobalVector makeAxis(void)
static constexpr uint32_t k_Phi
void initCorners(CornersVec &) override
HepGeom::Point3D< CCGFloat > Pt3D
static void createCorners(const std::vector< CCGFloat > &pv, const Tr3D &tr, std::vector< GlobalPoint > &co)
static constexpr uint32_t k_dZ
CaloCellGeometry::Tr3D Tr3D
CCGFloat getThetaAxis() const
virtual float phiPos() const
static constexpr uint32_t k_Alp1
virtual float etaPos() const
static constexpr uint32_t k_dX3
CCGFloat getPhiAxis() const
static constexpr uint32_t k_dX2
static constexpr uint32_t k_Alp2