Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-21 03:38:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DDHGCalHEmixTest")
0004 
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 process.maxEvents = cms.untracked.PSet(
0015     input = cms.untracked.int32(1)
0016     )
0017 
0018 process.MessageLogger.cerr.FwkReport.reportEvery = 5
0019 if hasattr(process,'MessageLogger'):
0020     process.MessageLogger.HGCalGeom=dict()
0021 
0022 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0023                                             confGeomXMLFiles = cms.FileInPath('Geometry/HGCalCommonData/data/dd4hep/cms-test-ddhgcalHEmixV17-algorithm.xml'),
0024                                             appendToDataLabel = cms.string('DDHGCalHEmix')
0025                                             )
0026 
0027 process.testDump = cms.EDAnalyzer("DDTestDumpFile",
0028                                   outputFileName = cms.untracked.string('hgcalHEmixV17DD4hep.root'),
0029                                   DDDetector = cms.ESInputTag('','DDHGCalHEmix')
0030                                   )
0031 
0032 process.p = cms.Path(process.testDump)