4 process = cms.Process(
"MF")
5 process.load(
"Configuration.StandardSequences.GeometryExtended_cff")
6 process.load(
"Configuration.StandardSequences.MagneticField_38T_cff")
8 process.XMLIdealGeometryESSource = cms.ESSource(
"XMLIdealGeometryESSource",
9 geomXMLFiles = cms.vstring(
'Geometry/CMSCommonData/data/normal/cmsextent.xml',
10 'Geometry/CMSCommonData/data/cms.xml',
11 'Geometry/CMSCommonData/data/cmsMagneticField.xml',
12 'MagneticField/GeomBuilder/data/MagneticFieldVolumes_1103l.xml',
13 'Geometry/CMSCommonData/data/materials.xml'),
14 rootNodeName = cms.string(
'cms:MCMS')
18 process.maxEvents = cms.untracked.PSet(
19 input = cms.untracked.int32(1)
21 process.source = cms.Source(
"EmptySource")
23 process.prod = cms.EDProducer(
"GeometryProducer",
24 MagneticField = cms.PSet(delta = cms.double(1.0)),
25 UseMagneticField = cms.bool(
False),
26 UseSensitiveDetectors = cms.bool(
False)
29 process.add_(cms.ESProducer(
"TGeoMgrFromDdd",
30 verbose = cms.untracked.bool(
False),
31 level = cms.untracked.int32(14)
34 process.dump = cms.EDAnalyzer(
"DumpSimGeometry", outputFileName = cms.untracked.string(
'cmsMFGeometry.root'))
36 process.p = cms.Path(process.prod+process.dump)