CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dumpGeometryDB_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("DUMP")
4 process.load("Configuration.StandardSequences.GeometryDB_cff")
5 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
6 from Configuration.AlCa.autoCond import autoCond
7 process.GlobalTag.globaltag = autoCond['mc']
8 
9 process.source = cms.Source("EmptySource")
10 
11 process.maxEvents = cms.untracked.PSet(
12  input = cms.untracked.int32(1)
13 )
14 
15 process.add_(cms.ESProducer("TGeoMgrFromDdd",
16  verbose = cms.untracked.bool(False),
17  level = cms.untracked.int32(14)
18 ))
19 
20 process.dump = cms.EDAnalyzer("DumpSimGeometry")
21 
22 process.p = cms.Path(process.dump)