From 800d080005cc3d82b20185053010b85374e41c88 Mon Sep 17 00:00:00 2001 From: rkansal47 Date: Mon, 11 Sep 2023 14:39:51 -0500 Subject: [PATCH] remove tight mass cuts --- src/HHbbVV/processors/bbVVSkimmer.py | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/HHbbVV/processors/bbVVSkimmer.py b/src/HHbbVV/processors/bbVVSkimmer.py index b4da7c62..f1db6dbf 100644 --- a/src/HHbbVV/processors/bbVVSkimmer.py +++ b/src/HHbbVV/processors/bbVVSkimmer.py @@ -90,8 +90,10 @@ class bbVVSkimmer(processor.ProcessorABC): "pt": 300.0, "eta": 2.4, "VVmsd": 50, - "VVparticleNet_mass": [50, 250], - "bbparticleNet_mass": [92.5, 162.5], + # "VVparticleNet_mass": [50, 250], + # "bbparticleNet_mass": [92.5, 162.5], + "bbparticleNet_mass": 50, + "VVparticleNet_mass": 50, "bbFatJetParticleNetMD_Txbb": 0.8, "DijetMass": 800, # TODO # "nGoodElectrons": 0, @@ -435,12 +437,15 @@ def process(self, events: ak.Array): + (msds[~bb_mask] >= self.preselection["VVparticleNet_mass"][0]) ) * (pnetms[bb_mask] >= 50) else: - cut = ( - (pnetms[~bb_mask] >= self.preselection["VVparticleNet_mass"][0]) - * (pnetms[~bb_mask] < self.preselection["VVparticleNet_mass"][1]) - * (pnetms[bb_mask] >= self.preselection["bbparticleNet_mass"][0]) - * (pnetms[bb_mask] < self.preselection["bbparticleNet_mass"][1]) + cut = (pnetms[~bb_mask] >= self.preselection["VVparticleNet_mass"]) * ( + pnetms[bb_mask] >= self.preselection["bbparticleNet_mass"] ) + # cut = ( + # (pnetms[~bb_mask] >= self.preselection["VVparticleNet_mass"][0]) + # * (pnetms[~bb_mask] < self.preselection["VVparticleNet_mass"][1]) + # * (pnetms[bb_mask] >= self.preselection["bbparticleNet_mass"][0]) + # * (pnetms[bb_mask] < self.preselection["bbparticleNet_mass"][1]) + # ) cuts.append(cut)