Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("MERGE")
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     #fileMode = cms.untracked.string('NOMERGE')
0010 )
0011 
0012 process.source = cms.Source("PoolSource",
0013     fileNames = cms.untracked.vstring(
0014         'file:testProcessBlock3.root',
0015         'file:testProcessBlock4.root'
0016     )
0017 )
0018 
0019 process.out = cms.OutputModule("PoolOutputModule",
0020     fileName = cms.untracked.string('testProcessBlockMerge2.root')
0021 )
0022 
0023 process.testGlobalOutput = cms.OutputModule("TestGlobalOutput",
0024     verbose = cms.untracked.bool(False),
0025     expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE'),
0026     expectedWriteProcessBlockTransitions = cms.untracked.int32(3)
0027 )
0028 
0029 process.testLimitedOutput = cms.OutputModule("TestLimitedOutput",
0030     verbose = cms.untracked.bool(False),
0031     expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE'),
0032     expectedWriteProcessBlockTransitions = cms.untracked.int32(3)
0033 )
0034 
0035 process.testOneOutput = cms.OutputModule("TestOneOutput",
0036     verbose = cms.untracked.bool(False),
0037     expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE'),
0038     expectedWriteProcessBlockTransitions = cms.untracked.int32(3)
0039 )
0040 
0041 process.intProducerBeginProcessBlockM = cms.EDProducer("IntProducerBeginProcessBlock", ivalue = cms.int32(204))
0042 
0043 process.intProducerEndProcessBlockM = cms.EDProducer("IntProducerEndProcessBlock", ivalue = cms.int32(240))
0044 
0045 process.intProducerBeginProcessBlockB = cms.EDProducer("IntProducerBeginProcessBlock", ivalue = cms.int32(208))
0046 
0047 process.intProducerEndProcessBlockB = cms.EDProducer("IntProducerEndProcessBlock", ivalue = cms.int32(280))
0048 
0049 process.p = cms.Path(process.intProducerBeginProcessBlockM *
0050                      process.intProducerEndProcessBlockM *
0051                      process.intProducerBeginProcessBlockB *
0052                      process.intProducerEndProcessBlockB
0053 )
0054 
0055 process.e = cms.EndPath(process.out *
0056                         process.testGlobalOutput *
0057                         process.testLimitedOutput *
0058                         process.testOneOutput
0059 )