Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:41

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 )
0010 
0011 # The second file has ProcessBlock products dropped that
0012 # were in the first file so this should fail the strict
0013 # merge requirements on ProcessBlock products.
0014 process.source = cms.Source("PoolSource",
0015     fileNames = cms.untracked.vstring(
0016         'file:testProcessBlock1.root',
0017         'file:testProcessBlock2Dropped.root'
0018     )
0019 )
0020 
0021 process.out = cms.OutputModule("PoolOutputModule",
0022     fileName = cms.untracked.string('testProcessBlockFailMerge.root')
0023 )
0024 
0025 process.intProducerBeginProcessBlock = cms.EDProducer("IntProducerBeginProcessBlock", ivalue = cms.int32(2))
0026 
0027 process.intProducerEndProcessBlock = cms.EDProducer("IntProducerEndProcessBlock", ivalue = cms.int32(20))
0028 
0029 process.p = cms.Path(process.intProducerBeginProcessBlock *
0030                      process.intProducerEndProcessBlock)
0031 
0032 process.e = cms.EndPath(process.out)