Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-15 22:20:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DUMP")
0004 process.load("Geometry.HGCalCommonData.testHGCalHEsilV17XML_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 #   process.MessageLogger.TGeoMgrFromDdd=dict()
0012 
0013 process.source = cms.Source("EmptySource")
0014 
0015 process.maxEvents = cms.untracked.PSet(
0016     input = cms.untracked.int32(1)
0017 )
0018 
0019 process.add_(cms.ESProducer("TGeoMgrFromDdd",
0020         verbose = cms.untracked.bool(False),
0021         level   = cms.untracked.int32(14)
0022 ))
0023 
0024 
0025 process.dump = cms.EDAnalyzer("DumpSimGeometry",
0026                               outputFileName = cms.untracked.string('hgcalHEsilV17DDD.root'))
0027 
0028 process.p = cms.Path(process.dump)