Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:16

0001 import FWCore.ParameterSet.Config as cms
0002 import sys
0003 
0004 process = cms.Process("OLDREAD")
0005 
0006 process.source = cms.Source("PoolSource",
0007                             fileNames = cms.untracked.vstring("file:"+sys.argv[2]))
0008 
0009 process.tester = cms.EDAnalyzer("TestFindProduct",
0010                                 inputTags = cms.untracked.VInputTag(cms.InputTag("i")),
0011                                 expectedSum = cms.untracked.int32(40))
0012 
0013 process.out = cms.OutputModule("PoolOutputModule",
0014                             fileName = cms.untracked.string("old.root"))
0015 
0016 process.t = cms.EndPath(process.tester*process.out)