![]() |
![]() |
#include <ZdcGeometry.h>
Public Types | |
enum | { k_NumberOfCellsForCorners = HcalZDCDetId::kSizeForDenseIndexing } |
enum | { k_NumberOfShapes = 3 } |
enum | { k_NumberOfParametersPerShape = 4 } |
typedef ZDCGeometryRecord | AlignedRecord |
typedef ZDCAlignmentRcd | AlignmentRecord |
typedef HcalZDCDetId | DetIdType |
typedef PZdcRcd | PGeometryRecord |
![]() | |
typedef std::vector< const CaloCellGeometry * > | CellCont |
typedef std::set< DetId > | DetIdSet |
typedef std::vector< double > | DimVec |
typedef std::vector< unsigned int > | IVec |
typedef CaloCellGeometry::ParMgr | ParMgr |
typedef CaloCellGeometry::ParVec | ParVec |
typedef CaloCellGeometry::ParVecVec | ParVecVec |
typedef std::vector< double > | TrVec |
Public Member Functions | |
virtual DetId | getClosestCell (const GlobalPoint &r) const |
virtual const std::vector < DetId > & | getValidDetIds (DetId::Detector det=DetId::Detector(0), int subdet=0) const |
Get a list of valid detector ids (for the given subdetector) More... | |
virtual unsigned int | numberOfParametersPerShape () const |
virtual unsigned int | numberOfShapes () const |
ZdcGeometry () | |
ZdcGeometry (const ZdcTopology *topology) | |
virtual | ~ZdcGeometry () |
![]() | |
void | addCell (const DetId &id, CaloCellGeometry *ccg) |
Add a cell to the geometry. More... | |
void | allocateCorners (CaloCellGeometry::CornersVec::size_type n) |
void | allocatePar (ParVec::size_type n, unsigned int m) |
CaloSubdetectorGeometry () | |
const CellCont & | cellGeometries () const |
the cells More... | |
CaloCellGeometry::CornersMgr * | cornersMgr () |
double | deltaEta (const DetId &detId) const |
double | deltaPhi (const DetId &detId) const |
virtual void | fillDefaultNamedParameters () const |
virtual DetIdSet | getCells (const GlobalPoint &r, double dR) const |
Get a list of all cells within a dR of the given cell. More... | |
virtual const CaloCellGeometry * | getGeometry (const DetId &id) const |
Get the cell geometry of a given detector id. Should return false if not found. More... | |
void | getSummary (TrVec &trVector, IVec &iVector, DimVec &dimVector) const |
virtual void | initializeParms () |
virtual unsigned int | numberOfTransformParms () const |
ParMgr * | parMgr () |
const ParMgr * | parMgrConst () const |
ParVecVec & | parVecVec () |
const ParVecVec & | parVecVec () const |
virtual bool | present (const DetId &id) const |
is this detid present in the geometry? More... | |
virtual | ~CaloSubdetectorGeometry () |
The base class DOES assume that it owns the CaloCellGeometry objects. More... | |
Static Public Member Functions | |
static unsigned int | alignmentTransformIndexGlobal (const DetId &id) |
static unsigned int | alignmentTransformIndexLocal (const DetId &id) |
static std::string | dbString () |
static std::vector < HepGeom::Point3D< double > > | localCorners (const double *pv, unsigned int i, HepGeom::Point3D< double > &ref) |
static CaloCellGeometry * | newCell (const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, CaloCellGeometry::CornersMgr *mgr, const double *parm, const DetId &detId) |
static unsigned int | numberOfAlignments () |
static std::string | producerTag () |
Private Attributes | |
DetId::Detector | lastReqDet_ |
int | lastReqSubdet_ |
bool | m_ownsTopology |
std::vector< DetId > | m_validIds |
const ZdcTopology * | theTopology |
Additional Inherited Members | |
![]() | |
static double | deltaR (const GlobalPoint &p1, const GlobalPoint &p2) |
![]() | |
ParVecVec | m_parVecVec |
Definition at line 11 of file ZdcGeometry.h.
Definition at line 16 of file ZdcGeometry.h.
Definition at line 15 of file ZdcGeometry.h.
typedef HcalZDCDetId ZdcGeometry::DetIdType |
Definition at line 18 of file ZdcGeometry.h.
typedef PZdcRcd ZdcGeometry::PGeometryRecord |
Definition at line 17 of file ZdcGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfCellsForCorners |
Definition at line 20 of file ZdcGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfShapes |
Definition at line 22 of file ZdcGeometry.h.
anonymous enum |
ZdcGeometry::ZdcGeometry | ( | ) |
Definition at line 8 of file ZdcGeometry.cc.
|
explicit |
Definition at line 16 of file ZdcGeometry.cc.
|
virtual |
|
static |
Definition at line 93 of file ZdcGeometry.cc.
References DetId::Calo.
|
static |
Definition at line 83 of file ZdcGeometry.cc.
References CaloGenericDetId::isZDC(), and HcalZDCDetId::zside().
|
inlinestatic |
Definition at line 26 of file ZdcGeometry.h.
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 65 of file ZdcGeometry.cc.
References CaloSubdetectorGeometry::getGeometry(), getValidDetIds(), and CaloCellGeometry::inside().
|
virtual |
Get a list of valid detector ids (for the given subdetector)
Reimplemented from CaloSubdetectorGeometry.
Definition at line 30 of file ZdcGeometry.cc.
References CaloSubdetectorGeometry::getValidDetIds(), i, lastReqDet_, lastReqSubdet_, m_validIds, and python.multivaluedict::sort().
Referenced by getClosestCell().
|
static |
Definition at line 99 of file ZdcGeometry.cc.
References calogeom::IdealZDCTrapezoid::localCorners().
|
static |
Definition at line 107 of file ZdcGeometry.cc.
References CaloGenericDetId::isZDC().
|
inlinestatic |
Definition at line 44 of file ZdcGeometry.h.
Referenced by FakeCaloAlignmentEP::produceZdcAli(), and TestCaloAlignmentEP::produceZdcAli().
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 29 of file ZdcGeometry.h.
References k_NumberOfParametersPerShape.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 28 of file ZdcGeometry.h.
References k_NumberOfShapes.
|
inlinestatic |
Definition at line 42 of file ZdcGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), CaloGeometryBuilder::produceAligned(), and ZdcHardcodeGeometryEP::ZdcHardcodeGeometryEP().
|
mutableprivate |
Definition at line 64 of file ZdcGeometry.h.
Referenced by getValidDetIds().
|
mutableprivate |
Definition at line 65 of file ZdcGeometry.h.
Referenced by getValidDetIds().
|
private |
Definition at line 67 of file ZdcGeometry.h.
Referenced by ~ZdcGeometry().
|
mutableprivate |
Definition at line 66 of file ZdcGeometry.h.
Referenced by getValidDetIds().
|
private |
Definition at line 63 of file ZdcGeometry.h.
Referenced by ~ZdcGeometry().