Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-12 07:44:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DUMP")
0004 
0005 process.load("Geometry.HcalCommonData.cmsExtendedGeometry2017XML_cfi")
0006 process.load('FWCore.MessageService.MessageLogger_cfi')
0007 
0008 if 'MessageLogger' in process.__dict__:
0009     process.MessageLogger.PixelGeom=dict()
0010     process.MessageLogger.TIBGeom=dict()
0011     process.MessageLogger.TIDGeom=dict()
0012     process.MessageLogger.TOBGeom=dict()
0013 #   process.MessageLogger.TECGeom=dict()
0014 #   process.MessageLogger.TGeoMgrFromDdd=dict()
0015 
0016 process.source = cms.Source("EmptySource")
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(1)
0020 )
0021 
0022 process.add_(cms.ESProducer("TGeoMgrFromDdd",
0023         verbose = cms.untracked.bool(False),
0024         level   = cms.untracked.int32(14)
0025 ))
0026 
0027 
0028 process.dump = cms.EDAnalyzer("DumpSimGeometry",
0029                               outputFileName = cms.untracked.string('cms2017.root')
0030 )
0031 
0032 process.p = cms.Path(process.dump)