CMS 3D CMS Logo

muNtupleProducerBkg_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
7 
8 muDPGNanoProducerBkg = cms.Sequence(globalTables
9  + muDigiTablesBkg)
10 
11 def muDPGNanoBkgCustomize(process) :
12 
13  for output in ["NANOEDMAODoutput", "NANOAODoutput", "NANOEDMAODSIMoutput", "NANOAODSIMoutput"]:
14  if hasattr(process, output) and "keep edmTriggerResults_*_*_*" in getattr(process,output).outputCommands:
15  getattr(process,output).outputCommands.remove("keep edmTriggerResults_*_*_*")
16 
17  return process