CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ProcessFromBareGEN_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def customise(process):
4  # Remove the old RNGState product and Trigger on output
5  RNGStateCleaning= cms.PSet(
6  outputCommands=cms.untracked.vstring('drop RandomEngineStates_*_*_*',
7  'keep RandomEngineStates_*_*_'+process.name_())
8  )
9 
10  for item in process.outputModules_().values():
11  item.outputCommands.extend(RNGStateCleaning.outputCommands)
12 
13  TRGResultCleaning= cms.PSet(
14  outputCommands=cms.untracked.vstring('drop edmTriggerResults_*_*_*',
15  'keep edmTriggerResults_*_*_'+process.name_())
16  )
17 
18  for item in process.outputModules_().values():
19  item.outputCommands.extend(TRGResultCleaning.outputCommands)
20 
21 
22  return(process)
return(e1-e2)*(e1-e2)+dp *dp