File indexing completed on 2024-04-06 12:12:41
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("MERGE")
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:testRunMergeSPLIT103.root',
0016 'file:testRunMergeSPLIT102.root'
0017 ),
0018 lumisToProcess = cms.untracked.VLuminosityBlockRange('41:16-41:25', '42:16-42:20')
0019 )
0020
0021 process.thingWithMergeProducer = cms.EDProducer("ThingWithMergeProducer")
0022 process.task = cms.Task(process.thingWithMergeProducer)
0023
0024 process.test = cms.EDAnalyzer("TestMergeResults",
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037 expectedBeginRunProd = cms.untracked.vint32(
0038 10001, 20004, 10003,
0039 10001, 10002, 10003
0040 ),
0041
0042 expectedEndRunProd = cms.untracked.vint32(
0043 100001, 200004, 100003,
0044 100001, 100002, 100003
0045 ),
0046
0047 expectedEndRunProdImproperlyMerged = cms.untracked.vint32(
0048 0, 0, 0,
0049 0, 0, 0
0050 )
0051 )
0052
0053 process.out = cms.OutputModule("PoolOutputModule",
0054 fileName = cms.untracked.string('testRunMergeMERGE101.root')
0055 )
0056
0057 process.e = cms.EndPath(process.test * process.out, process.task)