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