File indexing completed on 2024-04-06 12:12:41
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 process.intProducerBeginProcessBlockN = cms.EDProducer("IntProducerBeginProcessBlock", ivalue = cms.int32(5))
0020
0021 process.intProducerEndProcessBlockN = cms.EDProducer("IntProducerEndProcessBlock", ivalue = cms.int32(50))
0022
0023 process.out = cms.OutputModule("PoolOutputModule",
0024 fileName = cms.untracked.string('testProcessBlockDropOnOutput2.root'),
0025 outputCommands = cms.untracked.vstring(
0026 'keep *',
0027 'drop *_intProducerBeginProcessBlockB_*_*',
0028 'drop *_intProducerEndProcessBlockB_*_*',
0029 'drop *_intProducerBeginProcessBlockM_*_*',
0030 'drop *_intProducerEndProcessBlockM_*_*'
0031 )
0032 )
0033
0034 process.testOneOutput = cms.OutputModule("TestOneOutput",
0035 outputCommands = cms.untracked.vstring(
0036 'keep *',
0037 'drop *_intProducerBeginProcessBlockB_*_*',
0038 'drop *_intProducerEndProcessBlockB_*_*',
0039 'drop *_intProducerBeginProcessBlockM_*_*',
0040 'drop *_intProducerEndProcessBlockM_*_*'
0041 ),
0042 verbose = cms.untracked.bool(False),
0043 expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGEOFMERGED', 'DROPONOUTPUT'),
0044 expectedTopProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED', 'DROPONOUTPUT'),
0045 expectedTranslateFromStoredIndex = cms.untracked.vuint32(0, 2, 3),
0046 expectedNAddedProcesses = cms.untracked.uint32(1),
0047 expectedProductsFromInputKept = cms.untracked.bool(True)
0048 )
0049
0050 process.out2 = cms.OutputModule("PoolOutputModule",
0051 fileName = cms.untracked.string('testProcessBlockDropOnOutput2_2.root'),
0052 outputCommands = cms.untracked.vstring(
0053 'keep *',
0054 'drop *_intProducerBeginProcessBlock_*_*',
0055 'drop *_intProducerEndProcessBlock_*_*',
0056 'drop *_intProducerBeginProcessBlockB_*_*',
0057 'drop *_intProducerEndProcessBlockB_*_*',
0058 'drop *_intProducerBeginProcessBlockM_*_*',
0059 'drop *_intProducerEndProcessBlockM_*_*',
0060 'drop *_intProducerBeginProcessBlockMM_*_*',
0061 'drop *_intProducerEndProcessBlockMM_*_*'
0062 )
0063 )
0064
0065 process.testOneOutput2 = cms.OutputModule("TestOneOutput",
0066 outputCommands = cms.untracked.vstring(
0067 'keep *',
0068 'drop *_intProducerBeginProcessBlock_*_*',
0069 'drop *_intProducerEndProcessBlock_*_*',
0070 'drop *_intProducerBeginProcessBlockB_*_*',
0071 'drop *_intProducerEndProcessBlockB_*_*',
0072 'drop *_intProducerBeginProcessBlockM_*_*',
0073 'drop *_intProducerEndProcessBlockM_*_*',
0074 'drop *_intProducerBeginProcessBlockMM_*_*',
0075 'drop *_intProducerEndProcessBlockMM_*_*'
0076 ),
0077 verbose = cms.untracked.bool(False),
0078 expectedProcessesWithProcessBlockProducts = cms.untracked.vstring('DROPONOUTPUT'),
0079 expectedTopProcessesWithProcessBlockProducts = cms.untracked.vstring('PROD1', 'MERGE', 'MERGEOFMERGED', 'DROPONOUTPUT'),
0080 expectedTranslateFromStoredIndex = cms.untracked.vuint32(3),
0081 expectedNAddedProcesses = cms.untracked.uint32(1),
0082 expectedProductsFromInputKept = cms.untracked.bool(False)
0083 )
0084
0085 process.p = cms.Path(process.intProducerBeginProcessBlockN * process.intProducerEndProcessBlockN)
0086
0087 process.e = cms.EndPath(
0088 process.out *
0089 process.testOneOutput *
0090 process.out2 *
0091 process.testOneOutput2
0092 )