Skip to content

Commit

Permalink
updated default.py
Browse files Browse the repository at this point in the history
  • Loading branch information
haddadanas authored Aug 29, 2023
1 parent 26f50f0 commit 32dfafe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hbt/selection/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def default(
events = self[pu_weight](events, **kwargs)

# btag weights
events = self[btag_weights](events, results.x.jet_mask, **kwargs)
events = self[btag_weights](events,
ak.fill_none(results.x.jet_mask, False, axis=1), **kwargs)

# combined event selection after all steps
event_sel = reduce(and_, results.steps.values())
Expand Down

0 comments on commit 32dfafe

Please sign in to comment.