CMS 3D CMS Logo

EcalTBHodoscopeGeometry.h
Go to the documentation of this file.
1 #ifndef Geometry_EcalTestBeam_EcalTBHodoscopeGeometry_HH
2 #define Geometry_EcalTestBeam_EcalTBHodoscopeGeometry_HH
3 
6 
7 #include <vector>
8 
10 public:
11  typedef std::vector<PreshowerStrip> CellVec;
12 
16 
18  ~EcalTBHodoscopeGeometry() override;
19 
20  void newCell(const GlobalPoint& f1,
21  const GlobalPoint& f2,
22  const GlobalPoint& f3,
23  const CCGFloat* parm,
24  const DetId& detId) override;
25 
26  static float getFibreLp(int plane, int fibre);
27 
28  static float getFibreRp(int plane, int fibre);
29 
30  static std::vector<int> getFiredFibresInPlane(float xtr, int plane);
31 
32  static int getNPlanes();
33 
34  static int getNFibres();
35 
36 protected:
37  // Modify the RawPtr class
38  const CaloCellGeometry* getGeometryRawPtr(uint32_t index) const override;
39 
40 private:
41  struct fibre_pos {
42  float lp, rp;
43  };
44 
45  static const int nPlanes_ = 4;
46  static const int nFibres_ = 64;
48 
50 };
51 
52 #endif
CaloCellGeometry::Pt3DVec
std::vector< Pt3D > Pt3DVec
Definition: CaloCellGeometry.h:55
EcalTBHodoscopeGeometry::getFibreRp
static float getFibreRp(int plane, int fibre)
Definition: EcalTBHodoscopeGeometry.cc:18
CaloCellGeometry::CCGFloat
float CCGFloat
Definition: CaloCellGeometry.h:52
EcalTBHodoscopeGeometry::EcalTBHodoscopeGeometry
EcalTBHodoscopeGeometry()
Definition: EcalTBHodoscopeGeometry.cc:6
EcalTBHodoscopeGeometry
Definition: EcalTBHodoscopeGeometry.h:9
EcalTBHodoscopeGeometry::Pt3D
CaloCellGeometry::Pt3D Pt3D
Definition: EcalTBHodoscopeGeometry.h:14
EcalTBHodoscopeGeometry::getFibreLp
static float getFibreLp(int plane, int fibre)
Definition: EcalTBHodoscopeGeometry.cc:10
DetId
Definition: DetId.h:17
CaloSubdetectorGeometry::CCGFloat
CaloCellGeometry::CCGFloat CCGFloat
Definition: CaloSubdetectorGeometry.h:25
EcalTBHodoscopeGeometry::getFiredFibresInPlane
static std::vector< int > getFiredFibresInPlane(float xtr, int plane)
Definition: EcalTBHodoscopeGeometry.cc:328
EcalTBHodoscopeGeometry::CCGFloat
CaloCellGeometry::CCGFloat CCGFloat
Definition: EcalTBHodoscopeGeometry.h:13
EcalTBHodoscopeGeometry::~EcalTBHodoscopeGeometry
~EcalTBHodoscopeGeometry() override
Definition: EcalTBHodoscopeGeometry.cc:8
EcalTBHodoscopeGeometry::fibre_pos::rp
float rp
Definition: EcalTBHodoscopeGeometry.h:42
Point3DBase< float, GlobalTag >
CaloCellGeometry::Pt3D
HepGeom::Point3D< CCGFloat > Pt3D
Definition: CaloCellGeometry.h:54
EcalTBHodoscopeGeometry::getNFibres
static int getNFibres()
Definition: EcalTBHodoscopeGeometry.cc:28
CaloSubdetectorGeometry.h
PreshowerStrip.h
EcalTBHodoscopeGeometry::newCell
void newCell(const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override
Definition: EcalTBHodoscopeGeometry.cc:30
CaloCellGeometry
Definition: CaloCellGeometry.h:50
DeadROC_duringRun.f2
f2
Definition: DeadROC_duringRun.py:220
EcalTBHodoscopeGeometry::m_cellVec
CellVec m_cellVec
Definition: EcalTBHodoscopeGeometry.h:49
EcalTBHodoscopeGeometry::nFibres_
static const int nFibres_
Definition: EcalTBHodoscopeGeometry.h:46
EcalTBHodoscopeGeometry::getNPlanes
static int getNPlanes()
Definition: EcalTBHodoscopeGeometry.cc:26
EcalTBHodoscopeGeometry::fibrePos_
static const fibre_pos fibrePos_[nPlanes_][nFibres_]
Definition: EcalTBHodoscopeGeometry.h:47
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
EcalTBHodoscopeGeometry::getGeometryRawPtr
const CaloCellGeometry * getGeometryRawPtr(uint32_t index) const override
Definition: EcalTBHodoscopeGeometry.cc:341
EcalTBHodoscopeGeometry::fibre_pos::lp
float lp
Definition: EcalTBHodoscopeGeometry.h:42
EcalTBHodoscopeGeometry::CellVec
std::vector< PreshowerStrip > CellVec
Definition: EcalTBHodoscopeGeometry.h:11
DeadROC_duringRun.f1
f1
Definition: DeadROC_duringRun.py:219
EcalTBHodoscopeGeometry::fibre_pos
Definition: EcalTBHodoscopeGeometry.h:41
EcalTBHodoscopeGeometry::Pt3DVec
CaloCellGeometry::Pt3DVec Pt3DVec
Definition: EcalTBHodoscopeGeometry.h:15
EcalTBHodoscopeGeometry::nPlanes_
static const int nPlanes_
Definition: EcalTBHodoscopeGeometry.h:45