#include <IdealCastorTrapezoid.h>
Public Types | |
typedef CaloCellGeometry::CCGFloat | CCGFloat |
typedef CaloCellGeometry::Pt3D | Pt3D |
typedef CaloCellGeometry::Pt3DVec | Pt3DVec |
typedef CaloCellGeometry::Tr3D | Tr3D |
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 | an () const |
CCGFloat | dh () const |
CCGFloat | dhz () const |
CCGFloat | dR () const |
CCGFloat | dx () const |
CCGFloat | dxh () const |
CCGFloat | dxl () const |
CCGFloat | dy () const |
CCGFloat | dz () const |
CCGFloat | dzb () const |
CCGFloat | dzs () const |
virtual const CornersVec & | getCorners () const |
Returns the corner points of this cell's volume. More... | |
IdealCastorTrapezoid () | |
IdealCastorTrapezoid (const IdealCastorTrapezoid &idct) | |
IdealCastorTrapezoid (const GlobalPoint &faceCenter, const CornersMgr *mgr, const CCGFloat *parm) | |
IdealCastorTrapezoid & | operator= (const IdealCastorTrapezoid &idct) |
virtual void | vocalCorners (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const |
virtual | ~IdealCastorTrapezoid () |
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) |
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 |
Trapezoid class used for CASTOR volumes.
Required parameters for an ideal trapezoid:
Total: 6+3 parameters
Definition at line 33 of file IdealCastorTrapezoid.h.
Definition at line 37 of file IdealCastorTrapezoid.h.
Definition at line 38 of file IdealCastorTrapezoid.h.
Definition at line 39 of file IdealCastorTrapezoid.h.
Definition at line 40 of file IdealCastorTrapezoid.h.
IdealCastorTrapezoid::IdealCastorTrapezoid | ( | ) |
Definition at line 11 of file IdealCastorTrapezoid.cc.
IdealCastorTrapezoid::IdealCastorTrapezoid | ( | const IdealCastorTrapezoid & | idct | ) |
Definition at line 16 of file IdealCastorTrapezoid.cc.
IdealCastorTrapezoid::IdealCastorTrapezoid | ( | const GlobalPoint & | faceCenter, |
const CornersMgr * | mgr, | ||
const CCGFloat * | parm | ||
) |
Definition at line 29 of file IdealCastorTrapezoid.cc.
|
virtual |
Definition at line 36 of file IdealCastorTrapezoid.cc.
CCGFloat IdealCastorTrapezoid::an | ( | ) | const |
Definition at line 95 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by dhz(), dy(), and localCorners().
CCGFloat IdealCastorTrapezoid::dh | ( | ) | const |
Definition at line 59 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by dhz(), dy(), and localCorners().
CCGFloat IdealCastorTrapezoid::dhz | ( | ) | const |
Definition at line 77 of file IdealCastorTrapezoid.cc.
References an(), funct::cos(), and dh().
Referenced by dzb(), dzs(), and localCorners().
CCGFloat IdealCastorTrapezoid::dR | ( | ) | const |
Definition at line 101 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by getCorners().
CCGFloat IdealCastorTrapezoid::dx | ( | ) | const |
Definition at line 53 of file IdealCastorTrapezoid.cc.
Referenced by getCorners(), and localCorners().
CCGFloat IdealCastorTrapezoid::dxh | ( | ) | const |
Definition at line 47 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by dx(), and localCorners().
CCGFloat IdealCastorTrapezoid::dxl | ( | ) | const |
Definition at line 41 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by dx(), and localCorners().
CCGFloat IdealCastorTrapezoid::dy | ( | ) | const |
Definition at line 65 of file IdealCastorTrapezoid.cc.
References an(), dh(), and funct::sin().
Referenced by getCorners(), and localCorners().
CCGFloat IdealCastorTrapezoid::dz | ( | ) | const |
Definition at line 71 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by dzb(), dzs(), getCorners(), and localCorners().
CCGFloat IdealCastorTrapezoid::dzb | ( | ) | const |
CCGFloat IdealCastorTrapezoid::dzs | ( | ) | const |
|
virtual |
Returns the corner points of this cell's volume.
Implements CaloCellGeometry.
Definition at line 148 of file IdealCastorTrapezoid.cc.
References funct::cos(), dR(), dx(), dy(), dz(), CaloCellGeometry::getCorners(), CaloCellGeometry::getPosition(), i, localCorners(), python.rootplot.utilities::ls(), AlCaHLTBitMon_ParallelJobs::p, CaloCellGeometry::param(), phi, rho, CaloCellGeometry::setCorners(), funct::sin(), EZArrayFL< T >::uninitialized(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Definition at line 115 of file IdealCastorTrapezoid.cc.
References an(), funct::cos(), dh(), dhz(), dx(), dxh(), dxl(), dy(), dz(), dzb(), dzs(), and funct::sin().
Referenced by getCorners(), CastorGeometry::localCorners(), and vocalCorners().
IdealCastorTrapezoid & IdealCastorTrapezoid::operator= | ( | const IdealCastorTrapezoid & | idct | ) |
Definition at line 23 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::operator=().
|
virtual |
Implements CaloCellGeometry.
Definition at line 107 of file IdealCastorTrapezoid.cc.
References localCorners().