CMS 3D CMS Logo

GEMEtaPartition.h
Go to the documentation of this file.
1 #ifndef Geometry_GEMGeometry_GEMEtaPartition_H
2 #define Geometry_GEMGeometry_GEMEtaPartition_H
3 
8 
9 class StripTopology;
11 
12 class GEMEtaPartition : public GeomDet {
13 public:
15  ~GEMEtaPartition() override;
16 
17  const GEMEtaPartitionSpecs* specs() const { return specs_; }
18  GEMDetId 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 
28  // strip-related methods:
29 
31  int nstrips() const;
32 
35  LocalPoint centreOfStrip(int strip) const;
36 
39  LocalPoint centreOfStrip(float strip) const;
40  LocalError localError(float strip, float cluster_size = 1.) const;
44  float strip(const LocalPoint& lp) const;
45 
46  float pitch() const;
47  float localPitch(const LocalPoint& lp) const;
48 
49  // GEM-CSC pad-related methods:
50 
52  int npads() const;
53 
56  LocalPoint centreOfPad(int pad) const;
57 
60  LocalPoint centreOfPad(float pad) const;
61 
63  float pad(const LocalPoint& lp) const;
64 
66  float padPitch() const;
68  float localPadPitch(const LocalPoint& lp) const;
69 
70  // relations between strips and pads:
71 
73  float padOfStrip(int strip) const;
74 
76  int firstStripInPad(int pad) const;
77 
79  int lastStripInPad(int pad) const;
80 
81  // subsystem
83  bool isME0() const;
84  bool isGE11() const;
85  bool isGE21() const;
86 
87 private:
90 };
91 
92 #endif
GEMEtaPartition::firstStripInPad
int firstStripInPad(int pad) const
returns first strip (INT number [0,nstrip-1]) for pad (an integer [0,npads-1])
Definition: GEMEtaPartition.cc:63
GEMEtaPartition::nstrips
int nstrips() const
number of readout strips in partition
Definition: GEMEtaPartition.cc:24
GEMEtaPartition::specs
const GEMEtaPartitionSpecs * specs() const
Definition: GEMEtaPartition.h:17
GeomDet
Definition: GeomDet.h:27
GEMEtaPartition::type
const GeomDetType & type() const override
Definition: GEMEtaPartition.cc:22
GEMEtaPartition::id_
GEMDetId id_
Definition: GEMEtaPartition.h:88
GEMEtaPartition
Definition: GEMEtaPartition.h:12
GeomDetType.h
GeomDetType
Definition: GeomDetType.h:9
GEMEtaPartition::isGE11
bool isGE11() const
Definition: GEMEtaPartition.cc:77
GEMEtaPartition::lastStripInPad
int lastStripInPad(int pad) const
returns last strip (INT number [0,nstrip-1]) for pad (an integer [0,npads-1])
Definition: GEMEtaPartition.cc:69
ReferenceCountingPointer< Plane >
GEMEtaPartition::specificTopology
const StripTopology & specificTopology() const
Definition: GEMEtaPartition.cc:16
GEMEtaPartition::padTopology
const Topology & padTopology() const
Definition: GEMEtaPartition.cc:18
GEMEtaPartition::localPadPitch
float localPadPitch(const LocalPoint &lp) const
pad pitch at a particular point
Definition: GEMEtaPartition.cc:54
GEMEtaPartition::isME0
bool isME0() const
Definition: GEMEtaPartition.cc:81
GEMEtaPartition::pad
float pad(const LocalPoint &lp) const
returns FRACTIONAL pad number [0.,npads) for a point
Definition: GEMEtaPartition.cc:52
Point3DBase< float, LocalTag >
GEMEtaPartition::specs_
GEMEtaPartitionSpecs * specs_
Definition: GEMEtaPartition.h:89
GEMSubDetId::Station
Station
Definition: GEMSubDetId.h:12
GEMEtaPartition::localError
LocalError localError(float strip, float cluster_size=1.) const
Definition: GEMEtaPartition.cc:33
LocalError
Definition: LocalError.h:12
GEMDetId
Definition: GEMDetId.h:18
GEMEtaPartition::topology
const Topology & topology() const override
Definition: GEMEtaPartition.cc:14
GEMEtaPartition::subsystem
GEMSubDetId::Station subsystem() const
Definition: GEMEtaPartition.cc:75
GEMEtaPartition::id
GEMDetId id() const
Definition: GEMEtaPartition.h:18
GEMEtaPartition::centreOfStrip
LocalPoint centreOfStrip(int strip) const
Definition: GEMEtaPartition.cc:26
GEMEtaPartition::isGE21
bool isGE21() const
Definition: GEMEtaPartition.cc:79
GEMEtaPartition::specificPadTopology
const StripTopology & specificPadTopology() const
Definition: GEMEtaPartition.cc:20
GEMEtaPartition::strip
float strip(const LocalPoint &lp) const
Definition: GEMEtaPartition.cc:37
GEMEtaPartition::centreOfPad
LocalPoint centreOfPad(int pad) const
Definition: GEMEtaPartition.cc:45
GEMEtaPartition::pitch
float pitch() const
Definition: GEMEtaPartition.cc:41
GEMEtaPartition::padPitch
float padPitch() const
pad pitch in a center
Definition: GEMEtaPartition.cc:56
GEMEtaPartition::npads
int npads() const
number of GEM-CSC trigger readout pads in partition
Definition: GEMEtaPartition.cc:43
GEMEtaPartition::localPitch
float localPitch(const LocalPoint &lp) const
Definition: GEMEtaPartition.cc:39
GeomDet.h
GEMDetId.h
Topology
Definition: Topology.h:39
GEMEtaPartition::padOfStrip
float padOfStrip(int strip) const
returns FRACTIONAL pad number [0.,npads) for an integer strip [0,nstrip-1]
Definition: GEMEtaPartition.cc:58
StripTopology
Definition: StripTopology.h:11
GlobalPoint.h
GEMEtaPartition::~GEMEtaPartition
~GEMEtaPartition() override
Definition: GEMEtaPartition.cc:10
GEMEtaPartitionSpecs
Definition: GEMEtaPartitionSpecs.h:18
GEMEtaPartition::GEMEtaPartition
GEMEtaPartition(GEMDetId id, const BoundPlane::BoundPlanePointer &bp, GEMEtaPartitionSpecs *rrs)
Definition: GEMEtaPartition.cc:5