File indexing completed on 2024-04-06 12:12:41
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("COPY")
0004
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0007 process.MessageLogger.cerr.threshold = 'ERROR'
0008
0009 process.maxEvents = cms.untracked.PSet(
0010 input = cms.untracked.int32(-1)
0011 )
0012
0013 process.source = cms.Source("PoolSource",
0014 fileNames = cms.untracked.vstring(
0015 'file:testRunMergeTEST101.root'
0016 ),
0017 duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
0018 )
0019
0020 process.test = cms.EDAnalyzer("TestMergeResults",
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 expectedBeginRunProd = cms.untracked.vint32(
0034 10001, 20004, 10003,
0035 10001, 10002, 10003
0036 ),
0037
0038 expectedEndRunProd = cms.untracked.vint32(
0039 100001, 200004, 100003,
0040 100001, 100002, 100003
0041 ),
0042
0043 expectedEndRunProdImproperlyMerged = cms.untracked.vint32(
0044 0, 0, 0,
0045 0, 0, 0
0046 )
0047 )
0048
0049 process.thingWithMergeProducer = cms.EDProducer("ThingWithMergeProducer")
0050 process.task = cms.Task(process.thingWithMergeProducer)
0051
0052 process.out = cms.OutputModule("PoolOutputModule",
0053 fileName = cms.untracked.string('testRunMergeCOPY101.root')
0054 )
0055
0056 process.e = cms.EndPath(process.test * process.out, process.task)