File indexing completed on 2024-04-06 12:12:41
0001
0002
0003
0004
0005 import FWCore.ParameterSet.Config as cms
0006
0007 process = cms.Process("TEST")
0008
0009 process.load("FWCore.MessageService.MessageLogger_cfi")
0010 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0011 process.MessageLogger.cerr.threshold = 'ERROR'
0012
0013 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0014 process.options = cms.untracked.PSet(
0015 Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0016 )
0017
0018 process.source = cms.Source("PoolSource",
0019 fileNames = cms.untracked.vstring(
0020 'file:testRunMerge1.root',
0021 'file:testRunMerge2.root'
0022 )
0023
0024
0025 , noEventSort = cms.untracked.bool(True)
0026 , inputCommands = cms.untracked.vstring(
0027 'keep *',
0028 'drop edmtestThingWithMerge_makeThingToBeDropped1_*_*'
0029 )
0030 )
0031
0032
0033 process.test = cms.EDAnalyzer('RunLumiEventAnalyzer',
0034 verbose = cms.untracked.bool(True)
0035 , expectedRunLumiEvents = cms.untracked.vuint32(
0036 1, 0, 0,
0037 1, 1, 0,
0038 1, 1, 11,
0039 1, 1, 12,
0040 1, 1, 15,
0041 1, 1, 14,
0042 1, 1, 15,
0043 1, 1, 0,
0044 1, 0, 0,
0045 2, 0, 0,
0046 2, 1, 0,
0047 2, 1, 5,
0048 2, 1, 3,
0049 2, 1, 4,
0050 2, 1, 3,
0051 2, 1, 0,
0052 2, 0, 0,
0053 1, 0, 0,
0054 1, 1, 0,
0055 1, 1, 17,
0056 1, 1, 0,
0057 1, 0, 0,
0058 1, 0, 0,
0059 1, 1, 0,
0060 1, 1, 11,
0061 1, 1, 20,
0062 1, 1, 21,
0063 1, 1, 0,
0064 1, 0, 0
0065 )
0066 )
0067
0068 process.looper = cms.Looper("NavigateEventsLooper")
0069
0070 process.out = cms.OutputModule("PoolOutputModule",
0071 fileName = cms.untracked.string('file:testLooperEventNavigation.root'),
0072 fastCloning = cms.untracked.bool(False)
0073 )
0074
0075 process.path1 = cms.Path(process.test)
0076 process.endpath1 = cms.EndPath(process.out)