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> 56 typedef HepGeom::Transform3D
Tr3D ;
57 typedef HepGeom::Point3D<CCGFloat>
Pt3D ;
104 static const CCGFloat*
checkParmPtr(
const std::vector<CCGFloat>&
vd ,
107 static const CCGFloat*
getParmPtr(
const std::vector<CCGFloat>& vd ,
113 virtual void getTransform( Tr3D& tr, Pt3DVec* lptr )
const ;
119 Pt3D& ref )
const = 0 ;
125 const CCGFloat* par ) ;
128 const CCGFloat* par ) ;
147 for (
unsigned int k=0;
k<cor.size(); ++
k)
157 0.25 * (cv[4].
y() + cv[5].
y() + cv[6].
y() + cv[7].
y()),
158 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
std::vector< ParVec > ParVecVec
void setRefPoint(const GlobalPoint &pos)
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
void setCornerVec(const std::vector< GlobalPoint > &cor)
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
virtual GlobalPoint getPosition(CCGFloat) const
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)
GlobalPoint const & getBackPoint() const
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
void setBackPoint(const GlobalPoint &pos)
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
virtual GlobalPoint getPosition(const Pt3D &) const
EZMgrFL< CCGFloat > ParMgr
static const CCGFloat * checkParmPtr(const std::vector< CCGFloat > &vd, ParVecVec &pvv)