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("DROPONOUTPUT")
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         'file:testProcessBlockMergeOfMergedFiles2.root'
0016     ),
0017 )
0018 
0019 
0020 process.out = cms.OutputModule("PoolOutputModule",
0021     fileName = cms.untracked.string('testProcessBlockDropOnOutput.root'),
0022     outputCommands = cms.untracked.vstring(
0023         'keep *',
0024         'drop *_intProducerBeginProcessBlockB_*_*',
0025         'drop *_intProducerEndProcessBlockB_*_*',
0026         'drop *_intProducerBeginProcessBlockM_*_*',
0027         'drop *_intProducerEndProcessBlockM_*_*'
0028     )
0029 )
0030 
0031 process.testOneOutput = cms.OutputModule("TestOneOutput",
0032     outputCommands = cms.untracked.vstring(
0033         'keep *',
0034         'drop *_intProducerBeginProcessBlockB_*_*',
0035         'drop *_intProducerEndProcessBlockB_*_*',
0036         'drop *_intProducerBeginProcessBlockM_*_*',
0037         'drop *_intProducerEndProcessBlockM_*_*'
0038     ),
0039     verbose = cms.untracked.bool(False),
0040     expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGEOFMERGED'),
0041     expectedTopProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED'),
0042     expectedTranslateFromStoredIndex = cms.untracked.vuint32(0, 2),
0043     expectedNAddedProcesses = cms.untracked.uint32(0),
0044     expectedProductsFromInputKept = cms.untracked.bool(True),
0045     expectedTopAddedProcesses = cms.untracked.vstring(),
0046     expectedTopCacheIndices0 = cms.untracked.vuint32(0, 4, 6, 1, 4, 6, 2, 5, 6, 3, 5, 6),
0047     expectedTopCacheIndices1 = cms.untracked.vuint32(0, 4, 6, 1, 4, 6, 2, 5, 6, 3, 5, 6, 7, 8, 9)
0048 )
0049 
0050 process.e = cms.EndPath(
0051     process.out *
0052     process.testOneOutput
0053 )