1 #ifndef GEOMETRY_CALOGEOMETRY_CALOCELLGEOMETRY_H
2 #define GEOMETRY_CALOGEOMETRY_CALOCELLGEOMETRY_H 1
7 #include <CLHEP/Geometry/Point3D.h>
8 #include <CLHEP/Geometry/Transform3D.h>
53 typedef HepGeom::Transform3D
Tr3D;
54 typedef HepGeom::Point3D<CCGFloat>
Pt3D;
132 for (
unsigned int k = 0;
k < cor.size(); ++
k)
141 0.25 * (cv[4].
y() + cv[5].
y() + cv[6].
y() + cv[7].
y()),
142 0.25 * (cv[4].
z() + cv[5].
z() + cv[6].
z() + cv[7].
z()));
float phi() const
momentum azimuthal angle
EZArrayFL< GlobalPoint > CornersVec
float rho() const
transverse momentum
EZMgrFL< CCGFloat > ParMgr
bool emptyCorners() const
EZArrayFL< CCGFloat > ParVec
std::vector< ParVec > ParVecVec
void setRefPoint(const GlobalPoint &pos)
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
Global3DPoint GlobalPoint
void setCornerVec(const std::vector< GlobalPoint > &cor)
virtual float rhoPos() const
HepGeom::Transform3D Tr3D
std::vector< Pt3D > Pt3DVec
std::ostream & operator<<(std::ostream &out, const ALILine &li)
EZMgrFL< GlobalPoint > CornersMgr
RhoEtaPhi const & repPos() const
static constexpr unsigned int k_cornerSize
RepCorners const & getCornersREP() const
MgrType::const_reference const_reference
const CCGFloat * param() const
virtual GlobalPoint getPosition(CCGFloat) const
virtual float etaSpan() const
virtual void getTransform(Tr3D &tr, Pt3DVec *lptr) const
--------— only needed by specific utility; overloaded when needed -—
virtual ~CaloCellGeometry()
std::array< RhoEtaPhi, k_cornerSize > m_repCorners
Abs< T >::type abs(const T &t)
CaloCellGeometry::CCGFloat CCGFloat
GlobalPoint const & getBackPoint() const
std::array< RhoEtaPhi, k_cornerSize > RepCorners
static const CCGFloat * getParmPtr(const std::vector< CCGFloat > &vd, ParMgr *mgr, ParVecVec &pvv)
virtual float phiSpan() const
static const CCGFloat k_ScaleFromDDDtoGeant
virtual void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const =0
std::vector< DeviationSensor2D * > vd
CaloCellGeometry::Pt3D Pt3D
bool inside(const GlobalPoint &point) const
Returns true if the specified point is inside this cell.
virtual void initCorners(CornersVec &)=0
CaloCellGeometry::Pt3DVec Pt3DVec
HepGeom::Point3D< CCGFloat > Pt3D
void setBackPoint(const GlobalPoint &pos)
CornersVec const & getCorners() const
Returns the corner points of this cell's volume.
CaloCellGeometry::Tr3D Tr3D
virtual float phiPos() const
bool uninitialized() const
float eta() const
momentum pseudorapidity
virtual float etaPos() const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
virtual GlobalPoint getPosition(const Pt3D &) const
static const CCGFloat * checkParmPtr(const std::vector< CCGFloat > &vd, ParVecVec &pvv)