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 = 'checkEachFile'
0027 , skipEvents = 3
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, 4,
0038 1, 1, 5,
0039 1, 1, 6,
0040 1, 1, 7,
0041 1, 1, 8,
0042 1, 1, 9,
0043 1, 1, 10,
0044 1, 1, 11,
0045 1, 1, 12,
0046 1, 1, 13,
0047 1, 1, 14,
0048 1, 1, 15,
0049 1, 1, 16,
0050 1, 1, 17,
0051 1, 1, 18,
0052 1, 1, 19,
0053 1, 1, 20,
0054 1, 1, 21,
0055 1, 1, 22,
0056 1, 1, 23,
0057 1, 1, 24,
0058 1, 1, 25,
0059 1, 1, 0,
0060 1, 0, 0,
0061 2, 0, 0,
0062 2, 1, 0,
0063 2, 1, 1,
0064 2, 1, 2,
0065 2, 1, 3,
0066 2, 1, 4,
0067 2, 1, 5,
0068 2, 1, 0,
0069 2, 0, 0,
0070 11, 0, 0,
0071 11, 1, 0,
0072 11, 1, 1,
0073 11, 1, 0,
0074 11, 2, 0,
0075 11, 2, 1,
0076 11, 2, 0,
0077 11, 0, 0,
0078 100, 0, 0,
0079 100, 100, 0,
0080 100, 100, 100,
0081 100, 100, 0,
0082 100, 0, 0,
0083 1, 0, 0,
0084 1, 1, 0,
0085 1, 1, 21,
0086 1, 1, 22,
0087 1, 1, 23,
0088 1, 1, 24,
0089 1, 1, 25,
0090 1, 1, 0,
0091 1, 0, 0,
0092 2, 0, 0,
0093 2, 1, 0,
0094 2, 1, 1,
0095 2, 1, 2,
0096 2, 1, 3,
0097 2, 1, 4,
0098 2, 1, 5,
0099 2, 1, 0,
0100 2, 0, 0,
0101 1, 0, 0,
0102 1, 1, 0,
0103 1, 1, 1,
0104 1, 1, 2,
0105 1, 1, 3,
0106 1, 1, 4,
0107 1, 1, 5,
0108 1, 1, 6,
0109 1, 1, 7,
0110 1, 1, 8,
0111 1, 1, 9,
0112 1, 1, 10,
0113 1, 1, 0,
0114 1, 0, 0
0115 ]
0116 )
0117
0118
0119 process.test.expectedRunLumiEvents.extend([
0120 1, 0, 0,
0121 1, 1, 0,
0122 1, 1, 1,
0123 1, 1, 2,
0124 1, 1, 3,
0125 1, 1, 4,
0126 1, 1, 5,
0127 1, 1, 6,
0128 1, 1, 7,
0129 1, 1, 8,
0130 1, 1, 9,
0131 1, 1, 10,
0132 1, 1, 11,
0133 1, 1, 12,
0134 1, 1, 13,
0135 1, 1, 14,
0136 1, 1, 15,
0137 1, 1, 16,
0138 1, 1, 17,
0139 1, 1, 18,
0140 1, 1, 19,
0141 1, 1, 20,
0142 1, 1, 21,
0143 1, 1, 22,
0144 1, 1, 23,
0145 1, 1, 24,
0146 1, 1, 25,
0147 1, 1, 0,
0148 1, 0, 0,
0149 2, 0, 0,
0150 2, 1, 0,
0151 2, 1, 1,
0152 2, 1, 2,
0153 2, 1, 3,
0154 2, 1, 4,
0155 2, 1, 5,
0156 2, 1, 0,
0157 2, 0, 0,
0158 11, 0, 0,
0159 11, 1, 0,
0160 11, 1, 1,
0161 11, 1, 0,
0162 11, 2, 0,
0163 11, 2, 1,
0164 11, 2, 0,
0165 11, 0, 0,
0166 100, 0, 0,
0167 100, 100, 0,
0168 100, 100, 100,
0169 100, 100, 0,
0170 100, 0, 0,
0171 1, 0, 0,
0172 1, 1, 0,
0173 1, 1, 21,
0174 1, 1, 22,
0175 1, 1, 23,
0176 1, 1, 24,
0177 1, 1, 25,
0178 1, 1, 0,
0179 1, 0, 0,
0180 2, 0, 0,
0181 2, 1, 0,
0182 2, 1, 1,
0183 2, 1, 2,
0184 2, 1, 3,
0185 2, 1, 4,
0186 2, 1, 5,
0187 2, 1, 0,
0188 2, 0, 0,
0189 1, 0, 0,
0190 1, 1, 0,
0191 1, 1, 1,
0192 1, 1, 2,
0193 1, 1, 3,
0194 1, 1, 4,
0195 1, 1, 5,
0196 1, 1, 6,
0197 1, 1, 7,
0198 1, 1, 8,
0199 1, 1, 9,
0200 1, 1, 10,
0201 1, 1, 0,
0202 1, 0, 0
0203 ])
0204
0205 process.path1 = cms.Path(process.test)
0206
0207 from IOPool.Output.modules import PoolOutputModule
0208 process.out = PoolOutputModule(fileName = 'testRunMergeRecombinedCopied1.root')
0209
0210 process.endpath1 = cms.EndPath(process.out)