File indexing completed on 2025-01-14 02:38:44
0001
0002
0003
0004
0005 import FWCore.ParameterSet.Config as cms
0006
0007 process = cms.Process("MERGE")
0008 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0009 process.MessageLogger.cerr.threshold = 'ERROR'
0010
0011 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0012 process.options = cms.untracked.PSet(
0013 Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0014 )
0015
0016 from IOPool.Input.modules import PoolSource
0017 process.source = PoolSource(
0018 fileNames = [
0019 'file:testRunMerge1.root',
0020 'file:testRunMerge2.root',
0021 'file:testRunMerge3.root',
0022 'file:testRunMerge4.root',
0023 'file:testRunMerge5.root'
0024 ]
0025 , lumisToProcess = [
0026 '11:2',
0027 '15:2-15:8',
0028 '19:2-20:2',
0029 '21:4'
0030 ]
0031 , eventsToSkip = [
0032 '19:4:6-19:4:8',
0033 '21:3:8'
0034 ]
0035 , duplicateCheckMode = 'checkEachRealDataFile'
0036 )
0037
0038 from FWCore.Integration.modules import ThingWithMergeProducer
0039 process.thingWithMergeProducer = ThingWithMergeProducer()
0040
0041 from FWCore.Framework.modules import RunLumiEventAnalyzer
0042 process.test = RunLumiEventAnalyzer(
0043 verbose = True,
0044 expectedRunLumiEvents = [
0045 11, 0, 0,
0046 11, 2, 0,
0047 11, 2, 1,
0048 11, 2, 2,
0049 11, 2, 3,
0050 11, 2, 0,
0051 11, 0, 0,
0052 15, 0, 0,
0053 15, 2, 0,
0054 15, 2, 1,
0055 15, 2, 2,
0056 15, 2, 3,
0057 15, 2, 0,
0058 15, 3, 0,
0059 15, 3, 4,
0060 15, 3, 5,
0061 15, 3, 6,
0062 15, 3, 0,
0063 15, 4, 0,
0064 15, 4, 7,
0065 15, 4, 8,
0066 15, 4, 9,
0067 15, 4, 0,
0068 15, 0, 0,
0069 19, 0, 0,
0070 19, 2, 0,
0071 19, 2, 1,
0072 19, 2, 2,
0073 19, 2, 3,
0074 19, 2, 0,
0075 19, 3, 0,
0076 19, 3, 4,
0077 19, 3, 5,
0078 19, 3, 6,
0079 19, 3, 0,
0080 19, 4, 0,
0081 19, 4, 9,
0082 19, 4, 0,
0083 19, 0, 0,
0084 20, 0, 0,
0085 20, 2, 0,
0086 20, 2, 1,
0087 20, 2, 2,
0088 20, 2, 3,
0089 20, 2, 0,
0090 20, 0, 0,
0091 21, 0, 0,
0092 21, 4, 0,
0093 21, 4, 7,
0094 21, 4, 8,
0095 21, 4, 9,
0096 21, 4, 0,
0097 21, 0, 0
0098 ]
0099 )
0100
0101 process.path1 = cms.Path(process.thingWithMergeProducer + process.test)