#include <IdealZPrism.h>
Public Types | |
typedef CaloCellGeometry::CCGFloat | CCGFloat |
typedef CaloCellGeometry::Pt3D | Pt3D |
typedef CaloCellGeometry::Pt3DVec | Pt3DVec |
Public Types inherited from CaloCellGeometry | |
typedef float | CCGFloat |
typedef EZMgrFL< GlobalPoint > | CornersMgr |
enum | CornersSize { k_cornerSize = 8 } |
typedef EZArrayFL< GlobalPoint > | CornersVec |
typedef EZMgrFL< CCGFloat > | ParMgr |
typedef EZArrayFL< CCGFloat > | ParVec |
typedef std::vector< ParVec > | ParVecVec |
typedef HepGeom::Point3D < CCGFloat > | Pt3D |
typedef std::vector< Pt3D > | Pt3DVec |
typedef HepGeom::Transform3D | Tr3D |
Public Member Functions | |
CCGFloat | dEta () const |
CCGFloat | dPhi () const |
CCGFloat | dz () const |
CCGFloat | eta () const |
virtual const CornersVec & | getCorners () const |
Returns the corner points of this cell's volume. More... | |
IdealZPrism () | |
IdealZPrism (const IdealZPrism &idzp) | |
IdealZPrism (const GlobalPoint &faceCenter, const CornersMgr *mgr, const CCGFloat *parm) | |
IdealZPrism & | operator= (const IdealZPrism &idzp) |
virtual void | vocalCorners (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const |
CCGFloat | z () const |
virtual | ~IdealZPrism () |
Public Member Functions inherited from CaloCellGeometry | |
bool | emptyCorners () const |
const GlobalPoint & | getPosition () const |
Returns the position of reference for this cell. More... | |
virtual void | getTransform (Tr3D &tr, Pt3DVec *lptr) const |
--------— only needed by specific utility; overloaded when needed -— More... | |
bool | inside (const GlobalPoint &point) const |
Returns true if the specified point is inside this cell. More... | |
const CCGFloat * | param () const |
virtual | ~CaloCellGeometry () |
Static Public Member Functions | |
static void | localCorners (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) |
Static Public Member Functions inherited from CaloCellGeometry | |
static const CCGFloat * | checkParmPtr (const std::vector< CCGFloat > &vd, ParVecVec &pvv) |
static const CCGFloat * | getParmPtr (const std::vector< CCGFloat > &vd, ParMgr *mgr, ParVecVec &pvv) |
Static Private Member Functions | |
static GlobalPoint | etaPhiPerp (float eta, float phi, float perp) |
static GlobalPoint | etaPhiR (float eta, float phi, float rad) |
static GlobalPoint | etaPhiZ (float eta, float phi, float z) |
Additional Inherited Members | |
Static Public Attributes inherited from CaloCellGeometry | |
static const CCGFloat | k_ScaleFromDDDtoGeant |
Protected Member Functions inherited from CaloCellGeometry | |
CaloCellGeometry (CornersVec::const_reference gp, const CornersMgr *mgr, const CCGFloat *par) | |
CaloCellGeometry (const CornersVec &cv, const CCGFloat *par) | |
CaloCellGeometry (void) | |
CaloCellGeometry (const CaloCellGeometry &cell) | |
CaloCellGeometry & | operator= (const CaloCellGeometry &cell) |
CornersVec & | setCorners () const |
Prism class used for HF volumes. HF volumes are prisms with axes along the Z direction whose face shapes are set by
Required parameters for an ideal Z prism:
Total: 6 parameters
Internally, the "point of reference" is the center (eta/phi) of the front face of the prism. Therefore, the only internally stored parameters are eta and phi HALF-widths and the tower z thickness.
Definition at line 27 of file IdealZPrism.h.
Definition at line 31 of file IdealZPrism.h.
Definition at line 32 of file IdealZPrism.h.
Definition at line 33 of file IdealZPrism.h.
IdealZPrism::IdealZPrism | ( | ) |
Definition at line 8 of file IdealZPrism.cc.
IdealZPrism::IdealZPrism | ( | const IdealZPrism & | idzp | ) |
Definition at line 12 of file IdealZPrism.cc.
IdealZPrism::IdealZPrism | ( | const GlobalPoint & | faceCenter, |
const CornersMgr * | mgr, | ||
const CCGFloat * | parm | ||
) |
Definition at line 25 of file IdealZPrism.cc.
|
virtual |
Definition at line 31 of file IdealZPrism.cc.
CCGFloat IdealZPrism::dEta | ( | ) | const |
Definition at line 35 of file IdealZPrism.cc.
References CaloCellGeometry::param().
Referenced by getCorners(), localCorners(), and operator<<().
CCGFloat IdealZPrism::dPhi | ( | ) | const |
Definition at line 41 of file IdealZPrism.cc.
References CaloCellGeometry::param().
Referenced by getCorners(), localCorners(), and operator<<().
CCGFloat IdealZPrism::dz | ( | ) | const |
Definition at line 47 of file IdealZPrism.cc.
References CaloCellGeometry::param().
Referenced by getCorners(), localCorners(), and operator<<().
CCGFloat IdealZPrism::eta | ( | void | ) | const |
Definition at line 53 of file IdealZPrism.cc.
References CaloCellGeometry::param().
Referenced by getCorners(), and localCorners().
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 93 of file IdealZPrism.cc.
Referenced by getCorners(), and localCorners().
|
virtual |
Returns the corner points of this cell's volume.
Implements CaloCellGeometry.
Definition at line 145 of file IdealZPrism.cc.
References dEta(), dPhi(), dz(), eta(), PV3DBase< T, PVType, FrameType >::eta(), etaPhiZ(), CaloCellGeometry::getCorners(), CaloCellGeometry::getPosition(), AlCaHLTBitMon_ParallelJobs::p, phi, PV3DBase< T, PVType, FrameType >::phi(), CaloCellGeometry::setCorners(), EZArrayFL< T >::uninitialized(), vdt::x, detailsBasic3DVector::y, and PV3DBase< T, PVType, FrameType >::z().
Definition at line 103 of file IdealZPrism.cc.
References dEta(), dPhi(), dz(), eta(), etaPhiPerp(), etaPhiR(), etaPhiZ(), diffTwoXMLs::g1, diffTwoXMLs::g2, i, PV3DBase< T, PVType, FrameType >::mag(), AlCaHLTBitMon_ParallelJobs::p, vdt::x, detailsBasic3DVector::y, and z().
Referenced by HcalGeometry::localCorners(), and vocalCorners().
IdealZPrism & IdealZPrism::operator= | ( | const IdealZPrism & | idzp | ) |
Definition at line 19 of file IdealZPrism.cc.
References CaloCellGeometry::operator=().
Implements CaloCellGeometry.
Definition at line 65 of file IdealZPrism.cc.
References localCorners().
CCGFloat IdealZPrism::z | ( | ) | const |
Definition at line 59 of file IdealZPrism.cc.
References CaloCellGeometry::param().
Referenced by localCorners(), and geometryXMLparser.Alignable::pos().