Skip to content

Commit

Permalink
More parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
bryates committed Dec 16, 2024
1 parent bc4b058 commit b74652a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions analysis/topeft_run2/analysis_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,12 +704,12 @@ def process(self, events):
preselections.add("2l_p", (chargel0_p & ~fwdjet_mask))
preselections.add("2l_m", (chargel0_m & ~fwdjet_mask))
preselections.add("3l_fwd", (events.is3l & pass_trg & fwdjet_mask))
preselections.add("3l_p_fwd", (events.is3l & pass_trg & charge3l_p & fwdjet_mask)
preselections.add("3l_m_fwd", (events.is3l & pass_trg & charge3l_m & fwdjet_mask)
preselections.add("3l_p_fwd", (events.is3l & pass_trg & charge3l_p & fwdjet_mask))
preselections.add("3l_m_fwd", (events.is3l & pass_trg & charge3l_m & fwdjet_mask))
preselections.add("3l_onZ_fwd", (sfosz_3l_OnZ_mask & fwdjet_mask))
preselections.add("3l", (events.is3l & pass_trg & ~fwdjet_mask))
preselections.add("3l_p", (events.is3l & pass_trg & charge3l_p & ~fwdjet_mask)
preselections.add("3l_m", (events.is3l & pass_trg & charge3l_m & ~fwdjet_mask)
preselections.add("3l_p", (events.is3l & pass_trg & charge3l_p & ~fwdjet_mask))
preselections.add("3l_m", (events.is3l & pass_trg & charge3l_m & ~fwdjet_mask))
preselections.add("3l_onZ", (sfosz_3l_OnZ_mask & ~fwdjet_mask))
else: # Original selections if not using the fwd analysis flag
preselections.add("2lss", (events.is2l & pass_trg))
Expand Down

0 comments on commit b74652a

Please sign in to comment.