From bbfffc0fb919134e3d9a82159d0b2f8f1ccb057d Mon Sep 17 00:00:00 2001 From: cramonal <43930853+cramonal@users.noreply.github.com> Date: Fri, 15 Nov 2024 19:42:33 +0100 Subject: [PATCH] Correct conditional expresion for trigger selection (#234) * correcting conditional for trigger selection * remove space --------- Co-authored-by: Clara Ramon Alvarez --- src/HH4b/processors/bbbbSkimmer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HH4b/processors/bbbbSkimmer.py b/src/HH4b/processors/bbbbSkimmer.py index e054e3d0..b5ed14dd 100644 --- a/src/HH4b/processors/bbbbSkimmer.py +++ b/src/HH4b/processors/bbbbSkimmer.py @@ -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: