src
DPGAnalysis
MuonTools
python
muNtupleProducerBkg_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
from
PhysicsTools.NanoAOD.common_cff
import
*
4
5
from
DPGAnalysis.MuonTools.nano_mu_global_cff
import
*
6
from
DPGAnalysis.MuonTools.nano_mu_digi_cff
import
*
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
muNtupleProducerBkg_cff.muDPGNanoBkgCustomize
def muDPGNanoBkgCustomize(process)
Definition:
muNtupleProducerBkg_cff.py:11
nano_mu_global_cff
nano_mu_digi_cff
common_cff
Generated for CMSSW Reference Manual by
1.8.14