Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
Geometry
GEMGeometry
interface
GEMEtaPartition.h
Go to the documentation of this file.
1
#ifndef Geometry_GEMGeometry_GEMEtaPartition_H
2
#define Geometry_GEMGeometry_GEMEtaPartition_H
3
4
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
5
#include "
Geometry/CommonDetUnit/interface/GeomDetType.h
"
6
#include "
DataFormats/MuonDetId/interface/GEMDetId.h
"
7
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
8
9
class
StripTopology
;
10
class
GEMEtaPartitionSpecs
;
11
12
class
GEMEtaPartition
:
public
GeomDet
{
13
public
:
14
GEMEtaPartition
(
GEMDetId
id
,
const
BoundPlane::BoundPlanePointer
& bp,
GEMEtaPartitionSpecs
* rrs);
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
82
GEMSubDetId::Station
subsystem
()
const
;
83
bool
isME0
()
const
;
84
bool
isGE11
()
const
;
85
bool
isGE21
()
const
;
86
87
private
:
88
GEMDetId
id_
;
89
GEMEtaPartitionSpecs
*
specs_
;
90
};
91
92
#endif
GEMEtaPartition
Definition:
GEMEtaPartition.h:12
GEMDetId
Definition:
GEMDetId.h:18
GEMEtaPartition::localPadPitch
float localPadPitch(const LocalPoint &lp) const
pad pitch at a particular point
Definition:
GEMEtaPartition.cc:54
GEMEtaPartition::id_
GEMDetId id_
Definition:
GEMEtaPartition.h:88
GEMEtaPartition::padTopology
const Topology & padTopology() const
Definition:
GEMEtaPartition.cc:18
GEMEtaPartition::localError
LocalError localError(float strip, float cluster_size=1.) const
Definition:
GEMEtaPartition.cc:33
GeomDet.h
GEMEtaPartition::subsystem
GEMSubDetId::Station subsystem() const
Definition:
GEMEtaPartition.cc:75
GeomDet
Definition:
GeomDet.h:27
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
StripTopology
Definition:
StripTopology.h:11
GEMEtaPartition::padPitch
float padPitch() const
pad pitch in a center
Definition:
GEMEtaPartition.cc:56
GEMEtaPartition::id
GEMDetId id() const
Definition:
GEMEtaPartition.h:18
GEMEtaPartition::padOfStrip
float padOfStrip(int strip) const
returns FRACTIONAL pad number [0.,npads) for an integer strip [0,nstrip-1]
Definition:
GEMEtaPartition.cc:58
GEMEtaPartition::centreOfStrip
LocalPoint centreOfStrip(int strip) const
Definition:
GEMEtaPartition.cc:26
ReferenceCountingPointer< Plane >
GEMEtaPartition::localPitch
float localPitch(const LocalPoint &lp) const
Definition:
GEMEtaPartition.cc:39
GEMEtaPartition::nstrips
int nstrips() const
number of readout strips in partition
Definition:
GEMEtaPartition.cc:24
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
GeomDetType.h
GEMEtaPartition::isGE11
bool isGE11() const
Definition:
GEMEtaPartition.cc:77
GEMEtaPartition::GEMEtaPartition
GEMEtaPartition(GEMDetId id, const BoundPlane::BoundPlanePointer &bp, GEMEtaPartitionSpecs *rrs)
Definition:
GEMEtaPartition.cc:5
GEMEtaPartition::isGE21
bool isGE21() const
Definition:
GEMEtaPartition.cc:79
GEMEtaPartition::pad
float pad(const LocalPoint &lp) const
returns FRACTIONAL pad number [0.,npads) for a point
Definition:
GEMEtaPartition.cc:52
GEMEtaPartition::npads
int npads() const
number of GEM-CSC trigger readout pads in partition
Definition:
GEMEtaPartition.cc:43
GEMEtaPartition::specificTopology
const StripTopology & specificTopology() const
Definition:
GEMEtaPartition.cc:16
Topology
Definition:
Topology.h:39
GEMEtaPartition::specificPadTopology
const StripTopology & specificPadTopology() const
Definition:
GEMEtaPartition.cc:20
GEMEtaPartition::specs_
GEMEtaPartitionSpecs * specs_
Definition:
GEMEtaPartition.h:89
GEMEtaPartition::pitch
float pitch() const
Definition:
GEMEtaPartition.cc:41
GEMEtaPartition::isME0
bool isME0() const
Definition:
GEMEtaPartition.cc:81
GEMDetId.h
GEMEtaPartition::type
const GeomDetType & type() const override
Definition:
GEMEtaPartition.cc:22
GEMEtaPartitionSpecs
Definition:
GEMEtaPartitionSpecs.h:18
GEMEtaPartition::~GEMEtaPartition
~GEMEtaPartition() override
Definition:
GEMEtaPartition.cc:10
GEMSubDetId::Station
Station
Definition:
GEMSubDetId.h:12
GEMEtaPartition::specs
const GEMEtaPartitionSpecs * specs() const
Definition:
GEMEtaPartition.h:17
GEMEtaPartition::topology
const Topology & topology() const override
Definition:
GEMEtaPartition.cc:14
LocalError
Definition:
LocalError.h:12
GEMEtaPartition::strip
float strip(const LocalPoint &lp) const
Definition:
GEMEtaPartition.cc:37
GEMEtaPartition::centreOfPad
LocalPoint centreOfPad(int pad) const
Definition:
GEMEtaPartition.cc:45
Point3DBase< float, LocalTag >
GeomDetType
Definition:
GeomDetType.h:9
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5