A base class to handle the shape of preshower strips. More...
#include <PreshowerStrip.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 | dx () const |
CCGFloat | dy () const |
CCGFloat | dz () const |
void | getTransform (Tr3D &tr, Pt3DVec *) const override |
--------— only needed by specific utility; overloaded when needed -— More... | |
PreshowerStrip & | operator= (const PreshowerStrip &tr) |
PreshowerStrip () | |
PreshowerStrip (const PreshowerStrip &tr) | |
PreshowerStrip (const GlobalPoint &po, CornersMgr *mgr, const CCGFloat *parm) | |
CCGFloat | tilt () const |
void | vocalCorners (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override |
~PreshowerStrip () 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 |
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 (void) | |
void | initSpan () |
void | setCornerVec (const std::vector< GlobalPoint > &cor) |
void | setRefPoint (const GlobalPoint &pos) |
A base class to handle the shape of preshower strips.
Definition at line 21 of file PreshowerStrip.h.
Definition at line 23 of file PreshowerStrip.h.
Definition at line 24 of file PreshowerStrip.h.
Definition at line 25 of file PreshowerStrip.h.
Definition at line 26 of file PreshowerStrip.h.
PreshowerStrip::PreshowerStrip | ( | ) |
Definition at line 9 of file PreshowerStrip.cc.
PreshowerStrip::PreshowerStrip | ( | const PreshowerStrip & | tr | ) |
Definition at line 11 of file PreshowerStrip.cc.
|
inline |
|
override |
Definition at line 13 of file PreshowerStrip.cc.
|
inline |
Definition at line 40 of file PreshowerStrip.h.
References CaloCellGeometry::param().
Referenced by initCorners(), localCorners(), and operator<<().
|
inline |
Definition at line 41 of file PreshowerStrip.h.
References CaloCellGeometry::param().
Referenced by initCorners(), localCorners(), and operator<<().
|
inline |
Definition at line 42 of file PreshowerStrip.h.
References CaloCellGeometry::param().
Referenced by Electron.Electron::cutBasedId(), ntupleDataFormat.Track::dzPull(), initCorners(), localCorners(), and operator<<().
--------— only needed by specific utility; overloaded when needed -—
Reimplemented from CaloCellGeometry.
Definition at line 49 of file PreshowerStrip.h.
|
overrideprivatevirtual |
Implements CaloCellGeometry.
Definition at line 22 of file PreshowerStrip.cc.
References funct::cos(), dqmiodatasetharvest::ctr, dx(), dy(), dz(), CaloCellGeometry::getPosition(), mps_fire::i, funct::sin(), tilt(), EZArrayFL< T >::uninitialized(), x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Definition at line 66 of file PreshowerStrip.cc.
References cms::cuda::assert(), dx(), dy(), and dz().
Referenced by EcalPreshowerGeometry::localCorners(), and vocalCorners().
PreshowerStrip & PreshowerStrip::operator= | ( | const PreshowerStrip & | tr | ) |
Definition at line 15 of file PreshowerStrip.cc.
|
inline |
Definition at line 43 of file PreshowerStrip.h.
References CaloCellGeometry::param().
Referenced by initCorners().
|
inlineoverridevirtual |
Implements CaloCellGeometry.
Definition at line 45 of file PreshowerStrip.h.
References localCorners().