A base class to handle the particular shape of HGCal volumes. More...
#include <FlatTrd.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 | |
const GlobalVector & | axis () const |
virtual float | etaPos () const |
FlatTrd (void) | |
FlatTrd (const FlatTrd &tr) | |
FlatTrd (CornersMgr *cMgr, const GlobalPoint &fCtr, const GlobalPoint &bCtr, const GlobalPoint &cor1, const CCGFloat *parV) | |
FlatTrd (const CornersVec &corn, const CCGFloat *par) | |
FlatTrd (const FlatTrd &tr, const Pt3D &local) | |
Pt3D | getLocal (const GlobalPoint &global) const |
CCGFloat | getPhiAxis () const |
virtual const GlobalPoint & | getPosition () const |
GlobalPoint | getPosition (const Pt3D &local) const |
CCGFloat | getThetaAxis () const |
virtual void | getTransform (Tr3D &tr, Pt3DVec *lptr) const override |
--------— only needed by specific utility; overloaded when needed -— More... | |
FlatTrd & | operator= (const FlatTrd &tr) |
virtual float | phiPos () const |
virtual void | vocalCorners (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override |
virtual | ~FlatTrd () |
Public Member Functions inherited from CaloCellGeometry | |
bool | emptyCorners () const |
float | etaPos () const |
float | etaSpan () const |
const GlobalPoint & | getBackPoint () const |
const CornersVec & | getCorners () const |
Returns the corner points of this cell's volume. More... | |
const GlobalPoint & | getPosition () const |
Returns the position of reference for this cell. More... | |
bool | inside (const GlobalPoint &point) const |
Returns true if the specified point is inside this cell. More... | |
const CCGFloat * | param () const |
float | phiPos () const |
float | phiSpan () const |
virtual | ~CaloCellGeometry () |
Static Public Member Functions | |
static void | createCorners (const std::vector< CCGFloat > &pv, const Tr3D &tr, std::vector< GlobalPoint > &co) |
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 | |
const GlobalPoint | backCtr (void) const |
virtual void | initCorners (CornersVec &) override |
GlobalVector | makeAxis (void) |
Private Attributes | |
GlobalVector | m_axis |
Pt3D | m_corOne |
GlobalPoint | m_global |
Pt3D | m_local |
Tr3D | m_tr |
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, CornersMgr *mgr, const CCGFloat *par) | |
CaloCellGeometry (const CornersVec &cv, const CCGFloat *par) | |
CaloCellGeometry (void) | |
void | initSpan () |
A base class to handle the particular shape of HGCal volumes.
typedef CaloCellGeometry::Pt3D FlatTrd::Pt3D |
typedef CaloCellGeometry::Tr3D FlatTrd::Tr3D |
FlatTrd::FlatTrd | ( | void | ) |
Definition at line 22 of file FlatTrd.cc.
FlatTrd::FlatTrd | ( | const FlatTrd & | tr | ) |
Definition at line 27 of file FlatTrd.cc.
FlatTrd::FlatTrd | ( | CornersMgr * | cMgr, |
const GlobalPoint & | fCtr, | ||
const GlobalPoint & | bCtr, | ||
const GlobalPoint & | cor1, | ||
const CCGFloat * | parV | ||
) |
Definition at line 48 of file FlatTrd.cc.
References gather_cfg::cout, etaPos(), getTransform(), glb, m_global, m_local, m_tr, and phiPos().
FlatTrd::FlatTrd | ( | const CornersVec & | corn, |
const CCGFloat * | par | ||
) |
Definition at line 68 of file FlatTrd.cc.
References gather_cfg::cout, etaPos(), getTransform(), glb, m_axis, m_global, m_local, m_tr, makeAxis(), and phiPos().
Definition at line 84 of file FlatTrd.cc.
References gather_cfg::cout, etaPos(), glb, m_global, m_local, m_tr, and phiPos().
|
virtual |
Definition at line 96 of file FlatTrd.cc.
const GlobalVector & FlatTrd::axis | ( | ) | const |
|
private |
Definition at line 254 of file FlatTrd.cc.
References CaloCellGeometry::getCorners(), m_local, m_tr, and CaloCellGeometry::param().
Referenced by makeAxis().
|
static |
Definition at line 136 of file FlatTrd.cc.
References assert(), gather_cfg::cout, i, localCorners(), AlCaHLTBitMon_ParallelJobs::p, and tmp.
Referenced by HGCalGeometryLoader::buildGeom(), and CaloGeometryDBEP< T, U >::produceAligned().
|
inlinevirtual |
Definition at line 48 of file FlatTrd.h.
References PV3DBase< T, PVType, FrameType >::eta(), and m_global.
Referenced by FlatTrd(), operator<<(), and operator=().
Pt3D FlatTrd::getLocal | ( | const GlobalPoint & | global | ) | const |
Definition at line 108 of file FlatTrd.cc.
References gather_cfg::cout, m_tr, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
CCGFloat FlatTrd::getPhiAxis | ( | ) | const |
Definition at line 122 of file FlatTrd.cc.
References m_axis, and PV3DBase< T, PVType, FrameType >::phi().
Referenced by operator<<().
|
inlinevirtual |
Definition at line 46 of file FlatTrd.h.
References m_global.
Referenced by makeAxis(), and operator<<().
GlobalPoint FlatTrd::getPosition | ( | const Pt3D & | local | ) | const |
CCGFloat FlatTrd::getThetaAxis | ( | ) | const |
Definition at line 118 of file FlatTrd.cc.
References m_axis, and PV3DBase< T, PVType, FrameType >::theta().
Referenced by operator<<().
--------— only needed by specific utility; overloaded when needed -—
Reimplemented from CaloCellGeometry.
Definition at line 190 of file FlatTrd.cc.
References angle(), assert(), axis(), alignCSCRings::e, CaloCellGeometry::getPosition(), localCorners(), m_corOne, mag(), AlCaHLTBitMon_ParallelJobs::p, CaloCellGeometry::param(), csvLumiCalc::unit, x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by FlatTrd(), and initCorners().
|
overrideprivatevirtual |
Implements CaloCellGeometry.
Definition at line 235 of file FlatTrd.cc.
References getTransform(), i, and EZArrayFL< T >::uninitialized().
Definition at line 159 of file FlatTrd.cc.
References assert(), gather_cfg::cout, h, and funct::tan().
Referenced by createCorners(), getTransform(), HGCalGeometry::localCorners(), and vocalCorners().
|
private |
Definition at line 250 of file FlatTrd.cc.
References backCtr(), getPosition(), and Vector3DBase< T, FrameTag >::unit().
Referenced by FlatTrd().
Definition at line 31 of file FlatTrd.cc.
References gather_cfg::cout, etaPos(), m_axis, m_corOne, m_global, m_local, m_tr, and phiPos().
|
inlinevirtual |
Definition at line 49 of file FlatTrd.h.
References m_global, and PV3DBase< T, PVType, FrameType >::phi().
Referenced by FlatTrd(), operator<<(), and operator=().
Implements CaloCellGeometry.
Definition at line 130 of file FlatTrd.cc.
References localCorners().
|
private |
Definition at line 81 of file FlatTrd.h.
Referenced by axis(), FlatTrd(), getPhiAxis(), getThetaAxis(), and operator=().
|
private |
Definition at line 82 of file FlatTrd.h.
Referenced by getTransform(), and operator=().
|
private |
Definition at line 83 of file FlatTrd.h.
Referenced by etaPos(), FlatTrd(), getPosition(), operator=(), and phiPos().
|
private |
Definition at line 82 of file FlatTrd.h.
Referenced by backCtr(), FlatTrd(), and operator=().
|
private |
Definition at line 84 of file FlatTrd.h.
Referenced by backCtr(), FlatTrd(), getLocal(), getPosition(), and operator=().