Skip to content

Commit

Permalink
mini pf iso bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rkansal47 committed Sep 11, 2023
1 parent 1e592b6 commit 49b4b6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HHbbVV/processors/bbVVSkimmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,15 +537,15 @@ def process(self, events: ak.Array):
goodelectron = (
(events.Electron.pt > 20)
& (abs(events.Electron.eta) < 2.5)
& (events.Electron.pfRelIso04_all < 0.4)
& (events.Electron.miniPFRelIso_all < 0.4)
& (events.Electron.cutBased >= events.Electron.LOOSE)
)
nelectrons = ak.sum(goodelectron, axis=1)

goodmuon = (
(events.Muon.pt > 15)
& (abs(events.Muon.eta) < 2.4)
& (events.Muon.pfRelIso04_all < 0.4)
& (events.Muon.miniPFRelIso_all < 0.4)
& events.Muon.looseId
)
nmuons = ak.sum(goodmuon, axis=1)
Expand Down

0 comments on commit 49b4b6f

Please sign in to comment.