Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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(
0008     input = cms.untracked.int32(3)
0009 )
0010 
0011 process.a1 = cms.EDAnalyzer("TestFindProduct",
0012   inputTags = cms.untracked.VInputTag(
0013     cms.InputTag("a"),
0014     cms.InputTag("b"),
0015     cms.InputTag("c"),
0016     cms.InputTag("d"),
0017     cms.InputTag("e"),
0018     cms.InputTag("f"),
0019     cms.InputTag("g"),
0020     cms.InputTag("h"),
0021     cms.InputTag("i"),
0022     cms.InputTag("j")
0023   ),
0024   expectedSum = cms.untracked.int32(30)
0025 )
0026 
0027 process.a = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0028 process.b = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0029 
0030 process.t1 = cms.Task(cms.TaskPlaceholder("c"))
0031 process.t2 = cms.Task(process.a, cms.TaskPlaceholder("d"), process.t1)
0032 process.t3 = cms.Task(cms.TaskPlaceholder("e"))
0033 process.path1 = cms.Path(process.b, process.t2, process.t3)
0034 process.t5 = cms.Task(process.a, cms.TaskPlaceholder("g"), cms.TaskPlaceholder("t4"))
0035 process.t4 = cms.Task(cms.TaskPlaceholder("f"))
0036 process.endpath1 = cms.EndPath(process.b + process.a1, process.t5)
0037 process.t6 = cms.Task(cms.TaskPlaceholder("h"))
0038 process.t7 = cms.Task(process.a, cms.TaskPlaceholder("i"), process.t6)
0039 process.t8 = cms.Task(cms.TaskPlaceholder("j"))
0040 process.schedule = cms.Schedule(process.path1, process.endpath1,tasks=[process.t7,process.t8])
0041 
0042 process.c = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0043 process.d = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0044 process.e = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0045 process.f = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0046 process.g = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0047 process.h = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0048 process.i = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0049 process.j = cms.EDProducer("IntProducer", ivalue = cms.int32(1))
0050