#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 CaloCellGeometry::CCGFloat | CCGFloat |
typedef std::vector< IdealZDCTrapezoid > | CellVec |
typedef HcalZDCDetId | DetIdType |
typedef PZdcRcd | PGeometryRecord |
typedef CaloCellGeometry::Pt3D | Pt3D |
typedef CaloCellGeometry::Pt3DVec | Pt3DVec |
typedef CaloCellGeometry::Tr3D | Tr3D |
Public Types inherited from CaloSubdetectorGeometry | |
typedef CaloCellGeometry::CCGFloat | CCGFloat |
typedef std::vector< std::shared_ptr< const CaloCellGeometry > > | CellSet |
typedef std::set< DetId > | DetIdSet |
typedef std::vector< CCGFloat > | DimVec |
typedef std::vector< unsigned int > | IVec |
typedef CaloCellGeometry::ParMgr | ParMgr |
typedef CaloCellGeometry::ParVec | ParVec |
typedef CaloCellGeometry::ParVecVec | ParVecVec |
typedef std::vector< CCGFloat > | TrVec |
Public Member Functions | |
void | getSummary (CaloSubdetectorGeometry::TrVec &tVec, CaloSubdetectorGeometry::IVec &iVec, CaloSubdetectorGeometry::DimVec &dVec, CaloSubdetectorGeometry::IVec &dins) const override |
void | newCell (const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override |
unsigned int | numberOfParametersPerShape () const override |
unsigned int | numberOfShapes () const override |
ZdcGeometry () | |
ZdcGeometry (const ZdcTopology *topology) | |
~ZdcGeometry () override | |
Public Member Functions inherited from CaloSubdetectorGeometry | |
void | allocateCorners (CaloCellGeometry::CornersVec::size_type n) |
void | allocatePar (ParVec::size_type n, unsigned int m) |
CaloSubdetectorGeometry () | |
CaloSubdetectorGeometry (const CaloSubdetectorGeometry &)=delete | |
avoid copies More... | |
CaloCellGeometry::CornersMgr * | cornersMgr () |
CCGFloat | deltaEta (const DetId &detId) const |
CCGFloat | 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 CellSet | getCellSet (const GlobalPoint &r, double dR) const |
virtual DetId | getClosestCell (const GlobalPoint &r) const |
virtual std::shared_ptr< const CaloCellGeometry > | getGeometry (const DetId &id) const |
Get the cell geometry of a given detector id. Should return false if not found. More... | |
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 void | initializeParms () |
virtual unsigned int | numberOfTransformParms () const |
CaloSubdetectorGeometry & | operator= (const CaloSubdetectorGeometry &)=delete |
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 bool | valid (const DetId &id) const |
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 void | localCorners (Pt3DVec &lc, const CCGFloat *pv, unsigned int i, Pt3D &ref) |
static unsigned int | numberOfAlignments () |
static std::string | producerTag () |
Protected Member Functions | |
const CaloCellGeometry * | getGeometryRawPtr (uint32_t index) const override |
unsigned int | indexFor (const DetId &id) const override |
Protected Member Functions inherited from CaloSubdetectorGeometry | |
void | addValidID (const DetId &id) |
virtual std::shared_ptr< const CaloCellGeometry > | cellGeomPtr (uint32_t index) const |
virtual unsigned int | sizeForDenseIndex (const DetId &id) const |
Private Attributes | |
DetId::Detector | lastReqDet_ |
int | lastReqSubdet_ |
CellVec | m_cellVec |
bool | m_ownsTopology |
const ZdcTopology * | theTopology |
Additional Inherited Members | |
Static Protected Member Functions inherited from CaloSubdetectorGeometry | |
static CCGFloat | deltaR (const GlobalPoint &p1, const GlobalPoint &p2) |
Protected Attributes inherited from CaloSubdetectorGeometry | |
ParVecVec | m_parVecVec |
std::vector< DetId > | m_validIds |
Definition at line 12 of file ZdcGeometry.h.
Definition at line 22 of file ZdcGeometry.h.
Definition at line 21 of file ZdcGeometry.h.
Definition at line 16 of file ZdcGeometry.h.
typedef std::vector<IdealZDCTrapezoid> ZdcGeometry::CellVec |
Definition at line 14 of file ZdcGeometry.h.
typedef HcalZDCDetId ZdcGeometry::DetIdType |
Definition at line 24 of file ZdcGeometry.h.
typedef PZdcRcd ZdcGeometry::PGeometryRecord |
Definition at line 23 of file ZdcGeometry.h.
Definition at line 17 of file ZdcGeometry.h.
Definition at line 18 of file ZdcGeometry.h.
Definition at line 19 of file ZdcGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfCellsForCorners |
Definition at line 26 of file ZdcGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfShapes |
Definition at line 28 of file ZdcGeometry.h.
anonymous enum |
ZdcGeometry::ZdcGeometry | ( | ) |
Definition at line 22 of file ZdcGeometry.cc.
|
explicit |
Definition at line 29 of file ZdcGeometry.cc.
|
override |
|
static |
|
static |
Definition at line 59 of file ZdcGeometry.cc.
References cms::cuda::assert(), CaloGenericDetId::isZDC(), and HcalZDCDetId::zside().
|
inlinestatic |
Definition at line 32 of file ZdcGeometry.h.
|
overrideprotectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 90 of file ZdcGeometry.cc.
References m_cellVec, and CaloCellGeometry::param().
|
overridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 98 of file ZdcGeometry.cc.
References cms::cuda::assert(), CaloSubdetectorGeometry::cellGeomPtr(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::dVec, runTauDisplay::gp, mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv, dqmdumpme::k, HcalZDCDetId::kSizeForDenseIndexingRun1, CaloSubdetectorGeometry::m_validIds, groupFilesInBlocks::nn, numberOfParametersPerShape(), numberOfShapes(), CaloSubdetectorGeometry::numberOfTransformParms(), convertSQLiteXML::ok, CaloSubdetectorGeometry::parVecVec(), MetAnalyzer::pv(), findQualityFiles::rr, and groupFilesInBlocks::tt.
|
inlineoverrideprotectedvirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 66 of file ZdcGeometry.h.
References HcalZDCDetId::denseIndex().
|
static |
Definition at line 68 of file ZdcGeometry.cc.
References IdealZDCTrapezoid::localCorners().
|
overridevirtual |
Implements CaloSubdetectorGeometry.
Definition at line 72 of file ZdcGeometry.cc.
References CaloSubdetectorGeometry::addValidID(), cms::cuda::assert(), CaloSubdetectorGeometry::cornersMgr(), TauDecayModes::dec, CaloGenericDetId::denseIndex(), hcalRecHitTable_cff::detId, DeadROC_duringRun::f1, CaloGenericDetId::isZDC(), m_cellVec, and DetId::rawId().
|
inlinestatic |
Definition at line 46 of file ZdcGeometry.h.
Referenced by FakeCaloAlignmentEP::produceZdcAli(), and TestCaloAlignmentEP::produceZdcAli().
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 35 of file ZdcGeometry.h.
References k_NumberOfParametersPerShape.
Referenced by getSummary().
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 34 of file ZdcGeometry.h.
References k_NumberOfShapes.
Referenced by getSummary().
|
inlinestatic |
Definition at line 44 of file ZdcGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), CaloGeometryBuilder::CaloGeometryBuilder(), PCaloGeometryBuilder::PCaloGeometryBuilder(), and ZdcHardcodeGeometryEP::ZdcHardcodeGeometryEP().
|
mutableprivate |
Definition at line 73 of file ZdcGeometry.h.
|
mutableprivate |
Definition at line 74 of file ZdcGeometry.h.
|
private |
Definition at line 77 of file ZdcGeometry.h.
Referenced by getGeometryRawPtr(), and newCell().
|
private |
Definition at line 75 of file ZdcGeometry.h.
Referenced by ~ZdcGeometry().
|
private |
Definition at line 72 of file ZdcGeometry.h.
Referenced by ~ZdcGeometry().