Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DUMP")
0004 
0005 process.load("Geometry.HcalAlgo.testGeomHcalXtal_cfi")
0006 process.load('FWCore.MessageService.MessageLogger_cfi')
0007 
0008 if 'MessageLogger' in process.__dict__:
0009     process.MessageLogger.G4cerr=dict()
0010     process.MessageLogger.G4cout=dict()
0011     process.MessageLogger.HCalGeom=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('hcalXtalDDD.root')
0027 )
0028 
0029 process.p = cms.Path(process.dump)