CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SectorBuilder_Bpix_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 Bpix = EmptySector.clone(
12  name = 'Bpix',
13  subdetId = [1],
14 )
15 
16 BPIX = cms.VPSet(
17  Bpix,
18 )
19 
20 
21 
22 ##
23 ## Separation of layers
24 ##
25 
26 BpixLayer1 = Bpix.clone(
27  name = 'BpixLayer1',
28  layer = [1],
29 )
30 BpixLayer2 = Bpix.clone(
31  name = 'BpixLayer2',
32  layer = [2],
33 )
34 BpixLayer3 = Bpix.clone(
35  name = 'BpixLayer3',
36  layer = [3],
37 )
38 
39 BPIXLayerSeparation = cms.VPSet(
40  BpixLayer1,
41  BpixLayer2,
42  BpixLayer3,
43 )
44 
45 
46 
47 ##
48 ## Separation of layers + orientations
49 ##
50 
51 BpixLayer1Out = BpixLayer1.clone(
52  name = 'BpixLayer1Out',
53  wDirection = [1],
54 )
55 BpixLayer1In = BpixLayer1.clone(
56  name = 'BpixLayer1In',
57  wDirection = [-1],
58 )
59 BpixLayer2Out = BpixLayer2.clone(
60  name = 'BpixLayer2Out',
61  wDirection = [1],
62 )
63 BpixLayer2In = BpixLayer2.clone(
64  name = 'BpixLayer2In',
65  wDirection = [-1],
66 )
67 BpixLayer3Out = BpixLayer3.clone(
68  name = 'BpixLayer3Out',
69  wDirection = [1],
70 )
71 BpixLayer3In = BpixLayer3.clone(
72  name = 'BpixLayer3In',
73  wDirection = [-1],
74 )
75 
76 BPIXLayerAndOrientationSeparation = cms.VPSet(
77  BpixLayer1Out,
78  BpixLayer1In,
79  BpixLayer2Out,
80  BpixLayer2In,
81  BpixLayer3Out,
82  BpixLayer3In,
83 )
84 
85 
86 
87 
88 
89 
90 
91 
92 
93 
94 
95 
96 
97