1 import FWCore.ParameterSet.Config
as cms
6 magfield = cms.ESSource(
"XMLIdealGeometryESSource",
7 geomXMLFiles = cms.vstring(
'Geometry/CMSCommonData/data/normal/cmsextent.xml',
8 'Geometry/CMSCommonData/data/cms.xml',
9 'Geometry/CMSCommonData/data/cmsMagneticField.xml',
10 'MagneticField/GeomBuilder/data/MagneticFieldVolumes_1103l.xml',
11 'Geometry/CMSCommonData/data/materials.xml'),
12 rootNodeName = cms.string(
'cmsMagneticField:MAGF')
16 es_prefer_magfield = cms.ESPrefer(
"XMLIdealGeometryESSource",
"magfield")
21 SlaveField0 = cms.ESProducer(
"UniformMagneticFieldESProducer",
22 ZFieldInTesla = cms.double(0.0),
23 label = cms.untracked.string(
'slave_0')
26 SlaveField20 = cms.ESProducer(
"ParametrizedMagneticFieldProducer",
27 version = cms.string(
'PolyFit2D'),
28 parameters = cms.PSet(
29 BValue = cms.double(2.02156567013928)
31 label = cms.untracked.string(
'slave_20')
34 SlaveField30 = SlaveField20.clone()
35 SlaveField30.parameters.BValue = 3.0234
36 SlaveField30.label =
'slave_30'
38 SlaveField35 = SlaveField20.clone()
39 SlaveField35.parameters.BValue = 3.51622117206486
40 SlaveField35.label =
'slave_35'
42 SlaveField38 = SlaveField20.clone()
43 SlaveField38.parameters.BValue= 3.81143026675623
44 SlaveField38.label =
'slave_38'
46 SlaveField40 = SlaveField20.clone()
47 SlaveField40.parameters.BValue= 4.01242188708911
48 SlaveField40.label =
'slave_40'
51 VBF0 = cms.ESProducer(
"VolumeBasedMagneticFieldESProducer",
52 label = cms.untracked.string(
'0t'),
53 useParametrizedTrackerField = cms.bool(
True),
54 paramLabel = cms.string(
'slave_0'),
55 version = cms.string(
'grid_1103l_071212_2t'),
56 geometryVersion = cms.int32(71212),
57 debugBuilder = cms.untracked.bool(
False),
58 cacheLastVolume = cms.untracked.bool(
True),
59 scalingVolumes = cms.vint32(),
60 scalingFactors = cms.vdouble(),
61 gridFiles = cms.VPSet(
63 volumes = cms.string(
'1-312'),
64 sectors = cms.string(
'0') ,
65 master = cms.int32(1),
66 path = cms.string(
'grid.[v].bin'),
72 VBF20.version =
'grid_1103l_071212_2t'
73 VBF20.paramLabel =
'slave_20'
74 VBF20.label =
'071212_2t'
77 VBF30.version =
'grid_1103l_071212_3t'
78 VBF30.paramLabel =
'slave_30'
79 VBF30.label =
'071212_3t'
82 VBF35.version =
'grid_1103l_071212_3_5t'
83 VBF35.paramLabel =
'slave_35'
84 VBF35.label =
'071212_3_5t'
89 VBF38.version =
'grid_1103l_090322_3_8t'
90 VBF38.geometryVersion = 90322
91 VBF38.paramLabel =
'slave_38'
92 VBF38.label =
'090322_3_8t'
93 VBF38.scalingVolumes = fieldScaling.scalingVolumes
94 VBF38.scalingFactors = fieldScaling.scalingFactors
95 VBF38.gridFiles = cms.VPSet(
97 volumes = cms.string(
'1-312'),
98 sectors = cms.string(
'0') ,
99 master = cms.int32(1),
100 path = cms.string(
'grid.[v].bin'),
104 volumes = cms.string(
'176-186,231-241,286-296'),
105 sectors = cms.string(
'3') ,
106 master = cms.int32(3),
107 path = cms.string(
'S3/grid.[v].bin'),
111 volumes = cms.string(
'176-186,231-241,286-296'),
112 sectors = cms.string(
'4') ,
113 master = cms.int32(4),
114 path = cms.string(
'S4/grid.[v].bin'),
118 volumes = cms.string(
'14,15,20,21,24-27,32,33,40,41,48,49,56,57,62,63,70,71,286-296'),
119 sectors = cms.string(
'9') ,
120 master = cms.int32(9),
121 path = cms.string(
'S9/grid.[v].bin'),
125 volumes = cms.string(
'14,15,20,21,24-27,32,33,40,41,48,49,56,57,62,63,70,71,286-296'),
126 sectors = cms.string(
'10') ,
127 master = cms.int32(10),
128 path = cms.string(
'S10/grid.[v].bin'),
132 volumes = cms.string(
'14,15,20,21,24-27,32,33,40,41,48,49,56,57,62,63,70,71,286-296'),
133 sectors = cms.string(
'11') ,
134 master = cms.int32(11),
135 path = cms.string(
'S11/grid.[v].bin'),
142 VBF40.version =
'grid_1103l_071212_4t'
143 VBF40.paramLabel =
'slave_40'
144 VBF40.label =
'071212_4t'
147 AutoMagneticFieldESProducer = cms.ESProducer(
"AutoMagneticFieldESProducer",
149 valueOverride = cms.int32(-1),
150 nominalCurrents = cms.untracked.vint32(-1, 0,9558,14416,16819,18268,19262),
151 mapLabels = cms.untracked.vstring(
"090322_3_8t",
158 label = cms.untracked.string(
''),