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("MERGEOFMERGED")
0004 
0005 process.options = cms.untracked.PSet(
0006     numberOfStreams = cms.untracked.uint32(1),
0007     numberOfConcurrentRuns = cms.untracked.uint32(1),
0008     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1)
0009 )
0010 
0011 process.source = cms.Source("PoolSource",
0012     fileNames = cms.untracked.vstring(
0013         'file:testProcessBlockMerge.root',
0014         'file:testProcessBlockMerge2.root'
0015     )
0016 )
0017 
0018 process.readProcessBlocksOneAnalyzer = cms.EDAnalyzer("edmtest::one::InputProcessBlockIntAnalyzer",
0019                                             transitions = cms.int32(30),
0020                                             consumesBeginProcessBlock = cms.InputTag("intProducerBeginProcessBlock", ""),
0021                                             consumesEndProcessBlock = cms.InputTag("intProducerEndProcessBlock", ""),
0022                                             consumesBeginProcessBlockM = cms.InputTag("intProducerBeginProcessBlockM", ""),
0023                                             consumesEndProcessBlockM = cms.InputTag("intProducerEndProcessBlockM", ""),
0024                                             expectedByRun = cms.vint32(11, 22, 3300, 4400),
0025                                             expectedSum = cms.int32(8221)
0026 )
0027 
0028 process.out = cms.OutputModule("PoolOutputModule",
0029     fileName = cms.untracked.string('testProcessBlockMergeOfMergedFiles.root')
0030 )
0031 
0032 process.testGlobalOutput = cms.OutputModule("TestGlobalOutput",
0033     verbose = cms.untracked.bool(False),
0034     expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED'),
0035     expectedWriteProcessBlockTransitions = cms.untracked.int32(7)
0036 )
0037 
0038 process.testLimitedOutput = cms.OutputModule("TestLimitedOutput",
0039     verbose = cms.untracked.bool(False),
0040     expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED'),
0041     expectedWriteProcessBlockTransitions = cms.untracked.int32(7)
0042 )
0043 
0044 process.testOneOutput = cms.OutputModule("TestOneOutput",
0045     verbose = cms.untracked.bool(False),
0046     expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED'),
0047     expectedTopProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED'),
0048     expectedTopAddedProcesses = cms.untracked.vstring('MERGEOFMERGED'),
0049     expectedProcessNamesAtWrite = cms.untracked.vstring('PROD1', 'PROD1', 'MERGE', 'PROD1', 'PROD1', 'MERGE', 'MERGEOFMERGED'),
0050     expectedWriteProcessBlockTransitions = cms.untracked.int32(7),
0051     testTTreesInFileBlock = cms.untracked.bool(True),
0052     expectedCacheIndexSize = cms.untracked.vuint32(2, 2, 2, 4, 4, 4, 4),
0053     expectedNAddedProcesses = cms.untracked.uint32(1),
0054     expectedTopCacheIndices0 = cms.untracked.vuint32(0, 2, 1, 2),
0055     expectedTopCacheIndices1 = cms.untracked.vuint32(0, 2, 1, 2, 3, 5, 4, 5)
0056 )
0057 
0058 process.intProducerBeginProcessBlockMM = cms.EDProducer("IntProducerBeginProcessBlock", ivalue = cms.int32(304))
0059 
0060 process.intProducerEndProcessBlockMM = cms.EDProducer("IntProducerEndProcessBlock", ivalue = cms.int32(340))
0061 
0062 process.intProducerBeginProcessBlockB = cms.EDProducer("IntProducerBeginProcessBlock", ivalue = cms.int32(308))
0063 
0064 process.intProducerEndProcessBlockB = cms.EDProducer("IntProducerEndProcessBlock", ivalue = cms.int32(380))
0065 
0066 process.p = cms.Path(process.intProducerBeginProcessBlockMM *
0067                      process.intProducerEndProcessBlockMM *
0068                      process.intProducerBeginProcessBlockB *
0069                      process.intProducerEndProcessBlockB *
0070                      process.readProcessBlocksOneAnalyzer
0071 )
0072 
0073 process.e = cms.EndPath(process.out *
0074                         process.testGlobalOutput *
0075                         process.testLimitedOutput *
0076                         process.testOneOutput
0077 )