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
ME0EtaPartition::id_
ME0DetId id_
Definition: ME0EtaPartition.h:86
ME0EtaPartition::localPadPitch
float localPadPitch(const LocalPoint &lp) const
pad pitch at a particular point
Definition: ME0EtaPartition.cc:54
GeomDet
Definition: GeomDet.h:27
ME0EtaPartition::type
const GeomDetType & type() const override
Definition: ME0EtaPartition.cc:22
ME0DetId.h
GeomDetType.h
GeomDetType
Definition: GeomDetType.h:9
ME0EtaPartition::npads
int npads() const
number of ME0-CSC trigger readout pads in partition
Definition: ME0EtaPartition.cc:43
ReferenceCountingPointer< Plane >
ME0EtaPartition::~ME0EtaPartition
~ME0EtaPartition() override
Definition: ME0EtaPartition.cc:10
ME0EtaPartition::specificPadTopology
const StripTopology & specificPadTopology() const
Definition: ME0EtaPartition.cc:20
ME0EtaPartition::pitch
float pitch() const
Definition: ME0EtaPartition.cc:41
ME0EtaPartition::specificTopology
const StripTopology & specificTopology() const
Definition: ME0EtaPartition.cc:16
ME0EtaPartition::topology
const Topology & topology() const override
Definition: ME0EtaPartition.cc:14
ME0EtaPartition::centreOfStrip
LocalPoint centreOfStrip(int strip) const
Definition: ME0EtaPartition.cc:26
ME0EtaPartition::padOfStrip
float padOfStrip(int strip) const
returns FRACTIONAL pad number [0.,npads] for an integer strip [1,nstrip]
Definition: ME0EtaPartition.cc:58
ME0EtaPartition::localError
LocalError localError(float strip, float cluster_size=1.) const
Definition: ME0EtaPartition.cc:33
ME0EtaPartition::padTopology
const Topology & padTopology() const
Definition: ME0EtaPartition.cc:18
ME0EtaPartition::specs_
ME0EtaPartitionSpecs * specs_
Definition: ME0EtaPartition.h:87
ME0EtaPartition::pad
float pad(const LocalPoint &lp) const
returns FRACTIONAL pad number [0.,npads] for a point
Definition: ME0EtaPartition.cc:52
ME0EtaPartition::padPitch
float padPitch() const
pad pitch in a center
Definition: ME0EtaPartition.cc:56
ME0EtaPartitionSpecs
Definition: ME0EtaPartitionSpecs.h:18
Point3DBase< float, LocalTag >
ME0EtaPartition::nstrips
int nstrips() const
Return the chamber this roll belongs to.
Definition: ME0EtaPartition.cc:24
LocalError
Definition: LocalError.h:12
ME0EtaPartition::localPitch
float localPitch(const LocalPoint &lp) const
Definition: ME0EtaPartition.cc:39
ME0DetId
Definition: ME0DetId.h:16
ME0EtaPartition::specs
const ME0EtaPartitionSpecs * specs() const
Definition: ME0EtaPartition.h:17
ME0EtaPartition::id
ME0DetId id() const
Definition: ME0EtaPartition.h:18
GeomDet.h
ME0EtaPartition::lastStripInPad
int lastStripInPad(int pad) const
returns last strip (INT number [1,nstrip]) for pad (an integer [1,npads])
Definition: ME0EtaPartition.cc:69
ME0EtaPartition::ME0EtaPartition
ME0EtaPartition(ME0DetId id, const BoundPlane::BoundPlanePointer &bp, ME0EtaPartitionSpecs *rrs)
Definition: ME0EtaPartition.cc:5
ME0EtaPartition::centreOfPad
LocalPoint centreOfPad(int pad) const
Definition: ME0EtaPartition.cc:45
ME0EtaPartition::strip
float strip(const LocalPoint &lp) const
Definition: ME0EtaPartition.cc:37
Topology
Definition: Topology.h:39
StripTopology
Definition: StripTopology.h:11
GlobalPoint.h
ME0EtaPartition::firstStripInPad
int firstStripInPad(int pad) const
returns first strip (INT number [1,nstrip]) for pad (an integer [1,npads])
Definition: ME0EtaPartition.cc:63
ME0EtaPartition
Definition: ME0EtaPartition.h:12