CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SectorBuilder_Tib_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 
6 
7 ##
8 ## Whole Subdetector
9 ##
10 
11 Tib = EmptySector.clone(
12  name = 'Tib',
13  subdetId = [3],
14 )
15 
16 TIB = cms.VPSet(
17  Tib,
18 )
19 
20 
21 
22 ##
23 ## cosmic-like quartering (upper, lower, left, right part)
24 ##
25 
26 TibUp = Tib.clone(
27  name = 'TibUp',
28  posPhi = [0.7854,2.3562], # [45,135] degree
29 )
30 TibDown = Tib.clone(
31  name = 'TibDown',
32  posPhi = [-2.3562,-0.7854], # [-135,-45] degree
33 )
34 TibLeft = Tib.clone(
35  name = 'TibLeft',
36  posPhi = [-0.7854,0.7854], # [-45,45] degree
37 )
38 TibRight = Tib.clone(
39  name = 'TibRight',
40  posPhi = [-3.5,-2.3562,2.3562,3.5], # [135,-135] degree
41 )
42 
43 TIBQuarters = cms.VPSet(
44  TibUp,
45  TibDown,
46  TibLeft,
47  TibRight,
48 )
49 
50 
51 
52 ##
53 ## Separation of pitches + Separation of 1D and 2D layers
54 ##
55 
56 TibLayer12 = Tib.clone(
57  name = 'TibLayer12',
58  layer = [1,2],
59 )
60 TibLayer34 = Tib.clone(
61  name = 'TibLayer34',
62  layer = [3,4],
63 )
64 
65 TIBPitchAnd2DSeparation = cms.VPSet(
66  TibLayer12,
67  TibLayer34,
68 )
69 
70 
71 
72 ##
73 ## Separation of layers
74 ##
75 
76 TibLayer1 = Tib.clone(
77  name = 'TibLayer1',
78  layer = [1],
79 )
80 TibLayer2 = Tib.clone(
81  name = 'TibLayer2',
82  layer = [2],
83 )
84 TibLayer3 = Tib.clone(
85  name = 'TibLayer3',
86  layer = [3],
87 )
88 TibLayer4 = Tib.clone(
89  name = 'TibLayer4',
90  layer = [4],
91 )
92 
93 TIBPureLayerSeparation = cms.VPSet(
94  TibLayer1,
95  TibLayer2,
96  TibLayer3,
97  TibLayer4,
98 )
99 
100 
101 
102 ##
103 ## Separation of layers + rphi/stereo
104 ##
105 
106 TibLayer1Rphi = TibLayer1.clone(
107  name = 'TibLayer1Rphi',
108  isRPhi = [1],
109 )
110 TibLayer1Stereo = TibLayer1.clone(
111  name = 'TibLayer1Stereo',
112  isRPhi = [2],
113 )
114 TibLayer2Rphi = TibLayer2.clone(
115  name = 'TibLayer2Rphi',
116  isRPhi = [1],
117 )
118 TibLayer2Stereo = TibLayer2.clone(
119  name = 'TibLayer2Stereo',
120  isRPhi = [2],
121 )
122 
123 TIBLayerSeparation = cms.VPSet(
124  TibLayer1Rphi,
125  TibLayer1Stereo,
126  TibLayer2Rphi,
127  TibLayer2Stereo,
128  TibLayer3,
129  TibLayer4,
130 )
131 
132 
133 
134 ##
135 ## Separation of layers + rphi/stereo + orientations
136 ##
137 
138 TibLayer1RphiOut = TibLayer1Rphi.clone(
139  name = 'TibLayer1RphiOut',
140  wDirection = [1],
141 )
142 TibLayer1StereoOut = TibLayer1Stereo.clone(
143  name = 'TibLayer1StereoOut',
144  wDirection = [1],
145 )
146 TibLayer1RphiIn = TibLayer1Rphi.clone(
147  name = 'TibLayer1RphiIn',
148  wDirection = [-1],
149 )
150 TibLayer1StereoIn = TibLayer1Stereo.clone(
151  name = 'TibLayer1StereoIn',
152  wDirection = [-1],
153 )
154 TibLayer2RphiOut = TibLayer2Rphi.clone(
155  name = 'TibLayer2RphiOut',
156  wDirection = [1],
157 )
158 TibLayer2StereoOut = TibLayer2Stereo.clone(
159  name = 'TibLayer2StereoOut',
160  wDirection = [1],
161 )
162 TibLayer2RphiIn = TibLayer2Rphi.clone(
163  name = 'TibLayer2RphiIn',
164  wDirection = [-1],
165 )
166 TibLayer2StereoIn = TibLayer2Stereo.clone(
167  name = 'TibLayer2StereoIn',
168  wDirection = [-1],
169 )
170 TibLayer3Out = TibLayer3.clone(
171  name = 'TibLayer3Out',
172  wDirection = [1],
173 )
174 TibLayer3In = TibLayer3.clone(
175  name = 'TibLayer3In',
176  wDirection = [-1],
177 )
178 TibLayer4Out = TibLayer4.clone(
179  name = 'TibLayer4Out',
180  wDirection = [1],
181 )
182 TibLayer4In = TibLayer4.clone(
183  name = 'TibLayer4In',
184  wDirection = [-1],
185 )
186 
187 TIBLayerAndOrientationSeparation = cms.VPSet(
188  TibLayer1RphiOut,
189  TibLayer1StereoOut,
190  TibLayer1RphiIn,
191  TibLayer1StereoIn,
192  TibLayer2RphiOut,
193  TibLayer2StereoOut,
194  TibLayer2RphiIn,
195  TibLayer2StereoIn,
196  TibLayer3Out,
197  TibLayer3In,
198  TibLayer4Out,
199  TibLayer4In,
200 )
201 
202 
203 
204 
205 
206 
207 
208 
209 
210 
211 
212 
213 
214