From 3666b4246880c50f53d5325c44fa71d0ea8439c1 Mon Sep 17 00:00:00 2001 From: Jamie Gooding Date: Tue, 2 Dec 2025 13:13:56 +0100 Subject: [PATCH 1/4] Add preliminary MoDe models --- .../python/Hlt2Conf/lines/topological_b/topo_builders.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py index 41402199af5..ceb72a81507 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py @@ -58,7 +58,7 @@ all_lines = {} def two_body_mva( pvs, name="Topo_TwoBody_SigmaNet", - config="TwoBody_topo_sigmanet_2025_v2", + config="TwoBody_topo_sigmanet_2026_test", lipschitz=2.0, minmax=False, monotone_constraints=[1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], @@ -114,7 +114,7 @@ def two_body_mva( def three_body_mva( pvs, name="Topo_ThreeBody_SigmaNet", - config="ThreeBody_topo_sigmanet_2025_v2", + config="ThreeBody_topo_sigmanet_2026_test", lipschitz=2.0, minmax=False, monotone_constraints=[ -- GitLab From 5e0e9915f1734ced9eb52152394603b84115c905 Mon Sep 17 00:00:00 2001 From: Jamie Gooding Date: Tue, 2 Dec 2025 13:59:08 +0100 Subject: [PATCH 2/4] Update topo thresholds and remove loose lines --- .../lines/topological_b/topo_builders.py | 8 +++--- .../lines/topological_b/topo_lines.py | 26 +------------------ 2 files changed, 5 insertions(+), 29 deletions(-) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py index ceb72a81507..231deb40a67 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py @@ -426,7 +426,7 @@ def make_unfiltered_topo_threebody( @configurable -def make_filtered_topo_twobody(mva=two_body_mva, min_mva=0.98858, require_muon=False): +def make_filtered_topo_twobody(mva=two_body_mva, min_mva=0.99214, require_muon=False): """Builder for MVA-filtered 2-body topo. candidate. Returns a 2-body candidate (per `make_unfiltered_topo_twobody`) subject to @@ -439,7 +439,7 @@ def make_filtered_topo_twobody(mva=two_body_mva, min_mva=0.98858, require_muon=F @configurable def make_filtered_topo_threebody( - mva=three_body_mva, min_mva=0.99974, require_muon=False + mva=three_body_mva, min_mva=0.99537, require_muon=False ): """Builder for MVA-filtered 3-body topo. candidate. @@ -452,7 +452,7 @@ def make_filtered_topo_threebody( @configurable -def make_filtered_topo_mu_twobody(mva=two_body_mva, min_mva=0.98205): +def make_filtered_topo_mu_twobody(mva=two_body_mva, min_mva=0.99): """Builder for MVA-filtered 2-body topo. candidate with muon(s). Returns a 2-body candidate (per `make_unfiltered_topo_twobody`, with at @@ -463,7 +463,7 @@ def make_filtered_topo_mu_twobody(mva=two_body_mva, min_mva=0.98205): @configurable -def make_filtered_topo_mu_threebody(mva=three_body_mva, min_mva=0.99969): +def make_filtered_topo_mu_threebody(mva=three_body_mva, min_mva=0.995): """Builder for MVA-filtered 3-body topo. candidate with muon(s). Returns a 3-body candidate (per `make_unfiltered_topo_threebody`, with at diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_lines.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_lines.py index 43a476d5764..bab08668306 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_lines.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_lines.py @@ -56,18 +56,6 @@ def threebody_line(name="Hlt2Topo3Body", prescale=1): ) -@register_line_builder(all_lines) -def threebody_loose_line(name="Hlt2TopoLoose3Body", prescale=1): - """HLT2 line for selecting 3-body topo. candidates with a loosened MVA cut.""" - candidates = make_filtered_topo_threebody(min_mva=0.99934) - return Hlt2Line( - name=name, - algs=upfront_reconstruction() + line_prefilters() + [candidates], - prescale=prescale, - persistreco=True, - ) - - @register_line_builder(all_lines) def twobody_mu_line(name="Hlt2TopoMu2Body", prescale=1): """HLT2 line for selecting 2-body topo. candidates with muon(s).""" @@ -89,16 +77,4 @@ def threebody_mu_line(name="Hlt2TopoMu3Body", prescale=1): algs=upfront_reconstruction() + line_prefilters() + [candidates], prescale=prescale, persistreco=True, - ) - - -@register_line_builder(all_lines) -def threebody_mu_loose_line(name="Hlt2TopoLooseMu3Body", prescale=1): - """HLT2 line for selecting 3-body topo. candidates with muon(s) with a loosened MVA cut.""" - candidates = make_filtered_topo_mu_threebody(min_mva=0.99932) - return Hlt2Line( - name=name, - algs=upfront_reconstruction() + line_prefilters() + [candidates], - prescale=prescale, - persistreco=True, - ) + ) \ No newline at end of file -- GitLab From 765968b173f529e5b7b3d1c530d67e774aa3534d Mon Sep 17 00:00:00 2001 From: Jamie Gooding Date: Tue, 2 Dec 2025 14:02:08 +0100 Subject: [PATCH 3/4] Fix precommit issue --- Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_lines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_lines.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_lines.py index bab08668306..a04cb1edbba 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_lines.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_lines.py @@ -77,4 +77,4 @@ def threebody_mu_line(name="Hlt2TopoMu3Body", prescale=1): algs=upfront_reconstruction() + line_prefilters() + [candidates], prescale=prescale, persistreco=True, - ) \ No newline at end of file + ) -- GitLab From 9556e81a39c481f62ee182ddf5f0fe6dae8ab38c Mon Sep 17 00:00:00 2001 From: Jamie Gooding Date: Wed, 10 Dec 2025 17:04:31 +0100 Subject: [PATCH 4/4] Update 2026 topo. thresholds --- .../python/Hlt2Conf/lines/topological_b/topo_builders.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py index 231deb40a67..a5760b0f27e 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/topological_b/topo_builders.py @@ -426,7 +426,7 @@ def make_unfiltered_topo_threebody( @configurable -def make_filtered_topo_twobody(mva=two_body_mva, min_mva=0.99214, require_muon=False): +def make_filtered_topo_twobody(mva=two_body_mva, min_mva=0.99202, require_muon=False): """Builder for MVA-filtered 2-body topo. candidate. Returns a 2-body candidate (per `make_unfiltered_topo_twobody`) subject to @@ -439,7 +439,7 @@ def make_filtered_topo_twobody(mva=two_body_mva, min_mva=0.99214, require_muon=F @configurable def make_filtered_topo_threebody( - mva=three_body_mva, min_mva=0.99537, require_muon=False + mva=three_body_mva, min_mva=0.99629, require_muon=False ): """Builder for MVA-filtered 3-body topo. candidate. @@ -452,7 +452,7 @@ def make_filtered_topo_threebody( @configurable -def make_filtered_topo_mu_twobody(mva=two_body_mva, min_mva=0.99): +def make_filtered_topo_mu_twobody(mva=two_body_mva, min_mva=0.98840): """Builder for MVA-filtered 2-body topo. candidate with muon(s). Returns a 2-body candidate (per `make_unfiltered_topo_twobody`, with at @@ -463,7 +463,7 @@ def make_filtered_topo_mu_twobody(mva=two_body_mva, min_mva=0.99): @configurable -def make_filtered_topo_mu_threebody(mva=three_body_mva, min_mva=0.995): +def make_filtered_topo_mu_threebody(mva=three_body_mva, min_mva=0.99852): """Builder for MVA-filtered 3-body topo. candidate with muon(s). Returns a 3-body candidate (per `make_unfiltered_topo_threebody`, with at -- GitLab