CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Fireworks/Geometry/python/dumpGeometryDB_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("DUMP")
00004 process.load("Configuration.StandardSequences.GeometryDB_cff")
00005 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00006 from Configuration.AlCa.autoCond import autoCond
00007 process.GlobalTag.globaltag = autoCond['mc']
00008 
00009 process.source = cms.Source("EmptySource")
00010 
00011 process.maxEvents = cms.untracked.PSet(
00012     input = cms.untracked.int32(1)
00013 )
00014 
00015 process.add_(cms.ESProducer("TGeoMgrFromDdd",
00016         verbose = cms.untracked.bool(False),
00017         level   = cms.untracked.int32(14)
00018 ))
00019 
00020 process.dump = cms.EDAnalyzer("DumpSimGeometry")
00021 
00022 process.p = cms.Path(process.dump)