CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dumpMFGeometry_cfg.py
Go to the documentation of this file.
2 
4 process = cms.Process("MF")
5 process.load("Configuration.StandardSequences.GeometryExtended_cff")
6 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
7 
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  'MagneticField/GeomBuilder/data/MagneticFieldParameters_07.xml',
14  'Geometry/CMSCommonData/data/materials.xml'),
15  rootNodeName = cms.string('cms:MCMS')
16 )
17 
18 
19 process.maxEvents = cms.untracked.PSet(
20  input = cms.untracked.int32(1)
21  )
22 process.source = cms.Source("EmptySource")
23 
24 process.prod = cms.EDProducer("GeometryProducer",
25  MagneticField = cms.PSet(delta = cms.double(1.0)),
26  UseMagneticField = cms.bool(False),
27  UseSensitiveDetectors = cms.bool(False)
28  )
29 
30 process.add_(cms.ESProducer("TGeoMgrFromDdd",
31  verbose = cms.untracked.bool(False),
32  level = cms.untracked.int32(14)
33 ))
34 
35 process.dump = cms.EDAnalyzer("DumpSimGeometry")
36 
37 process.p = cms.Path(process.prod+process.dump)