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 
0017 process.DoodadESSource = cms.ESSource("DoodadESSource")
0018 
0019 process.emptyESSourceK = cms.ESSource("EmptyESSource",
0020     recordName = cms.string("ESTestRecordK"),
0021     firstValid = cms.vuint32(1,2,3,4,5,6,7,8),
0022     iovIsRunNotTime = cms.bool(True)
0023 )
0024 
0025 process.testDataProxyProviderJ = cms.ESProducer("ESTestDataProxyProviderJ",
0026     expectedCacheIds = cms.untracked.vuint32(2, 3, 4, 5, 6, 7, 8)
0027 )
0028 
0029 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0030     toGet = cms.VPSet(
0031         cms.PSet(
0032             record = cms.string('GadgetRcd'),
0033             data = cms.vstring('edmtest::WhatsIt',
0034                                'edmtest::Doodad')
0035         )
0036     ),
0037     verbose = cms.untracked.bool(True)
0038 )
0039 
0040 process.esAnalyzerJ = cms.EDAnalyzer("ESTestAnalyzerJ")
0041 
0042 process.printIt = cms.OutputModule("AsciiOutputModule")
0043 
0044 process.p = cms.Path(process.get * process.esAnalyzerJ)
0045 process.ep = cms.EndPath(process.printIt)