1 #ifndef GeometryCaloGeometryFlatHexagon_h 2 #define GeometryCaloGeometryFlatHexagon_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> 69 static void createCorners(
const std::vector<CCGFloat>&
pv,
const Tr3D& tr, std::vector<GlobalPoint>&
co);
float phiSpan() const override
static void createCorners(const std::vector< CCGFloat > &pv, const Tr3D &tr, std::vector< GlobalPoint > &co)
void setRefPoint(const GlobalPoint &pos)
void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override
Geom::Phi< T > phi() const
float phiPos() const override
GlobalVector makeAxis(void)
float etaSpan() const override
float etaPos() const override
CaloCellGeometry::Tr3D Tr3D
HepGeom::Transform3D Tr3D
std::ostream & operator<<(std::ostream &s, const FlatHexagon &cell)
std::vector< Pt3D > Pt3DVec
__host__ __device__ VT * co
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
static constexpr unsigned int ncorner_
CaloCellGeometry::Pt3D Pt3D
void setPosition(const GlobalPoint &p)
static constexpr uint32_t k_R
CaloCellGeometry::CCGFloat CCGFloat
static constexpr uint32_t k_r
void getTransform(Tr3D &tr, Pt3DVec *lptr) const override
--------— only needed by specific utility; overloaded when needed -—
CCGFloat getPhiAxis() const
FlatHexagon & operator=(const FlatHexagon &tr)
const GlobalVector & axis() const
A base class to handle the hexagonal shape of HGCal silicon volumes.
CaloCellGeometry::CCGFloat CCGFloat
CaloCellGeometry::Pt3DVec Pt3DVec
void initCorners(CornersVec &) override
GlobalPoint const & getPosition() const override
Returns the position of reference for this cell.
GlobalPoint backCtr(void) const
CaloCellGeometry::Pt3D Pt3D
static constexpr unsigned int ncornerBy2_
static constexpr uint32_t k_dZ
CaloCellGeometry::Pt3DVec Pt3DVec
HepGeom::Point3D< CCGFloat > Pt3D
CaloCellGeometry::Tr3D Tr3D
CCGFloat getThetaAxis() const
Pt3D getLocal(const GlobalPoint &global) const
const CCGFloat * param() const
static constexpr double oneBySix_