1 import FWCore.ParameterSet.Config
as cms
5 from RecoMET.METFilters.badGlobalMuonTaggersMiniAOD_cff
import badGlobalMuonTaggerMAOD, cloneGlobalMuonTaggerMAOD
6 badGlobalMuonTagger = badGlobalMuonTaggerMAOD.clone(
10 cloneGlobalMuonTagger = cloneGlobalMuonTaggerMAOD.clone(
15 BadPFMuonTagger = BadPFMuonFilter.clone(
16 PFCandidates = cms.InputTag(
"packedPFCandidates"),
17 muons = cms.InputTag(
"slimmedMuons"),
23 BadChargedCandidateTagger = BadChargedCandidateFilter.clone(
24 PFCandidates = cms.InputTag(
"packedPFCandidates"),
25 muons = cms.InputTag(
"slimmedMuons"),
29 extraFlagsTable = cms.EDProducer(
"GlobalVariablesTableProducer",
31 Flag_BadGlobalMuon =
ExtVar(cms.InputTag(
"badGlobalMuonTagger:notBadEvent"), bool, doc =
"Bad muon flag"),
32 Flag_CloneGlobalMuon =
ExtVar(cms.InputTag(
"cloneGlobalMuonTagger:notBadEvent"), bool, doc =
"Clone muon flag"),
33 Flag_BadPFMuonFilter =
ExtVar(cms.InputTag(
"BadPFMuonTagger"), bool, doc =
"Bad PF muon flag"),
34 Flag_BadChargedCandidateFilter =
ExtVar(cms.InputTag(
"BadChargedCandidateTagger"), bool, doc =
"Bad charged hadron flag"),
38 extraFlagsProducers = cms.Sequence(badGlobalMuonTagger + cloneGlobalMuonTagger + BadPFMuonTagger + BadChargedCandidateTagger)
41 ecalBadCalibFilterNanoTagger = ecalBadCalibFilter.clone(
42 taggingMode = cms.bool(
True)
45 extraFlagsProducers102x = cms.Sequence(ecalBadCalibFilterNanoTagger)
The muon bad track filter (2016) ________________________________________________||.
def ExtVar(tag, valtype, compression=None, doc=None, mcOnly=False, precision=-1)
The charged hadron track track filter (2016) ____________________________________||.