File indexing completed on 2025-01-14 02:38:44
0001
0002
0003
0004
0005
0006
0007
0008 import FWCore.ParameterSet.Config as cms
0009
0010 process = cms.Process("COPY")
0011 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0012 process.MessageLogger.cerr.threshold = 'ERROR'
0013
0014 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0015 process.options = cms.untracked.PSet(
0016 fileMode = cms.untracked.string('FULLMERGE'),
0017 Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0018 )
0019
0020 from IOPool.Input.modules import PoolSource
0021 process.source = PoolSource(
0022 fileNames = [
0023 'file:testRunMergeRecombined.root',
0024 'file:testRunMergeRecombined.root'
0025 ]
0026 , duplicateCheckMode = 'checkAllFilesOpened'
0027 , skipEvents = 14
0028 , noEventSort = False
0029 )
0030
0031 from FWCore.Framework.modules import RunLumiEventAnalyzer
0032 process.test = RunLumiEventAnalyzer(
0033 verbose = True,
0034 expectedRunLumiEvents = [
0035 1, 0, 0,
0036 1, 1, 0,
0037 1, 1, 15,
0038 1, 1, 16,
0039 1, 1, 17,
0040 1, 1, 18,
0041 1, 1, 19,
0042 1, 1, 20,
0043 1, 1, 21,
0044 1, 1, 22,
0045 1, 1, 23,
0046 1, 1, 24,
0047 1, 1, 25,
0048 1, 1, 0,
0049 1, 0, 0,
0050 2, 0, 0,
0051 2, 1, 0,
0052 2, 1, 1,
0053 2, 1, 2,
0054 2, 1, 3,
0055 2, 1, 4,
0056 2, 1, 5,
0057 2, 1, 0,
0058 2, 0, 0,
0059 11, 0, 0,
0060 11, 1, 0,
0061 11, 1, 1,
0062 11, 1, 0,
0063 11, 2, 0,
0064 11, 2, 1,
0065 11, 2, 0,
0066 11, 0, 0,
0067 100, 0, 0,
0068 100, 100, 0,
0069 100, 100, 100,
0070 100, 100, 0,
0071 100, 0, 0,
0072 1, 0, 0,
0073 1, 1, 0,
0074 1, 1, 21,
0075 1, 1, 22,
0076 1, 1, 23,
0077 1, 1, 24,
0078 1, 1, 25,
0079 1, 1, 0,
0080 1, 0, 0,
0081 2, 0, 0,
0082 2, 1, 0,
0083 2, 1, 1,
0084 2, 1, 2,
0085 2, 1, 3,
0086 2, 1, 4,
0087 2, 1, 5,
0088 2, 1, 0,
0089 2, 0, 0,
0090 1, 0, 0,
0091 1, 1, 0,
0092 1, 1, 1,
0093 1, 1, 2,
0094 1, 1, 3,
0095 1, 1, 4,
0096 1, 1, 5,
0097 1, 1, 6,
0098 1, 1, 7,
0099 1, 1, 8,
0100 1, 1, 9,
0101 1, 1, 10,
0102 1, 1, 0,
0103 1, 0, 0
0104 ]
0105 )
0106
0107
0108 process.test.expectedRunLumiEvents.extend([
0109 1, 0, 0,
0110 1, 1, 0,
0111 1, 1, 0,
0112 1, 0, 0,
0113 2, 0, 0,
0114 2, 1, 0,
0115 2, 1, 0,
0116 2, 0, 0,
0117 11, 0, 0,
0118 11, 1, 0,
0119 11, 1, 0,
0120 11, 2, 0,
0121 11, 2, 0,
0122 11, 0, 0,
0123 100, 0, 0,
0124 100, 100, 0,
0125 100, 100, 0,
0126 100, 0, 0,
0127 1, 0, 0,
0128 1, 1, 0,
0129 1, 1, 0,
0130 1, 0, 0,
0131 2, 0, 0,
0132 2, 1, 0,
0133 2, 1, 0,
0134 2, 0, 0,
0135 1, 0, 0,
0136 1, 1, 0,
0137 1, 1, 0,
0138 1, 0, 0
0139 ])
0140
0141 process.path1 = cms.Path(process.test)
0142
0143 from IOPool.Output.modules import PoolOutputModule
0144 process.out = PoolOutputModule(fileName = 'testRunMergeRecombinedCopied.root')
0145
0146 process.endpath1 = cms.EndPath(process.out)