File indexing completed on 2024-04-06 12:12:42
0001
0002
0003
0004
0005
0006
0007
0008
0009 import FWCore.ParameterSet.Config as cms
0010
0011 process = cms.Process("PROD2TEST")
0012
0013 process.maxLuminosityBlocks = cms.untracked.PSet(
0014 input = cms.untracked.int32(3)
0015 )
0016
0017 process.load("FWCore.MessageService.MessageLogger_cfi")
0018 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0019
0020 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0021 process.options = cms.untracked.PSet(
0022 Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0023 )
0024
0025
0026 process.source = cms.Source("PoolSource",
0027 fileNames = cms.untracked.vstring('file:testSeriesOfProcessesTEST.root'),
0028 )
0029
0030
0031 process.fakeRaw = cms.EDProducer(
0032 "IntProducer",
0033 ivalue = cms.int32(20)
0034 )
0035
0036
0037
0038
0039
0040
0041 process.a = cms.EDAnalyzer("TestFindProduct",
0042 inputTags = cms.untracked.VInputTag( cms.InputTag("fakeRaw"),
0043 cms.InputTag("fakeHLTDebug") ),
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053 expectedSum = cms.untracked.int32(15300)
0054 )
0055
0056 process.t = cms.Task(process.fakeRaw)
0057
0058 process.test1 = cms.Path(process.a, process.t)
0059
0060 process.out = cms.OutputModule("PoolOutputModule",
0061 fileName = cms.untracked.string('testSeriesOfProcessesPROD2TEST_u.root'),
0062 outputCommands = cms.untracked.vstring(
0063 "keep *_fakeRaw_*_*"
0064 )
0065 )
0066 process.o = cms.EndPath(process.out)