From 6fbf6eba6e19b810bc10ea0cf8e090c23020223f Mon Sep 17 00:00:00 2001 From: Raghav Kansal Date: Tue, 13 Feb 2024 13:36:36 -0600 Subject: [PATCH 1/3] Update bbVVSkimmer.py --- src/HHbbVV/processors/bbVVSkimmer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HHbbVV/processors/bbVVSkimmer.py b/src/HHbbVV/processors/bbVVSkimmer.py index 6df3f297..de61f1ab 100644 --- a/src/HHbbVV/processors/bbVVSkimmer.py +++ b/src/HHbbVV/processors/bbVVSkimmer.py @@ -262,9 +262,9 @@ def process(self, events: ak.Array): skimmed_events = {} - ######################### + ######################### # Save / derive variables - ######################### + ######################### # TODO: resonant selection gets rid of events where Ws decay into Ws first # gen vars - saving HH, bb, VV, and 4q 4-vectors + Higgs children information From 7a165bbdd0fb468439e2eb28c25e13dd1fe57378 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Tue, 13 Feb 2024 19:36:55 +0000 Subject: [PATCH 2/3] Fix code style issues with Black --- src/HHbbVV/processors/bbVVSkimmer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HHbbVV/processors/bbVVSkimmer.py b/src/HHbbVV/processors/bbVVSkimmer.py index de61f1ab..6df3f297 100644 --- a/src/HHbbVV/processors/bbVVSkimmer.py +++ b/src/HHbbVV/processors/bbVVSkimmer.py @@ -262,9 +262,9 @@ def process(self, events: ak.Array): skimmed_events = {} - ######################### + ######################### # Save / derive variables - ######################### + ######################### # TODO: resonant selection gets rid of events where Ws decay into Ws first # gen vars - saving HH, bb, VV, and 4q 4-vectors + Higgs children information From 82943c14870599942cf93844a2b7d0769fe41b6f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 19:37:09 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/HHbbVV/postprocessing/InferenceAnalysis.ipynb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/HHbbVV/postprocessing/InferenceAnalysis.ipynb b/src/HHbbVV/postprocessing/InferenceAnalysis.ipynb index 319a1d6d..16d7069a 100644 --- a/src/HHbbVV/postprocessing/InferenceAnalysis.ipynb +++ b/src/HHbbVV/postprocessing/InferenceAnalysis.ipynb @@ -108,9 +108,9 @@ "]\n", "\n", "for mX, mY in res_mps:\n", - " res_samples[\n", - " f\"X[{mX}]->H(bb)Y[{mY}](WW)\"\n", - " ] = f\"NMSSM_XToYH_MX{mX}_MY{mY}_HTo2bYTo2W_hadronicDecay\"\n", + " res_samples[f\"X[{mX}]->H(bb)Y[{mY}](WW)\"] = (\n", + " f\"NMSSM_XToYH_MX{mX}_MY{mY}_HTo2bYTo2W_hadronicDecay\"\n", + " )\n", "\n", "res_sig_keys = list(res_samples.keys())\n", "nonres_sig_keys = [\"HHbbVV\"]" @@ -310,6 +310,7 @@ " sample2...\n", "}\n", "\"\"\"\n", + "\n", "pt_key = \"Pt\"\n", "msd_key = \"Msd\"\n", "var_prefix = \"ak8FatJet\"\n",