Go to the documentation of this file. 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)
142 0.25 * (
cv[4].
z() +
cv[5].
z() +
cv[6].
z() +
cv[7].
z()));
HepGeom::Transform3D Tr3D
std::vector< Pt3D > Pt3DVec
virtual GlobalPoint getPosition(CCGFloat) const
virtual void initCorners(CornersVec &)=0
virtual float etaSpan() const
void setBackPoint(const GlobalPoint &pos)
static constexpr unsigned int k_cornerSize
CaloCellGeometry::CCGFloat CCGFloat
CornersVec const & getCorners() const
Returns the corner points of this cell's volume.
std::vector< DeviationSensor2D * > vd
EZMgrFL< CCGFloat > ParMgr
RepCorners const & getCornersREP() const
virtual void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const =0
CaloCellGeometry::Pt3D Pt3D
MgrType::const_reference const_reference
CaloCellGeometry::Tr3D Tr3D
bool inside(const GlobalPoint &point) const
Returns true if the specified point is inside this cell.
Global3DPoint GlobalPoint
HepGeom::Point3D< CCGFloat > Pt3D
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
float rho() const
transverse momentum
EZMgrFL< GlobalPoint > CornersMgr
void setCornerVec(const std::vector< GlobalPoint > &cor)
virtual GlobalPoint getPosition(const Pt3D &) const
const CCGFloat * param() const
virtual void getTransform(Tr3D &tr, Pt3DVec *lptr) const
--------— only needed by specific utility; overloaded when needed -—
std::ostream & operator<<(std::ostream &s, const CaloCellGeometry &cell)
float eta() const
momentum pseudorapidity
GlobalPoint const & getBackPoint() const
static const CCGFloat * checkParmPtr(const std::vector< CCGFloat > &vd, ParVecVec &pvv)
EZArrayFL< GlobalPoint > CornersVec
float phi() const
momentum azimuthal angle
std::vector< ParVec > ParVecVec
virtual float etaPos() const
void setRefPoint(const GlobalPoint &pos)
virtual float rhoPos() const
std::array< RhoEtaPhi, k_cornerSize > RepCorners
EZArrayFL< CCGFloat > ParVec
virtual ~CaloCellGeometry()
virtual float phiSpan() const
static const CCGFloat k_ScaleFromDDDtoGeant
static const CCGFloat * getParmPtr(const std::vector< CCGFloat > &vd, ParMgr *mgr, ParVecVec &pvv)
RhoEtaPhi const & repPos() const
virtual float phiPos() const
std::array< RhoEtaPhi, k_cornerSize > m_repCorners
CaloCellGeometry::Pt3DVec Pt3DVec
Abs< T >::type abs(const T &t)
*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
bool uninitialized() const
bool emptyCorners() const