Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:19

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # This cfi contains everything needed to use the VolumeBased magnetic
0004 # field engine version 071212 at 2T.
0005 #
0006 # WARNING: THIS FIELD MAP IS OBSOLETE, EXCEPT FOR THE WORKING POINT AT 2T.
0007 # If in doubt, use the standard sequence Configuration.StandardSequences.MagneticField_cff 
0008 
0009 magfield = cms.ESSource("XMLIdealGeometryESSource",
0010     geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/normal/cmsextent.xml', 
0011         'Geometry/CMSCommonData/data/cms.xml', 
0012         'Geometry/CMSCommonData/data/cmsMagneticField.xml', 
0013         'MagneticField/GeomBuilder/data/MagneticFieldVolumes_1103l.xml'),
0014     rootNodeName = cms.string('cmsMagneticField:MAGF')
0015 )
0016 
0017 # avoid interference with EmptyESSource in uniformMagneticField.cfi
0018 es_prefer_magfield = cms.ESPrefer("XMLIdealGeometryESSource","magfield")
0019 
0020 
0021 ParametrizedMagneticFieldProducer = cms.ESProducer("ParametrizedMagneticFieldProducer",
0022     version = cms.string('OAE_1103l_071212'),
0023     parameters = cms.PSet(
0024         BValue = cms.string('2_0T')
0025     ),
0026     label = cms.untracked.string('parametrizedField')
0027 )
0028 
0029 
0030 VolumeBasedMagneticFieldESProducer = cms.ESProducer("VolumeBasedMagneticFieldESProducer",
0031     useParametrizedTrackerField = cms.bool(True),
0032     label = cms.untracked.string(''),
0033     paramLabel = cms.string('parametrizedField'),
0034     version = cms.string('grid_1103l_071212_2t'),
0035     geometryVersion = cms.int32(71212),
0036     debugBuilder = cms.untracked.bool(False),
0037     scalingVolumes = cms.vint32(),
0038     scalingFactors = cms.vdouble(),
0039     gridFiles = cms.VPSet(
0040         cms.PSet( # Default tables, replicate sector 1
0041             volumes   = cms.string('1-312'),
0042             sectors   = cms.string('0') ,
0043             master    = cms.int32(1),
0044             path      = cms.string('grid.[v].bin'),
0045         ),
0046     )
0047 )
0048 
0049