CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Configuration/StandardSequences/python/ProcessFromBareGEN_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 def customise(process):
00004     # Remove the old RNGState product and Trigger on output
00005     RNGStateCleaning= cms.PSet(
00006         outputCommands=cms.untracked.vstring('drop RandomEngineStates_*_*_*',
00007                                              'keep RandomEngineStates_*_*_'+process.name_())
00008         )
00009 
00010     for item in process.outputModules_().values():
00011         item.outputCommands.extend(RNGStateCleaning.outputCommands)
00012 
00013     TRGResultCleaning= cms.PSet(
00014         outputCommands=cms.untracked.vstring('drop edmTriggerResults_*_*_*',
00015                                              'keep edmTriggerResults_*_*_'+process.name_())
00016         )
00017 
00018     for item in process.outputModules_().values():
00019         item.outputCommands.extend(TRGResultCleaning.outputCommands)
00020 
00021 
00022     return(process)