Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import FWCore.ParameterSet.Config as cms

process = cms.Process("COPYDROP")

process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")

process.source = cms.Source("PoolSource",
    fileNames = cms.untracked.vstring('file:goodDataFormatsFWLite.root')
)

process.out = cms.OutputModule("PoolOutputModule",
    fileName = cms.untracked.string('refTestCopyDropDataFormatsFWLite.root'),
    outputCommands = cms.untracked.vstring(
        'keep *',
        'drop *_thinningThingProducerE_*_*',
        'drop *_thinningThingProducerF_*_*'
    )
)

process.outp = cms.EndPath(process.out)