Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-18 08:23:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DDHGCalWaferTest")
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.HGCalGeom=dict()
0014 
0015 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0016                                             confGeomXMLFiles = cms.FileInPath('Geometry/HGCalCommonData/data/dd4hep/cms-test-ddhgcalWaferFR-algorithm.xml'),
0017                                             appendToDataLabel = cms.string('DDHGCalWaferFullRotated')
0018                                             )
0019 
0020 process.testDump = cms.EDAnalyzer("DDTestDumpFile",
0021                                   outputFileName = cms.untracked.string('hgcalWaferFullRotatedDD4hep.root'),
0022                                   DDDetector = cms.ESInputTag('','DDHGCalWaferFullRotated')
0023                                   )
0024 
0025 process.p = cms.Path(process.testDump)