Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DDHcalXtalTest")
0004 
0005 process.load('FWCore.MessageService.MessageLogger_cfi')
0006 process.source = cms.Source("EmptySource")
0007 process.maxEvents = cms.untracked.PSet(
0008     input = cms.untracked.int32(1)
0009     )
0010 
0011 process.MessageLogger.cerr.FwkReport.reportEvery = 5
0012 if hasattr(process,'MessageLogger'):
0013     process.MessageLogger.HCalGeom=dict()
0014 
0015 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0016                                             confGeomXMLFiles = cms.FileInPath('Geometry/HcalAlgo/data/cms-test-ddhcalXtal-algorithm.xml'),
0017                                             appendToDataLabel = cms.string('DDHCalXtalAlgo')
0018                                             )
0019 
0020 process.testDump = cms.EDAnalyzer("DDTestDumpFile",
0021                                   outputFileName = cms.untracked.string('hcalXtalDD4hep.root'),
0022                                   DDDetector = cms.ESInputTag('','DDHCalXtalAlgo')
0023                                   )
0024 
0025 process.p = cms.Path(process.testDump)