#include <IdealZDCTrapezoid.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 | dt () const |
CCGFloat | dx () const |
CCGFloat | dy () const |
CCGFloat | dz () const |
IdealZDCTrapezoid () | |
IdealZDCTrapezoid (const IdealZDCTrapezoid &idzt) | |
IdealZDCTrapezoid (const GlobalPoint &faceCenter, CornersMgr *mgr, const CCGFloat *parm) | |
IdealZDCTrapezoid & | operator= (const IdealZDCTrapezoid &idzt) |
CCGFloat | ta () const |
void | vocalCorners (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override |
~IdealZDCTrapezoid () 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 (CaloCellGeometry::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 () | |
CaloCellGeometry (CaloCellGeometry &&)=default | |
CaloCellGeometry (CaloCellGeometry const &)=default | |
void | initSpan () |
CaloCellGeometry & | operator= (CaloCellGeometry &&)=default |
CaloCellGeometry & | operator= (CaloCellGeometry const &)=default |
void | setCornerVec (const std::vector< GlobalPoint > &cor) |
void | setRefPoint (const GlobalPoint &pos) |
Trapezoid class used for ZDC volumes.
Required parameters for an ideal zdc trapezoid:
Total: 7 parameters
Definition at line 22 of file IdealZDCTrapezoid.h.
Definition at line 24 of file IdealZDCTrapezoid.h.
Definition at line 25 of file IdealZDCTrapezoid.h.
Definition at line 26 of file IdealZDCTrapezoid.h.
Definition at line 27 of file IdealZDCTrapezoid.h.
IdealZDCTrapezoid::IdealZDCTrapezoid | ( | ) |
Definition at line 8 of file IdealZDCTrapezoid.cc.
IdealZDCTrapezoid::IdealZDCTrapezoid | ( | const IdealZDCTrapezoid & | idzt | ) |
Definition at line 10 of file IdealZDCTrapezoid.cc.
IdealZDCTrapezoid::IdealZDCTrapezoid | ( | const GlobalPoint & | faceCenter, |
CornersMgr * | mgr, | ||
const CCGFloat * | parm | ||
) |
|
override |
Definition at line 23 of file IdealZDCTrapezoid.cc.
CCGFloat IdealZDCTrapezoid::an | ( | ) | const |
Definition at line 25 of file IdealZDCTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by localCorners(), operator<<(), and ta().
CCGFloat IdealZDCTrapezoid::dt | ( | ) | const |
CCGFloat IdealZDCTrapezoid::dx | ( | ) | const |
Definition at line 27 of file IdealZDCTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by initCorners(), localCorners(), and operator<<().
CCGFloat IdealZDCTrapezoid::dy | ( | ) | const |
Definition at line 29 of file IdealZDCTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by dt(), localCorners(), and operator<<().
CCGFloat IdealZDCTrapezoid::dz | ( | ) | const |
Definition at line 31 of file IdealZDCTrapezoid.cc.
References CaloCellGeometry::param().
Referenced by Electron.Electron::cutBasedId(), ntupleDataFormat.Track::dzPull(), initCorners(), localCorners(), and operator<<().
|
overrideprivatevirtual |
Implements CaloCellGeometry.
Definition at line 62 of file IdealZDCTrapezoid.cc.
References dx(), dz(), CaloCellGeometry::getPosition(), gf, mps_fire::i, localCorners(), relval_nano::ls, AlCaHLTBitMon_ParallelJobs::p, CaloCellGeometry::param(), and EZArrayFL< T >::uninitialized().
Definition at line 39 of file IdealZDCTrapezoid.cc.
References an(), cms::cuda::assert(), dt(), dx(), dy(), dz(), ta(), and funct::tan().
Referenced by initCorners(), ZdcGeometry::localCorners(), and vocalCorners().
IdealZDCTrapezoid & IdealZDCTrapezoid::operator= | ( | const IdealZDCTrapezoid & | idzt | ) |
Definition at line 12 of file IdealZDCTrapezoid.cc.
References CaloCellGeometry::operator=().
CCGFloat IdealZDCTrapezoid::ta | ( | ) | const |
Definition at line 33 of file IdealZDCTrapezoid.cc.
References an(), and funct::tan().
Referenced by dt(), and localCorners().
|
overridevirtual |
Implements CaloCellGeometry.
Definition at line 37 of file IdealZDCTrapezoid.cc.
References localCorners().