Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:44

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def customise(process):
0004     # Remove the old RNGState product and Trigger on output
0005     RNGStateCleaning= cms.PSet(
0006         outputCommands=cms.untracked.vstring('drop RandomEngineStates_*_*_*',
0007                                              'keep RandomEngineStates_*_*_'+process.name_())
0008         )
0009 
0010     for item in process.outputModules_().values():
0011         item.outputCommands.extend(RNGStateCleaning.outputCommands)
0012 
0013     TRGResultCleaning= cms.PSet(
0014         outputCommands=cms.untracked.vstring('drop edmTriggerResults_*_*_*',
0015                                              'keep edmTriggerResults_*_*_'+process.name_())
0016         )
0017 
0018     for item in process.outputModules_().values():
0019         item.outputCommands.extend(TRGResultCleaning.outputCommands)
0020 
0021 
0022     return(process)