1 import FWCore.ParameterSet.Config
as cms
5 RNGStateCleaning= cms.PSet(
6 outputCommands=cms.untracked.vstring(
'drop RandomEngineStates_*_*_*',
7 'keep RandomEngineStates_*_*_'+process.name_())
10 for item
in process.outputModules_().
values():
11 item.outputCommands.extend(RNGStateCleaning.outputCommands)
13 TRGResultCleaning= cms.PSet(
14 outputCommands=cms.untracked.vstring(
'drop edmTriggerResults_*_*_*',
15 'keep edmTriggerResults_*_*_'+process.name_())
18 for item
in process.outputModules_().
values():
19 item.outputCommands.extend(TRGResultCleaning.outputCommands)