Main Page
Namespaces
Classes
Package Documentation
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
private
:
82
GEMDetId
id_
;
83
GEMEtaPartitionSpecs
*
specs_
;
84
};
85
86
#endif
GEMEtaPartition
Definition:
GEMEtaPartition.h:12
GEMDetId
Definition:
GEMDetId.h:17
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:82
GeomDet.h
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
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::topology
const Topology & topology() const override
Definition:
GEMEtaPartition.cc:14
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::type
const GeomDetType & type() const override
Definition:
GEMEtaPartition.cc:22
GEMEtaPartition::GEMEtaPartition
GEMEtaPartition(GEMDetId id, const BoundPlane::BoundPlanePointer &bp, GEMEtaPartitionSpecs *rrs)
Definition:
GEMEtaPartition.cc:5
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:41
GEMEtaPartition::specificPadTopology
const StripTopology & specificPadTopology() const
Definition:
GEMEtaPartition.cc:20
GEMEtaPartition::specs_
GEMEtaPartitionSpecs * specs_
Definition:
GEMEtaPartition.h:83
GEMEtaPartition::pitch
float pitch() const
Definition:
GEMEtaPartition.cc:41
GEMDetId.h
GEMEtaPartitionSpecs
Definition:
GEMEtaPartitionSpecs.h:18
GEMEtaPartition::~GEMEtaPartition
~GEMEtaPartition() override
Definition:
GEMEtaPartition.cc:10
GEMEtaPartition::specs
const GEMEtaPartitionSpecs * specs() const
Definition:
GEMEtaPartition.h:17
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.11