1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
import FWCore.ParameterSet.Config as cms
from Alignment.APEEstimation.SectorBuilder_cfi import *
##
## Whole Subdetector (means only one for both endcaps)
##
Fpix = EmptySector.clone(
name = 'Fpix',
subdetId = [2],
)
FPIX = cms.VPSet(
Fpix,
)
##
## Separation of side(+,-)
##
FpixMinus = Fpix.clone(
name = 'FpixMinus',
side = [1],
)
FpixPlus = Fpix.clone(
name = 'FpixPlus',
side = [2],
)
FPIXSideSeparation = cms.VPSet(
FpixMinus,
FpixPlus,
)
##
## Separation of side + layers
##
FpixMinusLayer1 = FpixMinus.clone(
name = 'FpixMinusLayer1',
layer = [1],
)
FpixMinusLayer2 = FpixMinus.clone(
name = 'FpixMinusLayer2',
layer = [2],
)
FpixPlusLayer1 = FpixPlus.clone(
name = 'FpixPlusLayer1',
layer = [1],
)
FpixPlusLayer2 = FpixPlus.clone(
name = 'FpixPlusLayer2',
layer = [2],
)
FPIXSideAndLayerSeparation = cms.VPSet(
FpixMinusLayer1,
FpixMinusLayer2,
FpixPlusLayer1,
FpixPlusLayer2,
)
##
## Separation of side + layers + orientations
##
FpixMinusLayer1Out = FpixMinusLayer1.clone(
name = 'FpixMinusLayer1Out',
wDirection = [-1],
)
FpixMinusLayer1In = FpixMinusLayer1.clone(
name = 'FpixMinusLayer1In',
wDirection = [1],
)
FpixMinusLayer2Out = FpixMinusLayer2.clone(
name = 'FpixMinusLayer2Out',
wDirection = [-1],
)
FpixMinusLayer2In = FpixMinusLayer2.clone(
name = 'FpixMinusLayer2In',
wDirection = [1],
)
FpixPlusLayer1Out = FpixPlusLayer1.clone(
name = 'FpixPlusLayer1Out',
wDirection = [1],
)
FpixPlusLayer1In = FpixPlusLayer1.clone(
name = 'FpixPlusLayer1In',
wDirection = [-1],
)
FpixPlusLayer2Out = FpixPlusLayer2.clone(
name = 'FpixPlusLayer2Out',
wDirection = [1],
)
FpixPlusLayer2In = FpixPlusLayer2.clone(
name = 'FpixPlusLayer2In',
wDirection = [-1],
)
FPIXSideAndLayerAndOrientationSeparation = cms.VPSet(
FpixMinusLayer1Out,
FpixMinusLayer1In,
FpixMinusLayer2Out,
FpixMinusLayer2In,
FpixPlusLayer1Out,
FpixPlusLayer1In,
FpixPlusLayer2Out,
FpixPlusLayer2In,
)
|