Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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/GeomDetUnit.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
//class GEMChamber;
12
13
class
GEMEtaPartition
:
public
GeomDetUnit
14
{
15
public
:
16
17
GEMEtaPartition
(
GEMDetId
id
,
BoundPlane::BoundPlanePointer
bp,
GEMEtaPartitionSpecs
* rrs);
18
~GEMEtaPartition
();
19
20
const
GEMEtaPartitionSpecs
*
specs
()
const
{
return
specs_
; }
21
GEMDetId
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 GEMChamber* 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
// GEM-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
92
GEMDetId
id_
;
93
GEMEtaPartitionSpecs
*
specs_
;
94
};
95
96
#endif
97
GEMEtaPartition
Definition:
GEMEtaPartition.h:13
GEMDetId
Definition:
GEMDetId.h:16
GEMEtaPartition::localPadPitch
float localPadPitch(const LocalPoint &lp) const
pad pitch at a particular point
Definition:
GEMEtaPartition.cc:117
GEMEtaPartition::id_
GEMDetId id_
Definition:
GEMEtaPartition.h:92
GEMEtaPartition::padTopology
const Topology & padTopology() const
Definition:
GEMEtaPartition.cc:30
GEMEtaPartition::lastStripInPad
int lastStripInPad(int pad) const
returns last strip (INT number [1,nstrip]) for pad (an integer [1,npads])
Definition:
GEMEtaPartition.cc:145
GEMEtaPartition::GEMEtaPartition
GEMEtaPartition(GEMDetId id, BoundPlane::BoundPlanePointer bp, GEMEtaPartitionSpecs *rrs)
Definition:
GEMEtaPartition.cc:6
StripTopology
Definition:
StripTopology.h:11
GEMEtaPartition::padPitch
float padPitch() const
pad pitch in a center
Definition:
GEMEtaPartition.cc:123
GEMEtaPartition::topology
const Topology & topology() const
Definition:
GEMEtaPartition.cc:18
GEMEtaPartition::id
GEMDetId id() const
Definition:
GEMEtaPartition.h:21
GEMEtaPartition::padOfStrip
float padOfStrip(int strip) const
returns FRACTIONAL pad number [0.,npads] for an integer strip [1,nstrip]
Definition:
GEMEtaPartition.cc:130
GEMEtaPartition::centreOfStrip
LocalPoint centreOfStrip(int strip) const
Definition:
GEMEtaPartition.cc:54
ReferenceCountingPointer< Plane >
GEMEtaPartition::localPitch
float localPitch(const LocalPoint &lp) const
Definition:
GEMEtaPartition.cc:79
GEMEtaPartition::nstrips
int nstrips() const
Return the chamber this roll belongs to.
Definition:
GEMEtaPartition.cc:48
GEMEtaPartition::firstStripInPad
int firstStripInPad(int pad) const
returns first strip (INT number [1,nstrip]) for pad (an integer [1,npads])
Definition:
GEMEtaPartition.cc:137
GeomDetType.h
GEMEtaPartition::localError
LocalError localError(float strip) const
Definition:
GEMEtaPartition.cc:67
GEMEtaPartition::pad
float pad(const LocalPoint &lp) const
returns FRACTIONAL pad number [0.,npads] for a point
Definition:
GEMEtaPartition.cc:111
GEMEtaPartition::npads
int npads() const
number of GEM-CSC trigger readout pads in partition
Definition:
GEMEtaPartition.cc:92
GEMEtaPartition::specificTopology
const StripTopology & specificTopology() const
Definition:
GEMEtaPartition.cc:24
Topology
Definition:
Topology.h:42
GEMEtaPartition::specificPadTopology
const StripTopology & specificPadTopology() const
Definition:
GEMEtaPartition.cc:36
GEMEtaPartition::specs_
GEMEtaPartitionSpecs * specs_
Definition:
GEMEtaPartition.h:93
GEMEtaPartition::pitch
float pitch() const
Definition:
GEMEtaPartition.cc:85
GEMDetId.h
GEMEtaPartitionSpecs
Definition:
GEMEtaPartitionSpecs.h:19
GeomDetUnit.h
GEMEtaPartition::type
const GeomDetType & type() const
Definition:
GEMEtaPartition.cc:42
GEMEtaPartition::specs
const GEMEtaPartitionSpecs * specs() const
Definition:
GEMEtaPartition.h:20
LocalError
Definition:
LocalError.h:12
GEMEtaPartition::strip
float strip(const LocalPoint &lp) const
Definition:
GEMEtaPartition.cc:73
GEMEtaPartition::centreOfPad
LocalPoint centreOfPad(int pad) const
Definition:
GEMEtaPartition.cc:98
Point3DBase< float, LocalTag >
GeomDetUnit
Definition:
GeomDetUnit.h:13
GEMEtaPartition::~GEMEtaPartition
~GEMEtaPartition()
Definition:
GEMEtaPartition.cc:12
GeomDetType
Definition:
GeomDetType.h:10
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5