Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:08:06

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DUMP")
0004 process.load("Geometry.CMSCommonData.cmsExtendedGeometry2021XML_cfi")
0005 process.load('FWCore.MessageService.MessageLogger_cfi')
0006 
0007 if 'MessageLogger' in process.__dict__:
0008     process.MessageLogger.categories.append('G4cerr')
0009     process.MessageLogger.categories.append('G4cout')
0010 
0011 process.source = cms.Source("EmptySource")
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(1)
0015 )
0016 
0017 process.add_(cms.ESProducer("TGeoMgrFromDdd",
0018         verbose = cms.untracked.bool(False),
0019         level   = cms.untracked.int32(14)
0020 ))
0021 
0022 process.dump = cms.EDAnalyzer("DumpSimGeometry",
0023                               outputFileName = cms.untracked.string('run3.root'))
0024 
0025 process.p = cms.Path(process.dump)