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("MERGE")
0004 
0005 process.source = cms.Source("PoolSource",
0006     fileNames = cms.untracked.vstring(
0007         'file:testGetBy1.root',
0008         'file:testGetBy1Mod.root'
0009     )
0010 )
0011 
0012 process.a1 = cms.EDAnalyzer("TestFindProduct",
0013   inputTags = cms.untracked.VInputTag( cms.InputTag("intProducer"),
0014                                        cms.InputTag("intProducer", processName=cms.InputTag.skipCurrentProcess())
0015   ),
0016   expectedSum = cms.untracked.int32(27),
0017   runProducerParameterCheck = cms.untracked.bool(True)
0018 )
0019 
0020 process.out = cms.OutputModule("PoolOutputModule",
0021     fileName = cms.untracked.string('testGetByMerge.root'),
0022     outputCommands = cms.untracked.vstring(
0023         'keep *'
0024     )
0025 )
0026 
0027 process.intProducer = cms.EDProducer("IntProducer", ivalue = cms.int32(3))
0028 
0029 process.t = cms.Task(process.intProducer)
0030 
0031 process.p = cms.Path(process.a1, process.t)
0032 
0033 process.e = cms.EndPath(process.out)