CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Fireworks/Geometry/python/dumpMFGeometry_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from FWCore.MessageLogger.MessageLogger_cfi import *
00004 process = cms.Process("MF")
00005 process.load("Configuration.StandardSequences.Geometry_cff")
00006 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
00007 
00008 process.XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
00009      geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/normal/cmsextent.xml', 
00010         'Geometry/CMSCommonData/data/cms.xml', 
00011         'Geometry/CMSCommonData/data/cmsMagneticField.xml', 
00012         'MagneticField/GeomBuilder/data/MagneticFieldVolumes_1103l.xml',
00013         'MagneticField/GeomBuilder/data/MagneticFieldParameters_07.xml',
00014         'Geometry/CMSCommonData/data/materials.xml'),
00015      rootNodeName = cms.string('cms:MCMS')
00016 )
00017 
00018 
00019 process.maxEvents = cms.untracked.PSet(
00020     input = cms.untracked.int32(1)
00021     )
00022 process.source = cms.Source("EmptySource")
00023 
00024 process.prod = cms.EDProducer("GeometryProducer",
00025                               MagneticField = cms.PSet(delta = cms.double(1.0)),
00026                               UseMagneticField = cms.bool(False),
00027                               UseSensitiveDetectors = cms.bool(False)
00028                               )
00029 
00030 process.add_(cms.ESProducer("TGeoMgrFromDdd",
00031         verbose = cms.untracked.bool(False),
00032         level   = cms.untracked.int32(14)
00033 ))
00034 
00035 process.dump = cms.EDAnalyzer("DumpSimGeometry")
00036 
00037 process.p = cms.Path(process.prod+process.dump)