Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD2")
0004 
0005 process.source = cms.Source("PoolSource",
0006     fileNames = cms.untracked.vstring(
0007         'file:testGetBy1.root'
0008     ),
0009     processingMode=cms.untracked.string('RunsAndLumis')
0010 )
0011 
0012 process.intProducerBeginProcessBlock = cms.EDProducer("IntProducerBeginProcessBlock", ivalue = cms.int32(10000))
0013 
0014 process.intProducerEndProcessBlock = cms.EDProducer("IntProducerEndProcessBlock", ivalue = cms.int32(100000))
0015 
0016 process.a1 = cms.EDAnalyzer("TestFindProduct",
0017   inputTags = cms.untracked.VInputTag(),
0018   expectedSum = cms.untracked.int32(110000),
0019   inputTagsBeginProcessBlock = cms.untracked.VInputTag(
0020     cms.InputTag("intProducerBeginProcessBlock"),
0021   ),
0022   inputTagsEndProcessBlock = cms.untracked.VInputTag(
0023     cms.InputTag("intProducerEndProcessBlock"),
0024   ),
0025   inputTagsEndProcessBlock2 = cms.untracked.VInputTag(
0026     cms.InputTag("intProducerEndProcessBlock", "two"),
0027   ),
0028   inputTagsEndProcessBlock3 = cms.untracked.VInputTag(
0029     cms.InputTag("intProducerEndProcessBlock", "three"),
0030   ),
0031   inputTagsEndProcessBlock4 = cms.untracked.VInputTag(
0032     cms.InputTag("intProducerEndProcessBlock", "four"),
0033   )
0034 )
0035 
0036 
0037 process.p1 = cms.Path(process.intProducerBeginProcessBlock +
0038                       process.intProducerEndProcessBlock +
0039                       process.a1
0040 )
0041