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 //class ME0Chamber;
12 
14 {
15 public:
16 
19 
20  const ME0EtaPartitionSpecs* specs() const { return specs_; }
21  ME0DetId id() const { return id_; }
22 
23  const Topology& topology() const;
24  const StripTopology& specificTopology() const;
25 
26  const Topology& padTopology() const;
27  const StripTopology& specificPadTopology() const;
28 
29  const GeomDetType& type() const;
30 
32  //const ME0Chamber* chamber() const;
33 
34  // strip-related methods:
35 
37  int nstrips() const;
38 
41  LocalPoint centreOfStrip(int strip) const;
42 
45  LocalPoint centreOfStrip(float strip) const;
46  LocalError localError(float strip) const;
47 
51  float strip(const LocalPoint& lp) const;
52 
53  float pitch() const;
54  float localPitch(const LocalPoint& lp) const;
55 
56 
57  // ME0-CSC pad-related methods:
58 
60  int npads() const;
61 
64  LocalPoint centreOfPad(int pad) const;
65 
68  LocalPoint centreOfPad(float pad) const;
69 
71  float pad(const LocalPoint& lp) const;
72 
74  float padPitch() const;
76  float localPadPitch(const LocalPoint& lp) const;
77 
78 
79  // relations between strips and pads:
80 
82  float padOfStrip(int strip) const;
83 
85  int firstStripInPad(int pad) const;
86 
88  int lastStripInPad(int pad) const;
89 
90 private:
91 
94 };
95 
96 #endif
97 
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
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
ME0DetId id() const
float pitch() const
ME0EtaPartition(ME0DetId id, BoundPlane::BoundPlanePointer bp, ME0EtaPartitionSpecs *rrs)
LocalError localError(float strip) const
int nstrips() const
Return the chamber this roll belongs to.
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
const Topology & topology() const
ME0EtaPartitionSpecs * specs_
float padPitch() const
pad pitch in a center
const GeomDetType & type() const