File indexing completed on 2025-01-14 02:38:44
0001
0002
0003
0004
0005
0006 import FWCore.ParameterSet.Config as cms
0007
0008 process = cms.Process("PROD3")
0009
0010 from IOPool.Input.modules import PoolSource
0011 process.source = PoolSource(
0012 fileNames = [
0013 'file:testGetByRunsMode.root',
0014 'file:testGetBy1.root'
0015 ],
0016 inputCommands = [
0017 'keep *',
0018 'drop *_*_*_PROD2'
0019 ]
0020 )
0021
0022 from IOPool.Output.modules import PoolOutputModule
0023 process.out = PoolOutputModule(fileName = 'testGetByWithEmptyRun.root')
0024
0025 from FWCore.Framework.modules import RunLumiEventAnalyzer
0026 process.test = RunLumiEventAnalyzer(
0027 verbose = True,
0028 expectedRunLumiEvents = [
0029 1, 0, 0,
0030 1, 0, 0,
0031 1, 0, 0,
0032 1, 1, 0,
0033 1, 1, 1,
0034 1, 1, 2,
0035 1, 1, 3,
0036 1, 1, 0,
0037 1, 0, 0
0038 ]
0039 )
0040
0041 process.p1 = cms.Path(process.test)
0042
0043 process.e1 = cms.EndPath(process.out)