A base class to handle the particular shape of Ecal Xtals. Taken from ORCA Calorimetry Code. More...
#include <TruncatedPyramid.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 const CornersVec & | getCorners () const |
Returns the corner points of this cell's volume. More... | |
CCGFloat | getPhiAxis () const |
const GlobalPoint | getPosition (CCGFloat depth) const |
CCGFloat | getThetaAxis () const |
virtual void | getTransform (Tr3D &tr, Pt3DVec *lptr) const |
--------— only needed by specific utility; overloaded when needed -— More... | |
TruncatedPyramid & | operator= (const TruncatedPyramid &tr) |
TruncatedPyramid (void) | |
TruncatedPyramid (const TruncatedPyramid &tr) | |
TruncatedPyramid (const CornersMgr *cMgr, const GlobalPoint &fCtr, const GlobalPoint &bCtr, const GlobalPoint &cor1, const CCGFloat *parV) | |
TruncatedPyramid (const CornersVec &corn, const CCGFloat *par) | |
virtual void | vocalCorners (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const |
virtual | ~TruncatedPyramid () |
Public Member Functions inherited from CaloCellGeometry | |
bool | emptyCorners () const |
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 |
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 void | localCornersReflection (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) |
static void | localCornersSwap (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 |
GlobalVector | makeAxis (void) |
Private Attributes | |
GlobalVector | m_axis |
Pt3D | m_corOne |
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 |
A base class to handle the particular shape of Ecal Xtals. Taken from ORCA Calorimetry Code.
Definition at line 19 of file TruncatedPyramid.h.
Definition at line 23 of file TruncatedPyramid.h.
Definition at line 24 of file TruncatedPyramid.h.
Definition at line 25 of file TruncatedPyramid.h.
Definition at line 26 of file TruncatedPyramid.h.
TruncatedPyramid::TruncatedPyramid | ( | void | ) |
Definition at line 20 of file TruncatedPyramid.cc.
TruncatedPyramid::TruncatedPyramid | ( | const TruncatedPyramid & | tr | ) |
Definition at line 26 of file TruncatedPyramid.cc.
TruncatedPyramid::TruncatedPyramid | ( | const CornersMgr * | cMgr, |
const GlobalPoint & | fCtr, | ||
const GlobalPoint & | bCtr, | ||
const GlobalPoint & | cor1, | ||
const CCGFloat * | parV | ||
) |
Definition at line 44 of file TruncatedPyramid.cc.
TruncatedPyramid::TruncatedPyramid | ( | const CornersVec & | corn, |
const CCGFloat * | par | ||
) |
Definition at line 54 of file TruncatedPyramid.cc.
|
virtual |
Definition at line 61 of file TruncatedPyramid.cc.
const GlobalVector & TruncatedPyramid::axis | ( | ) | const |
|
private |
Definition at line 104 of file TruncatedPyramid.cc.
References getCorners(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by makeAxis().
|
static |
Definition at line 319 of file TruncatedPyramid.cc.
References filterCSVwithJSON::copy, cross(), dot(), i, localCorners(), AlCaHLTBitMon_ParallelJobs::p, truncPyr::refl(), tmp, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
|
virtual |
Returns the corner points of this cell's volume.
Implements CaloCellGeometry.
Definition at line 186 of file TruncatedPyramid.cc.
References CaloCellGeometry::getCorners(), getTransform(), i, CaloCellGeometry::setCorners(), and EZArrayFL< T >::uninitialized().
Referenced by backCtr(), and operator<<().
CCGFloat TruncatedPyramid::getPhiAxis | ( | ) | const |
Definition at line 77 of file TruncatedPyramid.cc.
References m_axis, and PV3DBase< T, PVType, FrameType >::phi().
Referenced by EcalClusterLocal::localCoordsEB(), ggPFClusters::localCoordsEB(), EcalClusterLocal::localCoordsEE(), ggPFClusters::localCoordsEE(), and operator<<().
const GlobalPoint TruncatedPyramid::getPosition | ( | CCGFloat | depth | ) | const |
Definition at line 65 of file TruncatedPyramid.cc.
References CaloCellGeometry::getPosition(), and m_axis.
Referenced by EcalSimple2007H4TBAnalyzer::analyze(), PFRecHitProducerECAL::createEcalRecHit(), PFRecHitProducerECAL::findEcalRecHitGeometry(), EcalClusterLocal::localCoordsEB(), ggPFClusters::localCoordsEB(), EcalClusterLocal::localCoordsEE(), and ggPFClusters::localCoordsEE().
CCGFloat TruncatedPyramid::getThetaAxis | ( | ) | const |
Definition at line 71 of file TruncatedPyramid.cc.
References m_axis, and PV3DBase< T, PVType, FrameType >::theta().
Referenced by EcalClusterLocal::localCoordsEB(), ggPFClusters::localCoordsEB(), EcalClusterLocal::localCoordsEE(), ggPFClusters::localCoordsEE(), and operator<<().
--------— only needed by specific utility; overloaded when needed -—
Reimplemented from CaloCellGeometry.
Definition at line 115 of file TruncatedPyramid.cc.
References angle(), axis(), alignCSCRings::e, CaloCellGeometry::getPosition(), localCorners(), localCornersReflection(), localCornersSwap(), m_corOne, mag(), AlCaHLTBitMon_ParallelJobs::p, CaloCellGeometry::param(), csvLumiCalc::unit, x, PV3DBase< T, PVType, FrameType >::x(), detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by getCorners().
Definition at line 250 of file TruncatedPyramid.cc.
References funct::cos(), funct::sin(), and funct::tan().
Referenced by createCorners(), getTransform(), EcalEndcapGeometry::localCorners(), localCornersReflection(), localCornersSwap(), and vocalCorners().
|
static |
Definition at line 216 of file TruncatedPyramid.cc.
References localCorners(), truncPyr::refl(), and tmp.
Referenced by getTransform(), and EcalBarrelGeometry::localCorners().
Definition at line 291 of file TruncatedPyramid.cc.
References localCorners(), and tmp.
Referenced by getTransform(), and EcalBarrelGeometry::localCorners().
|
private |
Definition at line 97 of file TruncatedPyramid.cc.
References backCtr(), CaloCellGeometry::getPosition(), and Vector3DBase< T, FrameTag >::unit().
TruncatedPyramid & TruncatedPyramid::operator= | ( | const TruncatedPyramid & | tr | ) |
Definition at line 33 of file TruncatedPyramid.cc.
References m_axis, m_corOne, and CaloCellGeometry::operator=().
|
virtual |
Implements CaloCellGeometry.
Definition at line 89 of file TruncatedPyramid.cc.
References localCorners().
|
private |
Definition at line 84 of file TruncatedPyramid.h.
Referenced by axis(), getPhiAxis(), getPosition(), getThetaAxis(), and operator=().
|
private |
Definition at line 85 of file TruncatedPyramid.h.
Referenced by getTransform(), and operator=().