CMS 3D CMS Logo

Functions

ProcessFromBareGEN_cff Namespace Reference

Functions

def customise

Function Documentation

def ProcessFromBareGEN_cff::customise (   process)

Definition at line 3 of file ProcessFromBareGEN_cff.py.

00004                       :
00005     # Remove the old RNGState product and Trigger on output
00006     RNGStateCleaning= cms.PSet(
00007         outputCommands=cms.untracked.vstring('drop RandomEngineStates_*_*_*',
00008                                              'keep RandomEngineStates_*_*_'+process.name_())
00009         )
00010 
00011     for item in process.outputModules_().values():
00012         item.outputCommands.extend(RNGStateCleaning.outputCommands)
00013 
00014     TRGResultCleaning= cms.PSet(
00015         outputCommands=cms.untracked.vstring('drop edmTriggerResults_*_*_*',
00016                                              'keep edmTriggerResults_*_*_'+process.name_())
00017         )
00018 
00019     for item in process.outputModules_().values():
00020         item.outputCommands.extend(TRGResultCleaning.outputCommands)
00021 
00022 
00023     return(process)