Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aalvesan committed Dec 9, 2024
1 parent 16f3f62 commit 37c4021
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hbt/selection/jet.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ def jet_selection(
score_indices = ak.argsort(hhbtag_scores, axis=1, ascending=False)

# only consider tautau events for which the tau_tau_jet trigger fired and no other tau tau trigger
trigger_mask = (events.channel_id == 3) & ~ak.any((events.trigger_ids == 505) | (events.trigger_ids == 603), axis=1) & ak.any(events.trigger_ids == 701, axis=1)
trigger_mask = (
(events.channel_id == 3) &
~ak.any((events.trigger_ids == 505) | (events.trigger_ids == 603), axis=1) &
ak.any(events.trigger_ids == 701, axis=1)
)

# score (and local index) of the hhbtag for each jet coming from events which passed the trigger mask
sel_score_indices = score_indices[trigger_mask]
Expand Down

0 comments on commit 37c4021

Please sign in to comment.