File indexing completed on 2024-04-06 12:12:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("TEST")
0004
0005 process.source = cms.Source("EmptySource")
0006
0007 process.maxEvents.input = 3
0008
0009 process.options = cms.untracked.PSet(
0010 canDeleteEarly = cms.untracked.vstring("edmtestDeleteEarly_maker__TEST"))
0011 process.options.holdsReferencesToDeleteEarly = [cms.PSet(product=cms.string("edmtestDeleteEarlyedmRefProd_ref__TEST"), references=cms.vstring("edmtestDeleteEarly_maker__TEST"))]
0012
0013 process.maker = cms.EDProducer("DeleteEarlyProducer")
0014
0015 process.ref = cms.EDProducer("DeleteEarlyRefProdProducer", get = cms.InputTag("maker"))
0016
0017 process.reader = cms.EDAnalyzer("DeleteEarlyRefProdReader",
0018 tag = cms.untracked.InputTag("ref"))
0019
0020 process.testerBefore = cms.EDAnalyzer("DeleteEarlyCheckDeleteAnalyzer",
0021 expectedValues = cms.untracked.vuint32(1,3,5))
0022
0023 process.testerAfter = cms.EDAnalyzer("DeleteEarlyCheckDeleteAnalyzer",
0024 expectedValues = cms.untracked.vuint32(2,4,6))
0025
0026 process.p = cms.Path(process.maker+process.ref+cms.wait(process.testerBefore)+process.reader+cms.wait(process.testerAfter))
0027