Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.source = cms.Source("EmptySource")
0006 
0007 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(6))
0008 
0009 process.options = cms.untracked.PSet(
0010         canDeleteEarly = cms.untracked.vstring("edmtestDeleteEarly_maker__TEST"))
0011 
0012 
0013 process.maker = cms.EDProducer("DeleteEarlyProducer")
0014 
0015 process.reader = cms.EDAnalyzer("DeleteEarlyReader",
0016                                 tag = cms.untracked.InputTag("maker"),
0017                                 mightGet = cms.untracked.vstring("edmtestDeleteEarly_maker__TEST"))
0018 
0019 process.tester = cms.EDAnalyzer("DeleteEarlyCheckDeleteAnalyzer",
0020                                 expectedValues = cms.untracked.vuint32(2,4,6,8,10,12))
0021 
0022 process.p2PreTester = cms.EDAnalyzer("DeleteEarlyCheckDeleteAnalyzer",
0023                                      expectedValues = cms.untracked.vuint32(1,4,5,8,9,12))
0024 process.f2 = cms.EDFilter("TestFilterModule",
0025 onlyOne = cms.untracked.bool(True),
0026 acceptValue = cms.untracked.int32(2)
0027 )
0028 
0029 process.f3 = cms.EDFilter("TestFilterModule",
0030 onlyOne = cms.untracked.bool(True),
0031 acceptValue = cms.untracked.int32(3)
0032 )
0033 
0034 process.p1Done = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0035 process.waitTillP1Done = cms.EDAnalyzer("IntConsumingAnalyzer",
0036                                         getFromModule = cms.untracked.InputTag("p1Done"))
0037 
0038 process.p2Done = cms.EDProducer("IntProducer", ivalue = cms.int32(2))
0039 process.waitTillP2Done = cms.EDAnalyzer("IntConsumingAnalyzer",
0040                                         getFromModule = cms.untracked.InputTag("p2Done"))
0041 
0042 process.p1 = cms.Path(process.maker+process.f2+process.reader+process.tester+process.p1Done)
0043 process.p2 = cms.Path(process.waitTillP1Done+process.maker+process.p2PreTester+process.f3+process.reader+process.tester+process.p2Done)
0044 process.p3 = cms.Path(process.waitTillP2Done+process.tester)