CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CaloCellGeometryHGCALAdapter Class Reference

#include <CaloCellGeometryHGCALAdapter.h>

Inheritance diagram for CaloCellGeometryHGCALAdapter:
FlatTrd CaloCellGeometry

Public Member Functions

 CaloCellGeometryHGCALAdapter (const FlatTrd *f, GlobalPoint p)
 
 CaloCellGeometryHGCALAdapter (const CaloCellGeometryHGCALAdapter &)=delete
 
const GlobalPointgetPosition () const override
 Returns the position of reference for this cell. More...
 
CaloCellGeometryHGCALAdapter operator= (const CaloCellGeometryHGCALAdapter &)=delete
 
- Public Member Functions inherited from FlatTrd
const GlobalVectoraxis () 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
 
const GlobalPointgetPosition () const override
 Returns the position of reference for this cell. More...
 
GlobalPoint getPosition (const Pt3D &local) const
 
CCGFloat getThetaAxis () const
 
void getTransform (Tr3D &tr, Pt3DVec *lptr) const override
 --------— only needed by specific utility; overloaded when needed -— More...
 
FlatTrdoperator= (const FlatTrd &tr)
 
virtual float phiPos () const
 
void vocalCorners (Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override
 
 ~FlatTrd () override
 
- Public Member Functions inherited from CaloCellGeometry
bool emptyCorners () const
 
float etaPos () const
 
float etaSpan () const
 
const GlobalPointgetBackPoint () const
 
CornersVec const & getCorners () const
 Returns the corner points of this cell's volume. More...
 
RepCorners const & getCornersREP () const
 
bool inside (const GlobalPoint &point) const
 Returns true if the specified point is inside this cell. More...
 
const CCGFloatparam () const
 
float phiPos () const
 
float phiSpan () const
 
RhoEtaPhi const & repPos () const
 
float rhoPos () const
 
virtual ~CaloCellGeometry ()
 

Private Attributes

GlobalPoint position_
 

Additional Inherited Members

- Public Types inherited from FlatTrd
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< GlobalPointCornersMgr
 
typedef EZArrayFL< GlobalPointCornersVec
 
typedef EZMgrFL< CCGFloatParMgr
 
typedef EZArrayFL< CCGFloatParVec
 
typedef std::vector< ParVecParVecVec
 
typedef HepGeom::Point3D< CCGFloatPt3D
 
typedef std::vector< Pt3DPt3DVec
 
using RepCorners = std::array< RhoEtaPhi, k_cornerSize >
 
typedef HepGeom::Transform3D Tr3D
 
- Static Public Member Functions inherited from FlatTrd
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 CCGFloatcheckParmPtr (const std::vector< CCGFloat > &vd, ParVecVec &pvv)
 
static const CCGFloatgetParmPtr (const std::vector< CCGFloat > &vd, ParMgr *mgr, ParVecVec &pvv)
 
- 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 ()
 

Detailed Description

Definition at line 6 of file CaloCellGeometryHGCALAdapter.h.

Constructor & Destructor Documentation

CaloCellGeometryHGCALAdapter::CaloCellGeometryHGCALAdapter ( const FlatTrd f,
GlobalPoint  p 
)
inlineexplicit

Definition at line 8 of file CaloCellGeometryHGCALAdapter.h.

References operator=().

8 : FlatTrd(*f), position_(p) {}
FlatTrd(void)
Definition: FlatTrd.cc:22
CaloCellGeometryHGCALAdapter::CaloCellGeometryHGCALAdapter ( const CaloCellGeometryHGCALAdapter )
delete

Member Function Documentation

const GlobalPoint& CaloCellGeometryHGCALAdapter::getPosition ( ) const
inlineoverridevirtual

Returns the position of reference for this cell.

Reimplemented from CaloCellGeometry.

Definition at line 11 of file CaloCellGeometryHGCALAdapter.h.

References position_.

CaloCellGeometryHGCALAdapter CaloCellGeometryHGCALAdapter::operator= ( const CaloCellGeometryHGCALAdapter )
delete

Member Data Documentation

GlobalPoint CaloCellGeometryHGCALAdapter::position_
private

Definition at line 13 of file CaloCellGeometryHGCALAdapter.h.

Referenced by getPosition().