Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-19 01:44:01

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