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> 58 typedef HepGeom::Transform3D
Tr3D ;
59 typedef HepGeom::Point3D<CCGFloat>
Pt3D ;
103 static const CCGFloat*
checkParmPtr(
const std::vector<CCGFloat>&
vd ,
106 static const CCGFloat*
getParmPtr(
const std::vector<CCGFloat>& vd ,
112 virtual void getTransform( Tr3D& tr, Pt3DVec* lptr )
const ;
117 Pt3D& ref )
const = 0 ;
123 const CCGFloat* par ) ;
126 const CCGFloat* par ) ;
147 0.25 * (cv[4].
y() + cv[5].
y() + cv[6].
y() + cv[7].
y()),
148 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
bool emptyCorners() const
EZArrayFL< CCGFloat > ParVec
const GlobalPoint & getBackPoint() const
std::vector< ParVec > ParVecVec
virtual void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const =0
virtual const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
Global3DPoint GlobalPoint
HepGeom::Transform3D Tr3D
std::vector< Pt3D > Pt3DVec
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
std::vector< DeviationSensor2D * > vd
std::ostream & operator<<(std::ostream &s, const CaloCellGeometry &cell)
virtual void getTransform(Tr3D &tr, Pt3DVec *lptr) const
--------— only needed by specific utility; overloaded when needed -—
virtual ~CaloCellGeometry()
Abs< T >::type abs(const T &t)
static const CCGFloat * getParmPtr(const std::vector< CCGFloat > &vd, ParMgr *mgr, ParVecVec &pvv)
static const CCGFloat k_ScaleFromDDDtoGeant
bool inside(const GlobalPoint &point) const
Returns true if the specified point is inside this cell.
virtual void initCorners(CornersVec &)=0
std::array< RhoEtaPhi, k_cornerSize > m_repCorners
HepGeom::Point3D< CCGFloat > Pt3D
CornersVec const & getCorners() const
Returns the corner points of this cell's volume.
bool uninitialized() const
std::array< RhoEtaPhi, k_cornerSize > RepCorners
float eta() const
momentum pseudorapidity
*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
EZMgrFL< CCGFloat > ParMgr
static const CCGFloat * checkParmPtr(const std::vector< CCGFloat > &vd, ParVecVec &pvv)