CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dumpSimSLHCDBGeometry_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 process.GlobalTag.globaltag = 'DESIGN42_V17::All'
7 process.XMLFromDBSource.label=''
8 
9 process.GlobalTag.toGet = cms.VPSet(
10  cms.PSet(record = cms.string("GeometryFileRcd"),
11  tag = cms.string("XMLFILE_Geometry_428SLHCYV0_Phase1_R30F12_HCal_Ideal_mc"),
12  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_42X_GEOMETRY")
13  )
14  )
15 
16 process.source = cms.Source("EmptySource")
17 
18 process.maxEvents = cms.untracked.PSet(
19  input = cms.untracked.int32(1)
20 )
21 
22 process.add_(cms.ESProducer("TGeoMgrFromDdd",
23  verbose = cms.untracked.bool(False),
24  level = cms.untracked.int32(14)
25 ))
26 
27 process.dump = cms.EDAnalyzer("DumpSimGeometry")
28 
29 process.p = cms.Path(process.dump)