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