Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:15:06

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