Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("READ")
0004 
0005 process.source = cms.Source("PoolSource",
0006     fileNames = cms.untracked.vstring(
0007         'file:testProcessBlockThreeFileInput.root'
0008     ),
0009     duplicateCheckMode = cms.untracked.string("noDuplicateCheck")
0010 )
0011 
0012 process.readProcessBlocksOneAnalyzer1 = cms.EDAnalyzer("edmtest::one::InputProcessBlockIntAnalyzer",
0013                                             transitions = cms.int32(71),
0014                                             consumesBeginProcessBlock = cms.InputTag("intProducerBeginProcessBlock", ""),
0015                                             consumesEndProcessBlock = cms.InputTag("intProducerEndProcessBlock", ""),
0016                                             consumesBeginProcessBlockM = cms.InputTag("intProducerBeginProcessBlockM", ""),
0017                                             consumesEndProcessBlockM = cms.InputTag("intProducerEndProcessBlockM", ""),
0018                                             expectedByRun = cms.vint32(11, 22, 3300, 4400, 7707),
0019                                             expectedSum = cms.int32(24193)
0020 )
0021 
0022 process.readProcessBlocksOneAnalyzer2 = cms.EDAnalyzer("edmtest::one::InputProcessBlockIntAnalyzer",
0023                                             transitions = cms.int32(53),
0024                                             consumesBeginProcessBlock = cms.InputTag("intProducerBeginProcessBlockMM", ""),
0025                                             consumesEndProcessBlock = cms.InputTag("intProducerEndProcessBlockMM", ""),
0026                                             consumesBeginProcessBlockM = cms.InputTag("intProducerBeginProcessBlockM", ""),
0027                                             consumesEndProcessBlockM = cms.InputTag("intProducerEndProcessBlockM", ""),
0028                                             expectedByRun = cms.vint32(644, 644, 644, 644, 844),
0029                                             expectedSum = cms.int32(1020)
0030 )
0031 
0032 process.out = cms.OutputModule("PoolOutputModule",
0033     fileName = cms.untracked.string('testProcessBlockReadThreeFileInput.root')
0034 )
0035 
0036 process.testOneOutput = cms.OutputModule("TestOneOutput",
0037     verbose = cms.untracked.bool(False),
0038     expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED'),
0039     expectedTopProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED'),
0040     expectedTopAddedProcesses = cms.untracked.vstring(),
0041     expectedTopCacheIndices0 = cms.untracked.vuint32(0, 9, 14, 1, 9, 14, 2, 10, 14, 3, 10, 14, 4, 11, 15, 5, 12, 16, 6, 12, 16, 7, 13, 16, 8, 13, 16),
0042     expectedWriteProcessBlockTransitions = cms.untracked.int32(18),
0043     expectedProcessesInFirstFile = cms.untracked.uint32(3),
0044     expectedCacheIndexVectorsPerFile = cms.untracked.vuint32(9),
0045     expectedNEntries0 = cms.untracked.vuint32(9, 5, 3),
0046     expectedCacheEntriesPerFile0 =  cms.untracked.vuint32(17),
0047     expectedOuterOffset = cms.untracked.vuint32(0)
0048 )
0049 
0050 process.p = cms.Path(process.readProcessBlocksOneAnalyzer1 * process.readProcessBlocksOneAnalyzer2)
0051 
0052 process.e = cms.EndPath(
0053     process.out *
0054     process.testOneOutput
0055 )