Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
farakiko committed Sep 10, 2024
1 parent c414147 commit 09ea86c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions boostedhiggs/corrections.py
Original file line number Diff line number Diff line change
Expand Up @@ -1174,10 +1174,8 @@ def getLPweights(dataset, events, candidatefj, fj_idx_lep, candidatelep_p4):
msk_delta = GenLep.delta_r(jet_pfcands) < 0.2
msk_pt = pt_array < 1

# msk = (msk_lep | msk_gamma) & msk_delta

# msk = ((msk_lep | msk_gamma) & msk_delta) | msk_pt
msk = msk_pt
msk = (msk_lep | msk_gamma) & msk_delta
msk = ((msk_lep | msk_gamma) & msk_delta) | msk_pt

# apply the masking by selecting particles that don't have "msk"
selected_pt = pt_array[~msk]
Expand Down

0 comments on commit 09ea86c

Please sign in to comment.