Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("READ")
0003 
0004 process.source = cms.Source("PoolSource",
0005                             fileNames = cms.untracked.vstring("file:ref_merge_prod1.root",
0006                                                               "file:ref_merge_prod2.root")
0007                             )
0008 
0009 testProcess = cms.Process("TEST")
0010 process.addSubProcess(cms.SubProcess(testProcess))
0011 
0012 testProcess.a = cms.EDProducer("IntProducer",
0013                            ivalue = cms.int32(1))
0014 
0015 testProcess.tester = cms.EDAnalyzer("OtherThingAnalyzer",
0016                                 other = cms.untracked.InputTag("d","testUserTag"))
0017 
0018 testProcess.out = cms.OutputModule("PoolOutputModule",
0019     fileName = cms.untracked.string('refInSubProcess.root')
0020 )
0021 
0022 testProcess.p = cms.Path(testProcess.a)
0023 
0024 testProcess.e = cms.EndPath(testProcess.tester*testProcess.out)
0025 
0026 testProcessA = cms.Process("TESTA")
0027 testProcess.addSubProcess(cms.SubProcess(testProcessA))
0028 
0029 testProcessA.a = cms.EDProducer("IntProducer",
0030                            ivalue = cms.int32(1))
0031 
0032 testProcessA.tester = cms.EDAnalyzer("OtherThingAnalyzer",
0033                                 other = cms.untracked.InputTag("d","testUserTag"))
0034 
0035 testProcessA.out = cms.OutputModule("PoolOutputModule",
0036     fileName = cms.untracked.string('refInSubProcessA.root')
0037 )
0038 
0039 testProcessA.p = cms.Path(testProcessA.a)
0040 
0041 testProcessA.e = cms.EndPath(testProcessA.tester*testProcessA.out)