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("READSUBPROCESSOUTPUT2")
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:testProcessBlockSubProcessReadAgain.root'
0015     )
0016 )
0017 
0018 process.readProcessBlocksOneAnalyzer1 = cms.EDAnalyzer("edmtest::one::InputProcessBlockIntAnalyzer",
0019                                             transitions = cms.int32(34),
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                                             expectedFillerSum = cms.untracked.int32(23199),
0027                                             consumesBeginProcessBlockNotFound = cms.InputTag("intProducerBeginProcessBlock"),
0028                                             consumesEndProcessBlockNotFound = cms.InputTag("intProducerEndProcessBlock")
0029 )
0030 
0031 process.readProcessBlocksOneAnalyzer2 = cms.EDAnalyzer("edmtest::one::InputProcessBlockIntAnalyzer",
0032                                             transitions = cms.int32(25),
0033                                             consumesBeginProcessBlock = cms.InputTag("intProducerBeginProcessBlockT", ""),
0034                                             consumesEndProcessBlock = cms.InputTag("intProducerEndProcessBlockT", ""),
0035                                             consumesBeginProcessBlockM = cms.InputTag("intProducerBeginProcessBlockM", ""),
0036                                             consumesEndProcessBlockM = cms.InputTag("intProducerEndProcessBlockM", ""),
0037                                             expectedByRun = cms.vint32(44000, 44000, 44000, 44000),
0038                                             expectedSum = cms.int32(488),
0039                                             expectedFillerSum = cms.untracked.int32(132000),
0040                                             consumesBeginProcessBlockNotFound = cms.InputTag("intProducerBeginProcessBlockT"),
0041                                             consumesEndProcessBlockNotFound = cms.InputTag("intProducerEndProcessBlockT")
0042 )
0043 
0044 process.readProcessBlocksOneAnalyzer3 = cms.EDAnalyzer("edmtest::one::InputProcessBlockIntAnalyzer",
0045                                             transitions = cms.int32(25),
0046                                             consumesBeginProcessBlock = cms.InputTag("intProducerBeginProcessBlockR", ""),
0047                                             consumesEndProcessBlock = cms.InputTag("intProducerEndProcessBlockR", ""),
0048                                             consumesBeginProcessBlockM = cms.InputTag("intProducerBeginProcessBlockM", ""),
0049                                             consumesEndProcessBlockM = cms.InputTag("intProducerEndProcessBlockM", ""),
0050                                             expectedByRun = cms.vint32(55000, 55000, 55000, 55000),
0051                                             expectedSum = cms.int32(488),
0052                                             expectedFillerSum = cms.untracked.int32(165000),
0053                                             consumesBeginProcessBlockNotFound = cms.InputTag("intProducerBeginProcessBlockR"),
0054                                             consumesEndProcessBlockNotFound = cms.InputTag("intProducerEndProcessBlockR")
0055 )
0056 
0057 process.readProcessBlocksOneAnalyzer4 = cms.EDAnalyzer("edmtest::one::InputProcessBlockIntAnalyzer",
0058                                             transitions = cms.int32(25),
0059                                             consumesBeginProcessBlock = cms.InputTag("intProducerBeginProcessBlockRA", ""),
0060                                             consumesEndProcessBlock = cms.InputTag("intProducerEndProcessBlockRA", ""),
0061                                             consumesBeginProcessBlockM = cms.InputTag("intProducerBeginProcessBlockM", ""),
0062                                             consumesEndProcessBlockM = cms.InputTag("intProducerEndProcessBlockM", ""),
0063                                             expectedByRun = cms.vint32(1100000, 1100000, 1100000, 1100000),
0064                                             expectedSum = cms.int32(488),
0065                                             expectedFillerSum = cms.untracked.int32(3300000),
0066                                             consumesBeginProcessBlockNotFound = cms.InputTag("intProducerBeginProcessBlockRA"),
0067                                             consumesEndProcessBlockNotFound = cms.InputTag("intProducerEndProcessBlockRA")
0068 )
0069 
0070 process.out = cms.OutputModule("PoolOutputModule",
0071     fileName = cms.untracked.string('testProcessBlockSubProcessRead2.root')
0072 )
0073 
0074 process.testOneOutput = cms.OutputModule("TestOneOutput",
0075     verbose = cms.untracked.bool(False),
0076     expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED', 'TEST', 'READ', 'READAGAIN'),
0077     expectedTopProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED', 'TEST', 'READ', 'READAGAIN'),
0078     expectedTopAddedProcesses = cms.untracked.vstring(),
0079     expectedTopCacheIndices0 = cms.untracked.vuint32(0, 4, 6, 7, 8, 9, 1, 4, 6, 7, 8, 9, 2, 5, 6, 7, 8, 9, 3, 5, 6, 7, 8, 9),
0080     expectedWriteProcessBlockTransitions = cms.untracked.int32(11)
0081 )
0082 
0083 process.p = cms.Path(
0084     process.readProcessBlocksOneAnalyzer1 *
0085     process.readProcessBlocksOneAnalyzer2 *
0086     process.readProcessBlocksOneAnalyzer3 *
0087     process.readProcessBlocksOneAnalyzer4
0088 )
0089 
0090 process.e = cms.EndPath(
0091     process.out *
0092     process.testOneOutput
0093 )