File indexing completed on 2024-04-06 12:12:41
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("THREETEST")
0004
0005 process.options = cms.untracked.PSet(
0006 numberOfStreams = cms.untracked.uint32(1),
0007 numberOfThreads = cms.untracked.uint32(1),
0008 numberOfConcurrentRuns = cms.untracked.uint32(1),
0009 numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1)
0010 )
0011
0012 process.source = cms.Source("PoolSource",
0013 fileNames = cms.untracked.vstring(
0014 'file:testProcessBlockMergeOfMergedFiles.root',
0015 'file:testProcessBlockMergeOfMergedFiles2.root',
0016 'file:testProcessBlockMergeOfMergedFiles.root',
0017 ),
0018 duplicateCheckMode = cms.untracked.string("noDuplicateCheck")
0019 )
0020
0021 process.readProcessBlocksOneAnalyzer1 = cms.EDAnalyzer("edmtest::one::InputProcessBlockIntAnalyzer",
0022 transitions = cms.int32(71),
0023 consumesBeginProcessBlock = cms.InputTag("intProducerBeginProcessBlock", ""),
0024 consumesEndProcessBlock = cms.InputTag("intProducerEndProcessBlock", ""),
0025 consumesBeginProcessBlockM = cms.InputTag("intProducerBeginProcessBlockM", ""),
0026 consumesEndProcessBlockM = cms.InputTag("intProducerEndProcessBlockM", ""),
0027 expectedByRun = cms.vint32(11, 22, 3300, 4400, 7707),
0028 expectedSum = cms.int32(24193)
0029 )
0030
0031 process.readProcessBlocksOneAnalyzer2 = cms.EDAnalyzer("edmtest::one::InputProcessBlockIntAnalyzer",
0032 transitions = cms.int32(53),
0033 consumesBeginProcessBlock = cms.InputTag("intProducerBeginProcessBlockMM", ""),
0034 consumesEndProcessBlock = cms.InputTag("intProducerEndProcessBlockMM", ""),
0035 consumesBeginProcessBlockM = cms.InputTag("intProducerBeginProcessBlockM", ""),
0036 consumesEndProcessBlockM = cms.InputTag("intProducerEndProcessBlockM", ""),
0037 expectedByRun = cms.vint32(644, 644, 644, 644, 844),
0038 expectedSum = cms.int32(1020)
0039 )
0040
0041 process.out = cms.OutputModule("PoolOutputModule",
0042 fileName = cms.untracked.string('testProcessBlockThreeFileInput.root')
0043 )
0044
0045 process.testOneOutput = cms.OutputModule("TestOneOutput",
0046 verbose = cms.untracked.bool(False),
0047 expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED'),
0048 expectedTopProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED'),
0049 expectedTopAddedProcesses = cms.untracked.vstring(),
0050 expectedTopCacheIndices0 = cms.untracked.vuint32(0, 4, 6, 1, 4, 6, 2, 5, 6, 3, 5, 6),
0051 expectedTopCacheIndices1 = cms.untracked.vuint32(0, 4, 6, 1, 4, 6, 2, 5, 6, 3, 5, 6, 7, 8, 9),
0052 expectedTopCacheIndices2 = cms.untracked.vuint32(0, 4, 6, 1, 4, 6, 2, 5, 6, 3, 5, 6, 7, 8, 9, 10, 14, 16, 11, 14, 16, 12, 15, 16, 13, 15, 16),
0053 expectedWriteProcessBlockTransitions = cms.untracked.int32(18),
0054 expectedProcessesInFirstFile = cms.untracked.uint32(3),
0055 expectedCacheIndexVectorsPerFile = cms.untracked.vuint32(4, 1, 4),
0056 expectedNEntries0 = cms.untracked.vuint32(4, 2, 1),
0057 expectedNEntries1 = cms.untracked.vuint32(1, 1, 1),
0058 expectedNEntries2 = cms.untracked.vuint32(4, 2, 1),
0059 expectedCacheEntriesPerFile0 = cms.untracked.vuint32(7),
0060 expectedCacheEntriesPerFile1 = cms.untracked.vuint32(7, 3),
0061 expectedCacheEntriesPerFile2 = cms.untracked.vuint32(7, 3, 7),
0062 expectedOuterOffset = cms.untracked.vuint32(0, 4, 5)
0063 )
0064
0065 process.p = cms.Path(process.readProcessBlocksOneAnalyzer1 * process.readProcessBlocksOneAnalyzer2)
0066
0067 process.e = cms.EndPath(
0068 process.out *
0069 process.testOneOutput
0070 )