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 {
14 public:
15 
17  ~ME0EtaPartition() override;
18 
19  const ME0EtaPartitionSpecs* specs() const { return specs_; }
20  ME0DetId id() const { return id_; }
21 
22  const Topology& topology() const override;
23  const StripTopology& specificTopology() const;
24 
25  const Topology& padTopology() const;
26  const StripTopology& specificPadTopology() const;
27 
28  const GeomDetType& type() const override;
29 
31  //const ME0Chamber* chamber() const;
32 
33  // strip-related methods:
34 
36  int nstrips() const;
37 
40  LocalPoint centreOfStrip(int strip) const;
41 
44  LocalPoint centreOfStrip(float strip) const;
45  LocalError localError(float strip, float cluster_size = 1.) const;
46 
50  float strip(const LocalPoint& lp) const;
51 
52  float pitch() const;
53  float localPitch(const LocalPoint& lp) const;
54 
55 
56  // ME0-CSC pad-related methods:
57 
59  int npads() const;
60 
63  LocalPoint centreOfPad(int pad) const;
64 
67  LocalPoint centreOfPad(float pad) const;
68 
70  float pad(const LocalPoint& lp) const;
71 
73  float padPitch() const;
75  float localPadPitch(const LocalPoint& lp) const;
76 
77 
78  // relations between strips and pads:
79 
81  float padOfStrip(int strip) const;
82 
84  int firstStripInPad(int pad) const;
85 
87  int lastStripInPad(int pad) const;
88 
89 private:
90 
93 };
94 
95 #endif
96 
const ME0EtaPartitionSpecs * specs() const
float localPitch(const LocalPoint &lp) const
int firstStripInPad(int pad) const
returns first strip (INT number [1,nstrip]) for pad (an integer [1,npads])
const StripTopology & specificTopology() const
float pad(const LocalPoint &lp) const
returns FRACTIONAL pad number [0.,npads] for a point
LocalPoint centreOfStrip(int strip) const
const Topology & padTopology() const
ME0EtaPartition(ME0DetId id, const BoundPlane::BoundPlanePointer &bp, ME0EtaPartitionSpecs *rrs)
const StripTopology & specificPadTopology() const
float strip(const LocalPoint &lp) const
float padOfStrip(int strip) const
returns FRACTIONAL pad number [0.,npads] for an integer strip [1,nstrip]
LocalPoint centreOfPad(int pad) const
float localPadPitch(const LocalPoint &lp) const
pad pitch at a particular point
LocalError localError(float strip, float cluster_size=1.) const
ME0DetId id() const
float pitch() const
int nstrips() const
Return the chamber this roll belongs to.
const GeomDetType & type() const override
int lastStripInPad(int pad) const
returns last strip (INT number [1,nstrip]) for pad (an integer [1,npads])
int npads() const
number of ME0-CSC trigger readout pads in partition
ME0EtaPartitionSpecs * specs_
~ME0EtaPartition() override
float padPitch() const
pad pitch in a center
const Topology & topology() const override