1 import FWCore.ParameterSet.Config
as cms
3 from PhysicsTools.NanoAOD.globalVariablesTableProducer_cfi
import globalVariablesTableProducer
6 from RecoMET.METFilters.badGlobalMuonTaggersMiniAOD_cff
import badGlobalMuonTaggerMAOD, cloneGlobalMuonTaggerMAOD
7 badGlobalMuonTagger = badGlobalMuonTaggerMAOD.clone(
11 cloneGlobalMuonTagger = cloneGlobalMuonTaggerMAOD.clone(
16 BadPFMuonTagger = BadPFMuonFilter.clone(
17 PFCandidates = cms.InputTag(
"packedPFCandidates"),
18 muons = cms.InputTag(
"slimmedMuons"),
19 vtx = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
25 BadChargedCandidateTagger = BadChargedCandidateFilter.clone(
26 PFCandidates = cms.InputTag(
"packedPFCandidates"),
27 muons = cms.InputTag(
"slimmedMuons"),
28 vtx = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
32 extraFlagsTable = globalVariablesTableProducer.clone(
34 Flag_BadGlobalMuon =
ExtVar(cms.InputTag(
"badGlobalMuonTagger:notBadEvent"), bool, doc =
"Bad muon flag"),
35 Flag_CloneGlobalMuon =
ExtVar(cms.InputTag(
"cloneGlobalMuonTagger:notBadEvent"), bool, doc =
"Clone muon flag"),
36 Flag_BadPFMuonFilter =
ExtVar(cms.InputTag(
"BadPFMuonTagger"), bool, doc =
"Bad PF muon flag"),
37 Flag_BadChargedCandidateFilter =
ExtVar(cms.InputTag(
"BadChargedCandidateTagger"), bool, doc =
"Bad charged hadron flag"),
42 ecalBadCalibFilterNanoTagger = ecalBadCalibFilter.clone(
43 taggingMode = cms.bool(
True)
48 extraFlagsProducersTask = cms.Task()
49 extraFlagsTableTask = cms.Task()
The muon bad track filter (2016) ________________________________________________||.
def ExtVar(tag, valtype, doc=None, precision=-1)
The charged hadron track track filter (2016) ____________________________________||.