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(lhcInfoTableProducer
9  + lumiTableProducer
10  + muDigiProducersBkg)
11 
12 def muDPGNanoBkgCustomize(process) :
13 
14  for output in ["NANOEDMAODoutput", "NANOAODoutput", "NANOEDMAODSIMoutput", "NANOAODSIMoutput"]:
15  if hasattr(process, output):
16  getattr(process,output).outputCommands.append("keep nanoaodFlatTable_*Table*_*_*")
17  getattr(process,output).outputCommands.append("drop edmTriggerResults_*_*_*")
18 
19  return process