Skip to content

Commit

Permalink
Correct conditional expresion for trigger selection (#234)
Browse files Browse the repository at this point in the history
* correcting conditional for trigger selection

* remove space

---------

Co-authored-by: Clara Ramon Alvarez <[email protected]>
  • Loading branch information
cramonal and Clara Ramon Alvarez authored Nov 15, 2024
1 parent dc8c50d commit bbfffc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HH4b/processors/bbbbSkimmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ def process(self, events: ak.Array):

# apply trigger
apply_trigger = True
if (~is_run3) and (~isData) and self._region == "signal":
if (not is_run3) and (not isData) and self._region == "signal":
# in run2 we do not apply the trigger to MC
apply_trigger = False
if apply_trigger:
Expand Down

0 comments on commit bbfffc0

Please sign in to comment.