CMS 3D CMS Logo

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