Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:48:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DUMP")
0004 process.load("Geometry.HGCalCommonData.testHGCalTBModuleXML_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('hgcalTBModuleDDD.root'))
0025 
0026 process.p = cms.Path(process.dump)