CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
ProcessFromBareGEN_cff Namespace Reference

Functions

def customise
 

Function Documentation

def ProcessFromBareGEN_cff.customise (   process)

Definition at line 3 of file ProcessFromBareGEN_cff.py.

References reco.return(), and makeHLTPrescaleTable.values.

3 
4 def customise(process):
5  # Remove the old RNGState product and Trigger on output
6  RNGStateCleaning= cms.PSet(
7  outputCommands=cms.untracked.vstring('drop RandomEngineStates_*_*_*',
8  'keep RandomEngineStates_*_*_'+process.name_())
9  )
10 
11  for item in process.outputModules_().values():
12  item.outputCommands.extend(RNGStateCleaning.outputCommands)
13 
14  TRGResultCleaning= cms.PSet(
15  outputCommands=cms.untracked.vstring('drop edmTriggerResults_*_*_*',
16  'keep edmTriggerResults_*_*_'+process.name_())
17  )
18 
19  for item in process.outputModules_().values():
20  item.outputCommands.extend(TRGResultCleaning.outputCommands)
21 
22 
23  return(process)
return(e1-e2)*(e1-e2)+dp *dp