#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 |
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 |
using | RepCorners = std::array< RhoEtaPhi, k_cornerSize > |
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 |
IdealCastorTrapezoid () | |
IdealCastorTrapezoid (const IdealCastorTrapezoid &idct) | |
IdealCastorTrapezoid (const GlobalPoint &faceCenter, CornersMgr *mgr, const CCGFloat *parm) | |
IdealCastorTrapezoid & | operator= (const IdealCastorTrapezoid &idct) |
void | vocalCorners (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override |
~IdealCastorTrapezoid () override | |
Public Member Functions inherited from CaloCellGeometry | |
bool | emptyCorners () const |
virtual float | etaPos () const |
virtual float | etaSpan () const |
GlobalPoint const & | getBackPoint () const |
CornersVec const & | getCorners () const |
Returns the corner points of this cell's volume. More... | |
RepCorners const & | getCornersREP () const |
virtual const GlobalPoint & | getPosition () const |
Returns the position of reference for this cell. More... | |
virtual GlobalPoint | getPosition (CCGFloat) const |
virtual GlobalPoint | getPosition (const Pt3D &) const |
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 float | phiPos () const |
virtual float | phiSpan () const |
RhoEtaPhi const & | repPos () const |
virtual float | rhoPos () const |
void | setBackPoint (const GlobalPoint &pos) |
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) |
Private Member Functions | |
void | initCorners (CornersVec &) override |
Additional Inherited Members | |
Static Public Attributes inherited from CaloCellGeometry | |
static constexpr unsigned int | k_cornerSize = 8 |
static const CCGFloat | k_ScaleFromDDDtoGeant |
Protected Member Functions inherited from CaloCellGeometry | |
CaloCellGeometry (CornersVec::const_reference gp, CornersMgr *mgr, const CCGFloat *par) | |
CaloCellGeometry (const CornersVec &cv, const CCGFloat *par) | |
CaloCellGeometry (void) | |
void | initSpan () |
void | setCornerVec (const std::vector< GlobalPoint > &cor) |
void | setRefPoint (const GlobalPoint &pos) |
Trapezoid class used for CASTOR volumes.
Required parameters for an ideal trapezoid:
Total: 6+3 parameters
Definition at line 32 of file IdealCastorTrapezoid.h.
Definition at line 34 of file IdealCastorTrapezoid.h.
Definition at line 35 of file IdealCastorTrapezoid.h.
Definition at line 36 of file IdealCastorTrapezoid.h.
Definition at line 37 of file IdealCastorTrapezoid.h.
IdealCastorTrapezoid::IdealCastorTrapezoid | ( | ) |
Definition at line 11 of file IdealCastorTrapezoid.cc.
IdealCastorTrapezoid::IdealCastorTrapezoid | ( | const IdealCastorTrapezoid & | idct | ) |
Definition at line 13 of file IdealCastorTrapezoid.cc.
IdealCastorTrapezoid::IdealCastorTrapezoid | ( | const GlobalPoint & | faceCenter, |
CornersMgr * | mgr, | ||
const CCGFloat * | parm | ||
) |
|
override |
Definition at line 26 of file IdealCastorTrapezoid.cc.
CCGFloat IdealCastorTrapezoid::an | ( | ) | const |
Definition at line 46 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by dhz(), dy(), and localCorners().
CCGFloat IdealCastorTrapezoid::dh | ( | ) | const |
Definition at line 34 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by dhz(), dy(), and localCorners().
CCGFloat IdealCastorTrapezoid::dhz | ( | ) | const |
Definition at line 40 of file IdealCastorTrapezoid.cc.
References an(), funct::cos(), and dh().
Referenced by dzb(), dzs(), and localCorners().
CCGFloat IdealCastorTrapezoid::dR | ( | ) | const |
Definition at line 48 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by initCorners().
CCGFloat IdealCastorTrapezoid::dx | ( | ) | const |
Definition at line 32 of file IdealCastorTrapezoid.cc.
Referenced by initCorners(), and localCorners().
CCGFloat IdealCastorTrapezoid::dxh | ( | ) | const |
Definition at line 30 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by dx(), and localCorners().
CCGFloat IdealCastorTrapezoid::dxl | ( | ) | const |
Definition at line 28 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by dx(), and localCorners().
CCGFloat IdealCastorTrapezoid::dy | ( | ) | const |
Definition at line 36 of file IdealCastorTrapezoid.cc.
References an(), dh(), and funct::sin().
Referenced by initCorners(), and localCorners().
CCGFloat IdealCastorTrapezoid::dz | ( | ) | const |
Definition at line 38 of file IdealCastorTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by Electron.Electron::cutBasedId(), dzb(), ntupleDataFormat.Track::dzPull(), dzs(), initCorners(), and localCorners().
CCGFloat IdealCastorTrapezoid::dzb | ( | ) | const |
CCGFloat IdealCastorTrapezoid::dzs | ( | ) | const |
|
overrideprivatevirtual |
Implements CaloCellGeometry.
Definition at line 83 of file IdealCastorTrapezoid.cc.
References funct::cos(), dR(), dx(), dy(), dz(), CaloCellGeometry::getPosition(), gf, mps_fire::i, localCorners(), eostools::ls(), AlCaHLTBitMon_ParallelJobs::p, CaloCellGeometry::param(), phi, rho, funct::sin(), EZArrayFL< T >::uninitialized(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Definition at line 54 of file IdealCastorTrapezoid.cc.
References an(), cms::cuda::assert(), funct::cos(), dh(), dhz(), dx(), dxh(), dxl(), dy(), dz(), dzb(), dzs(), and funct::sin().
Referenced by initCorners(), CastorGeometry::localCorners(), and vocalCorners().
IdealCastorTrapezoid & IdealCastorTrapezoid::operator= | ( | const IdealCastorTrapezoid & | idct | ) |
Definition at line 15 of file IdealCastorTrapezoid.cc.
|
overridevirtual |
Implements CaloCellGeometry.
Definition at line 50 of file IdealCastorTrapezoid.cc.
References localCorners().