CMS 3D CMS Logo

ZdcGeometry.h
Go to the documentation of this file.
1 #ifndef Geometry_ForwardGeometry_ZdcGeometry_h
2 #define Geometry_ForwardGeometry_ZdcGeometry_h
3 
11 
13 public:
14  typedef std::vector<IdealZDCTrapezoid> CellVec;
15 
20 
25 
27 
28  enum { k_NumberOfShapes = 3 };
29 
31 
32  static std::string dbString() { return "PZdcRcd"; }
33 
34  unsigned int numberOfShapes() const override { return k_NumberOfShapes; }
35  unsigned int numberOfParametersPerShape() const override { return k_NumberOfParametersPerShape; }
36 
37  ZdcGeometry();
38 
39  explicit ZdcGeometry(const ZdcTopology* topology);
40  ~ZdcGeometry() override;
41 
42  // virtual DetId getClosestCell(const GlobalPoint& r) const ;
43 
44  static std::string producerTag() { return "ZDC"; }
45 
46  static unsigned int numberOfAlignments() { return 2; }
47 
48  static unsigned int alignmentTransformIndexLocal(const DetId& id);
49 
50  static unsigned int alignmentTransformIndexGlobal(const DetId& id);
51 
52  static void localCorners(Pt3DVec& lc, const CCGFloat* pv, unsigned int i, Pt3D& ref);
53 
54  void newCell(const GlobalPoint& f1,
55  const GlobalPoint& f2,
56  const GlobalPoint& f3,
57  const CCGFloat* parm,
58  const DetId& detId) override;
59 
60 protected:
61  // Modify the RawPtr class
62  const CaloCellGeometry* getGeometryRawPtr(uint32_t index) const override;
63 
64 private:
67  mutable int lastReqSubdet_;
69 
71 };
72 
73 #endif // Geometry_ForwardGeometry_ZdcGeometry_h
CaloCellGeometry::Tr3D
HepGeom::Transform3D Tr3D
Definition: CaloCellGeometry.h:53
CaloCellGeometry::Pt3DVec
std::vector< Pt3D > Pt3DVec
Definition: CaloCellGeometry.h:55
ZdcGeometry::producerTag
static std::string producerTag()
Definition: ZdcGeometry.h:44
ZdcGeometry::getGeometryRawPtr
const CaloCellGeometry * getGeometryRawPtr(uint32_t index) const override
Definition: ZdcGeometry.cc:78
ZDCGeometryRecord.h
mps_fire.i
i
Definition: mps_fire.py:355
CaloCellGeometry::CCGFloat
float CCGFloat
Definition: CaloCellGeometry.h:52
ZdcGeometry::Pt3D
CaloCellGeometry::Pt3D Pt3D
Definition: ZdcGeometry.h:17
ZdcGeometry::alignmentTransformIndexLocal
static unsigned int alignmentTransformIndexLocal(const DetId &id)
Definition: ZdcGeometry.cc:49
ZdcGeometry::alignmentTransformIndexGlobal
static unsigned int alignmentTransformIndexGlobal(const DetId &id)
Definition: ZdcGeometry.cc:57
ZdcGeometry
Definition: ZdcGeometry.h:12
CCGFloat
CaloCellGeometry::CCGFloat CCGFloat
Definition: CaloCellGeometry.cc:4
ZdcGeometry::newCell
void newCell(const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override
Definition: ZdcGeometry.cc:63
ZdcGeometry::numberOfAlignments
static unsigned int numberOfAlignments()
Definition: ZdcGeometry.h:46
ZdcGeometry::CCGFloat
CaloCellGeometry::CCGFloat CCGFloat
Definition: ZdcGeometry.h:16
IdealZDCTrapezoid.h
HcalZDCDetId.h
ZDCGeometryRecord
Definition: ZDCGeometryRecord.h:23
ZdcGeometry::CellVec
std::vector< IdealZDCTrapezoid > CellVec
Definition: ZdcGeometry.h:14
Pt3D
CaloCellGeometry::Pt3D Pt3D
Definition: CaloCellGeometry.cc:5
HcalZDCDetId::kSizeForDenseIndexing
Definition: HcalZDCDetId.h:66
DetId
Definition: DetId.h:17
ZdcGeometry::Tr3D
CaloCellGeometry::Tr3D Tr3D
Definition: ZdcGeometry.h:19
HcalZDCDetId
Definition: HcalZDCDetId.h:16
ecaldqm::topology
const CaloTopology * topology(nullptr)
ZdcGeometry::Pt3DVec
CaloCellGeometry::Pt3DVec Pt3DVec
Definition: ZdcGeometry.h:18
ZdcGeometry::PGeometryRecord
PZdcRcd PGeometryRecord
Definition: ZdcGeometry.h:23
Point3DBase< float, GlobalTag >
CaloCellGeometry::Pt3D
HepGeom::Point3D< CCGFloat > Pt3D
Definition: CaloCellGeometry.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CaloSubdetectorGeometry.h
ZdcGeometry::ZdcGeometry
ZdcGeometry()
Definition: ZdcGeometry.cc:12
CaloCellGeometry
Definition: CaloCellGeometry.h:50
DeadROC_duringRun.f2
f2
Definition: DeadROC_duringRun.py:220
ZdcGeometry::lastReqDet_
DetId::Detector lastReqDet_
Definition: ZdcGeometry.h:66
ZdcGeometry::theTopology
const ZdcTopology * theTopology
Definition: ZdcGeometry.h:65
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
ZdcGeometry::~ZdcGeometry
~ZdcGeometry() override
Definition: ZdcGeometry.cc:26
ZdcGeometry::m_ownsTopology
bool m_ownsTopology
Definition: ZdcGeometry.h:68
DetId::Detector
Detector
Definition: DetId.h:24
ZDCAlignmentRcd
Definition: ZDCAlignmentRcd.h:6
ZdcGeometry::DetIdType
HcalZDCDetId DetIdType
Definition: ZdcGeometry.h:24
ZDCAlignmentRcd.h
ZdcGeometry::AlignmentRecord
ZDCAlignmentRcd AlignmentRecord
Definition: ZdcGeometry.h:21
ZdcGeometry::numberOfParametersPerShape
unsigned int numberOfParametersPerShape() const override
Definition: ZdcGeometry.h:35
PZdcRcd.h
ZdcGeometry::lastReqSubdet_
int lastReqSubdet_
Definition: ZdcGeometry.h:67
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22
ZdcGeometry::numberOfShapes
unsigned int numberOfShapes() const override
Definition: ZdcGeometry.h:34
ZdcGeometry::k_NumberOfCellsForCorners
Definition: ZdcGeometry.h:26
PZdcRcd
Definition: PZdcRcd.h:5
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
Pt3DVec
CaloCellGeometry::Pt3DVec Pt3DVec
Definition: CaloCellGeometry.cc:6
ZdcGeometry::AlignedRecord
ZDCGeometryRecord AlignedRecord
Definition: ZdcGeometry.h:22
ZdcGeometry::k_NumberOfShapes
Definition: ZdcGeometry.h:28
ZdcGeometry::dbString
static std::string dbString()
Definition: ZdcGeometry.h:32
ZdcGeometry::localCorners
static void localCorners(Pt3DVec &lc, const CCGFloat *pv, unsigned int i, Pt3D &ref)
Definition: ZdcGeometry.cc:59
ZdcTopology
Definition: ZdcTopology.h:14
ZdcGeometry::k_NumberOfParametersPerShape
Definition: ZdcGeometry.h:30
ZdcGeometry::m_cellVec
CellVec m_cellVec
Definition: ZdcGeometry.h:70
DeadROC_duringRun.f1
f1
Definition: DeadROC_duringRun.py:219
ZdcTopology.h