CMS 3D CMS Logo

ME0EtaPartition.h
Go to the documentation of this file.
1 #ifndef Geometry_GEMGeometry_ME0EtaPartition_H
2 #define Geometry_GEMGeometry_ME0EtaPartition_H
3 
8 
9 class StripTopology;
11 
12 class ME0EtaPartition : public GeomDet {
13 public:
15  ~ME0EtaPartition() override;
16 
17  const ME0EtaPartitionSpecs* specs() const { return specs_; }
18  ME0DetId id() const { return id_; }
19 
20  const Topology& topology() const override;
21  const StripTopology& specificTopology() const;
22 
23  const Topology& padTopology() const;
24  const StripTopology& specificPadTopology() const;
25 
26  const GeomDetType& type() const override;
27 
29  //const ME0Chamber* chamber() const;
30 
31  // strip-related methods:
32 
34  int nstrips() const;
35 
38  LocalPoint centreOfStrip(int strip) const;
39 
42  LocalPoint centreOfStrip(float strip) const;
43  LocalError localError(float strip, float cluster_size = 1.) const;
44 
48  float strip(const LocalPoint& lp) const;
49 
50  float pitch() const;
51  float localPitch(const LocalPoint& lp) const;
52 
53  // ME0-CSC pad-related methods:
54 
56  int npads() const;
57 
60  LocalPoint centreOfPad(int pad) const;
61 
64  LocalPoint centreOfPad(float pad) const;
65 
67  float pad(const LocalPoint& lp) const;
68 
70  float padPitch() const;
72  float localPadPitch(const LocalPoint& lp) const;
73 
74  // relations between strips and pads:
75 
77  float padOfStrip(int strip) const;
78 
80  int firstStripInPad(int pad) const;
81 
83  int lastStripInPad(int pad) const;
84 
85 private:
88 };
89 
90 #endif
int npads() const
number of ME0-CSC trigger readout pads in partition
float padPitch() const
pad pitch in a center
const ME0EtaPartitionSpecs * specs() const
int lastStripInPad(int pad) const
returns last strip (INT number [1,nstrip]) for pad (an integer [1,npads])
ME0EtaPartition(ME0DetId id, const BoundPlane::BoundPlanePointer &bp, ME0EtaPartitionSpecs *rrs)
LocalError localError(float strip, float cluster_size=1.) const
const GeomDetType & type() const override
int firstStripInPad(int pad) const
returns first strip (INT number [1,nstrip]) for pad (an integer [1,npads])
float localPadPitch(const LocalPoint &lp) const
pad pitch at a particular point
const StripTopology & specificPadTopology() const
LocalPoint centreOfPad(int pad) const
ME0DetId id() const
LocalPoint centreOfStrip(int strip) const
const Topology & padTopology() const
float pitch() const
float strip(const LocalPoint &lp) const
float localPitch(const LocalPoint &lp) const
ME0EtaPartitionSpecs * specs_
const Topology & topology() const override
~ME0EtaPartition() override
const StripTopology & specificTopology() const
float pad(const LocalPoint &lp) const
returns FRACTIONAL pad number [0.,npads] for a point
float padOfStrip(int strip) const
returns FRACTIONAL pad number [0.,npads] for an integer strip [1,nstrip]
int nstrips() const
Return the chamber this roll belongs to.