Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
Alignment
MillePedeAlignmentAlgorithm
python
mpsvalidate
geometrydata.py
Go to the documentation of this file.
1
##########################################################################
2
# Geometry data
3
##
4
5
class
GeometryData
:
6
""" Class which holds the geometry data of a ObjId
7
"""
8
9
def
__init__
(self, subdetid = 0, discriminator = ()):
10
self.
subdetid
= subdetid
11
self.
discriminator
= discriminator
12
13
# ObjId names from Alignment/CommonAlignment/interface/StructureType.h
14
data = {-1:
GeometryData
(),
# notfound
15
0:
GeometryData
(),
# invalid
16
1:
GeometryData
(),
# AlignableDetUnit
17
2:
GeometryData
(),
# AlignableDet
18
3:
GeometryData
(1),
# TPBModule
19
4:
GeometryData
(1, (
"Half"
,
"Layer"
,
"Rod"
)),
# TPBLadder
20
5:
GeometryData
(1, (
"Half"
,
"Layer"
)),
# TPBLayer
21
6:
GeometryData
(1, (
"Half"
,)),
# TPBHalfBarrel
22
7:
GeometryData
(1),
# TPBBarrel
23
8:
GeometryData
(2),
# TPEModule
24
9:
GeometryData
(2, (
"Side"
,
"Half"
,
"Layer"
,
"Blade"
,
"Panel"
)),
# TPEPanel
25
10:
GeometryData
(2, (
"Side"
,
"Half"
,
"Layer"
,
"Blade"
)),
# TPEBlade
26
11:
GeometryData
(2, (
"Side"
,
"Half"
,
"Layer"
)),
# TPEHalfDisk
27
12:
GeometryData
(2, (
"Side"
,
"Half"
)),
# TPEHalfCylinder
28
13:
GeometryData
(2, (
"Side"
,)),
# TPEEndcap
29
14:
GeometryData
(3),
# TIBModule
30
15:
GeometryData
(3),
# TIBString
31
16:
GeometryData
(3, (
"Side"
,
"Layer"
,
"Half"
,
"OuterInner"
)),
# TIBSurface
32
17:
GeometryData
(3, (
"Side"
,
"Layer"
,
"Half"
)),
# TIBHalfShell
33
18:
GeometryData
(3, (
"Side"
,
"Layer"
)),
# TIBLayer
34
19:
GeometryData
(3, (
"Side"
,)),
# TIBHalfBarrel
35
20:
GeometryData
(3),
# TIBBarrel
36
21:
GeometryData
(4),
# TIDModule
37
22:
GeometryData
(4, (
"Side"
,
"Layer"
,
"Ring"
,
"OuterInner"
)),
# TIDSide
38
23:
GeometryData
(4, (
"Side"
,
"Layer"
,
"Ring"
)),
# TIDRing
39
24:
GeometryData
(4, (
"Side"
,
"Layer"
)),
# TIDDisk
40
25:
GeometryData
(4, (
"Side"
,)),
# TIDEndcap
41
26:
GeometryData
(5),
# TOBModule
42
27:
GeometryData
(5, (
"Side"
,
"Layer"
,
"Rod"
)),
# TOBRod
43
28:
GeometryData
(5, (
"Side"
,
"Layer"
)),
# TOBLayer
44
29:
GeometryData
(5, (
"Side"
,)),
# TOBHalfBarrel
45
30:
GeometryData
(5),
# TOBBarrel
46
31:
GeometryData
(6),
# TECModule
47
32:
GeometryData
(6, (
"Side"
,
"Layer"
,
"OuterInner"
,
"Petal"
,
"Ring"
)),
# TECRing
48
33:
GeometryData
(6, (
"Side"
,
"Layer"
,
"OuterInner"
,
"Petal"
)),
# TECPetal
49
34:
GeometryData
(6, (
"Side"
,
"Layer"
,
"OuterInner"
)),
# TECSide
50
35:
GeometryData
(6, (
"Side"
,
"Layer"
)),
# TECDisk
51
36:
GeometryData
(6, (
"Side"
,)),
# TECEndcap
52
37:
GeometryData
(),
# Pixel
53
38:
GeometryData
(),
# Strip
54
39:
GeometryData
(),
# Tracker
55
100:
GeometryData
(),
# AlignableDTBarrel
56
101:
GeometryData
(),
# AlignableDTWheel
57
102:
GeometryData
(),
# AlignableDTStation
58
103:
GeometryData
(),
# AlignableDTChamber
59
104:
GeometryData
(),
# AlignableDTSuperLayer
60
105:
GeometryData
(),
# AlignableDTLayer
61
106:
GeometryData
(),
# AlignableCSCEndcap
62
107:
GeometryData
(),
# AlignableCSCStation
63
108:
GeometryData
(),
# AlignableCSCRing
64
109:
GeometryData
(),
# AlignableCSCChamber
65
110:
GeometryData
(),
# AlignableCSCLayer
66
111:
GeometryData
(),
# AlignableMuon
67
112:
GeometryData
(),
# Detector
68
1000:
GeometryData
(),
# Extras
69
1001:
GeometryData
(),
# BeamSpot
70
}
geometrydata.GeometryData.subdetid
subdetid
Definition:
geometrydata.py:10
geometrydata.GeometryData.discriminator
discriminator
Definition:
geometrydata.py:11
geometrydata.GeometryData
Geometry data.
Definition:
geometrydata.py:5
geometrydata.GeometryData.__init__
def __init__
Definition:
geometrydata.py:9
Generated for CMSSW Reference Manual by
1.8.5