CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
volumeBasedMagneticField_1103l_cfi.py
Go to the documentation of this file.
2 
3 # This cfi contains everything needed to use the VolumeBased magnetic
4 # field engine version 071212
5 
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  rootNodeName = cms.string('cmsMagneticField:MAGF')
12 )
13 
14 # avoid interference with EmptyESSource in uniformMagneticField.cfi
15 es_prefer_magfield = cms.ESPrefer("XMLIdealGeometryESSource","magfield")
16 
17 
18 ParametrizedMagneticFieldProducer = cms.ESProducer("ParametrizedMagneticFieldProducer",
19  version = cms.string('OAE_1103l_071212'),
20  parameters = cms.PSet(
21  BValue = cms.string('3_8T')
22  ),
23  label = cms.untracked.string('parametrizedField')
24 )
25 
26 
27 VolumeBasedMagneticFieldESProducer = cms.ESProducer("VolumeBasedMagneticFieldESProducer",
28  useParametrizedTrackerField = cms.bool(True),
29  label = cms.untracked.string(''),
30  paramLabel = cms.string('parametrizedField'),
31  version = cms.string('grid_1103l_071212_3t'),
32  geometryVersion = cms.int32(71212),
33  debugBuilder = cms.untracked.bool(False),
34  cacheLastVolume = cms.untracked.bool(True),
35  scalingVolumes = cms.vint32(),
36  scalingFactors = cms.vdouble(),
37  gridFiles = cms.VPSet(
38  cms.PSet( # Default tables, replicate sector 1
39  volumes = cms.string('1-312'),
40  sectors = cms.string('0') ,
41  master = cms.int32(1),
42  path = cms.string('grid.[v].bin'),
43  ),
44  )
45 )
46 
47