CMS 3D CMS Logo

Functions
ProcessFromBareGEN_cff Namespace Reference

Functions

def customise (process)
 

Function Documentation

◆ customise()

def ProcessFromBareGEN_cff.customise (   process)

Definition at line 3 of file ProcessFromBareGEN_cff.py.

References mathSSE.return(), and contentValuesCheck.values.

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)
23 
return((rh ^ lh) &mask)