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.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     )
0016 )
0017 
0018 process.readProcessBlocksOneAnalyzer = cms.EDAnalyzer("edmtest::one::InputProcessBlockIntAnalyzer",
0019                                             transitions = cms.int32(31),
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.transientIntProducerEndProcessBlock = cms.EDProducer("TransientIntProducerEndProcessBlock",
0029     ivalue = cms.int32(90)
0030 )
0031 
0032 process.out = cms.OutputModule("PoolOutputModule",
0033     fileName = cms.untracked.string('testProcessBlockRead2.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, 4, 6, 1, 4, 6, 2, 5, 6, 3, 5, 6),
0042     expectedWriteProcessBlockTransitions = cms.untracked.int32(8)
0043 )
0044 
0045 
0046 process.p = cms.Path(process.transientIntProducerEndProcessBlock * process.readProcessBlocksOneAnalyzer)
0047 
0048 process.e = cms.EndPath(
0049     process.out *
0050     process.testOneOutput
0051 )