Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:30

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 
0018 process.tester = cms.EDAnalyzer("DeleteEarlyCheckDeleteAnalyzer",
0019                                 expectedValues = cms.untracked.vuint32(2,4,6,8,10,12))
0020 
0021 process.p2PreTester = cms.EDAnalyzer("DeleteEarlyCheckDeleteAnalyzer",
0022                                      expectedValues = cms.untracked.vuint32(1,4,5,8,9,12))
0023 process.f2 = cms.EDFilter("TestFilterModule",
0024 onlyOne = cms.untracked.bool(True),
0025 acceptValue = cms.untracked.int32(2)
0026 )
0027 
0028 process.f3 = cms.EDFilter("TestFilterModule",
0029 onlyOne = cms.untracked.bool(True),
0030 acceptValue = cms.untracked.int32(3)
0031 )
0032 
0033 process.p1Done = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0034 process.waitTillP1Done = cms.EDAnalyzer("IntConsumingAnalyzer",
0035                                         getFromModule = cms.untracked.InputTag("p1Done"))
0036 
0037 process.p2Done = cms.EDProducer("IntProducer", ivalue = cms.int32(2))
0038 process.waitTillP2Done = cms.EDAnalyzer("IntConsumingAnalyzer",
0039                                         getFromModule = cms.untracked.InputTag("p2Done"))
0040 
0041 process.p1 = cms.Path(process.maker+process.f2+process.reader+cms.wait(process.tester)+process.p1Done)
0042 process.p2 = cms.Path(process.waitTillP1Done+process.maker+cms.wait(process.p2PreTester)+process.f3+process.reader+cms.wait(process.tester)+process.p2Done)
0043 process.p3 = cms.Path(process.waitTillP2Done+process.tester)