Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:28

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0006 
0007 process.maxEvents = cms.untracked.PSet(
0008     input = cms.untracked.int32(20)
0009 )
0010 
0011 process.source = cms.Source("EmptySource",
0012     numberEventsInRun = cms.untracked.uint32(3)
0013 )
0014 
0015 process.WhatsItESProducer = cms.ESProducer("WhatsItESProducer",
0016     doodadLabel = cms.string('Two')
0017 )
0018 
0019 process.DoodadESSource = cms.ESSource("DoodadESSource",
0020     appendToDataLabel = cms.string('Two')
0021 )
0022 
0023 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0024     toGet = cms.VPSet(cms.PSet(
0025         record = cms.string('GadgetRcd'),
0026         data = cms.vstring('edmtest::WhatsIt', 
0027                            'edmtest::Doodad/Two')
0028     )),
0029     verbose = cms.untracked.bool(True)
0030 )
0031 
0032 process.printIt = cms.OutputModule("AsciiOutputModule")
0033 
0034 process.p = cms.Path(process.get)
0035 process.ep = cms.EndPath(process.printIt)