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>
27 static constexpr uint32_t
k_dZ = 0;
28 static constexpr uint32_t
k_r = 1;
29 static constexpr uint32_t
k_R = 2;
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
float phiPos() const override
Geom::Phi< T > phi() const
GlobalVector makeAxis(void)
float etaSpan() const override
float etaPos() const override
CaloCellGeometry::Tr3D Tr3D
HepGeom::Transform3D Tr3D
std::vector< Pt3D > Pt3DVec
std::ostream & operator<<(std::ostream &out, const ALILine &li)
const GlobalVector & axis() const
__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
const CCGFloat * param() const
static constexpr uint32_t k_r
void getTransform(Tr3D &tr, Pt3DVec *lptr) const override
--------— only needed by specific utility; overloaded when needed -—
FlatHexagon & operator=(const FlatHexagon &tr)
A base class to handle the hexagonal shape of HGCal silicon volumes.
CaloCellGeometry::CCGFloat CCGFloat
CaloCellGeometry::Pt3DVec Pt3DVec
Pt3D getLocal(const GlobalPoint &global) const
void initCorners(CornersVec &) override
GlobalPoint const & getPosition() const override
Returns the position of reference for this cell.
CaloCellGeometry::Pt3D Pt3D
static constexpr unsigned int ncornerBy2_
static constexpr uint32_t k_dZ
CCGFloat getPhiAxis() const
CaloCellGeometry::Pt3DVec Pt3DVec
HepGeom::Point3D< CCGFloat > Pt3D
CaloCellGeometry::Tr3D Tr3D
GlobalPoint backCtr(void) const
static constexpr double oneBySix_
CCGFloat getThetaAxis() const