CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
volumeBasedMagneticField_71212_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # This cfi contains everything needed to use the VolumeBased magnetic
4 # field engine version 071212 at 2T.
5 #
6 # WARNING: THIS FIELD MAP IS OBSOLETE, EXCEPT FOR THE WORKING POINT AT 2T.
7 # If in doubt, use the standard sequence Configuration.StandardSequences.MagneticField_cff
8 
9 magfield = cms.ESSource("XMLIdealGeometryESSource",
10  geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/normal/cmsextent.xml',
11  'Geometry/CMSCommonData/data/cms.xml',
12  'Geometry/CMSCommonData/data/cmsMagneticField.xml',
13  'MagneticField/GeomBuilder/data/MagneticFieldVolumes_1103l.xml'),
14  rootNodeName = cms.string('cmsMagneticField:MAGF')
15 )
16 
17 # avoid interference with EmptyESSource in uniformMagneticField.cfi
18 es_prefer_magfield = cms.ESPrefer("XMLIdealGeometryESSource","magfield")
19 
20 
21 ParametrizedMagneticFieldProducer = cms.ESProducer("ParametrizedMagneticFieldProducer",
22  version = cms.string('OAE_1103l_071212'),
23  parameters = cms.PSet(
24  BValue = cms.string('2_0T')
25  ),
26  label = cms.untracked.string('parametrizedField')
27 )
28 
29 
30 VolumeBasedMagneticFieldESProducer = cms.ESProducer("VolumeBasedMagneticFieldESProducer",
31  useParametrizedTrackerField = cms.bool(True),
32  label = cms.untracked.string(''),
33  paramLabel = cms.string('parametrizedField'),
34  version = cms.string('grid_1103l_071212_2t'),
35  geometryVersion = cms.int32(71212),
36  debugBuilder = cms.untracked.bool(False),
37  scalingVolumes = cms.vint32(),
38  scalingFactors = cms.vdouble(),
39  gridFiles = cms.VPSet(
40  cms.PSet( # Default tables, replicate sector 1
41  volumes = cms.string('1-312'),
42  sectors = cms.string('0') ,
43  master = cms.int32(1),
44  path = cms.string('grid.[v].bin'),
45  ),
46  )
47 )
48 
49