From b7ca5bfc879c1ee6751c692da6488ed850225f1a Mon Sep 17 00:00:00 2001 From: Miroslav Saur Date: Fri, 6 Jun 2025 03:27:59 +0800 Subject: [PATCH 1/6] HLT1 sequence with missing M41 --- ...d_downstream_with_parkf_1200kHz_M23_M41.py | 30 ++++++++++++++++++ ...tream_with_parkf_1200kHz_M23_M41_veloSP.py | 31 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41.py create mode 100644 configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py diff --git a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41.py b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41.py new file mode 100644 index 00000000000..2641935a8cb --- /dev/null +++ b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41.py @@ -0,0 +1,30 @@ +############################################################################### +# (c) Copyright 2025 CERN for the benefit of the LHCb Collaboration # +# # +# This software is distributed under the terms of the Apache License # +# version 2 (Apache-2.0), copied verbatim in the file "LICENSE". # +# # +# In applying this licence, CERN does not waive the privileges and immunities # +# granted to it by virtue of its status as an Intergovernmental Organization # +# or submit itself to any jurisdiction. # +############################################################################### +from AllenConf.HLT1 import setup_hlt1_node +from AllenCore.generator import generate +from AllenConf.enum_types import TrackingType +from AllenConf.get_thresholds import get_thresholds +from AllenConf.matching_reconstruction import make_velo_scifi_matches +from AllenConf.velo_reconstruction import make_pr_velo_tracks + +with make_velo_scifi_matches.bind( + ghost_killer_threshold=0.8), make_pr_velo_tracks.bind( + missing_modules=[21, 23, 41]): + hlt1_node = setup_hlt1_node( + tracking_type=TrackingType.FORWARD_THEN_MATCHING, + threshold_settings=get_thresholds( + "forward_then_matching_and_downstream_with_parkf_tuned_mu5p3_1200kHz" + ), + with_fullKF=True, + with_ut=True, + enableDownstream=True) + +generate(hlt1_node) diff --git a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py new file mode 100644 index 00000000000..f761522223f --- /dev/null +++ b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py @@ -0,0 +1,31 @@ +############################################################################### +# (c) Copyright 2025 CERN for the benefit of the LHCb Collaboration # +# # +# This software is distributed under the terms of the Apache License # +# version 2 (Apache-2.0), copied verbatim in the file "LICENSE". # +# # +# In applying this licence, CERN does not waive the privileges and immunities # +# granted to it by virtue of its status as an Intergovernmental Organization # +# or submit itself to any jurisdiction. # +############################################################################### +from AllenConf.HLT1 import setup_hlt1_node +from AllenCore.generator import generate +from AllenConf.enum_types import TrackingType +from AllenConf.get_thresholds import get_thresholds +from AllenConf.matching_reconstruction import make_velo_scifi_matches +from AllenConf.velo_reconstruction import make_pr_velo_tracks + +with make_velo_scifi_matches.bind( + ghost_killer_threshold=0.8), make_pr_velo_tracks.bind( + missing_modules=[21, 23, 41], + decode_velo.bind(retina_decoding=False)): + hlt1_node = setup_hlt1_node( + tracking_type=TrackingType.FORWARD_THEN_MATCHING, + threshold_settings=get_thresholds( + "forward_then_matching_and_downstream_with_parkf_tuned_mu5p3_1200kHz" + ), + with_fullKF=True, + with_ut=True, + enableDownstream=True) + +generate(hlt1_node) -- GitLab From 08156a4854330044b5570811817ecf9da3021da1 Mon Sep 17 00:00:00 2001 From: Miroslav Saur Date: Fri, 6 Jun 2025 03:33:14 +0800 Subject: [PATCH 2/6] Adding sequences with additionally missing M35 --- ...wnstream_with_parkf_1200kHz_M23_M35_M41.py | 30 ++++++++++++++++++ ...m_with_parkf_1200kHz_M23_M35_M41_veloSP.py | 31 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41.py create mode 100644 configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py diff --git a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41.py b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41.py new file mode 100644 index 00000000000..74320339c24 --- /dev/null +++ b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41.py @@ -0,0 +1,30 @@ +############################################################################### +# (c) Copyright 2025 CERN for the benefit of the LHCb Collaboration # +# # +# This software is distributed under the terms of the Apache License # +# version 2 (Apache-2.0), copied verbatim in the file "LICENSE". # +# # +# In applying this licence, CERN does not waive the privileges and immunities # +# granted to it by virtue of its status as an Intergovernmental Organization # +# or submit itself to any jurisdiction. # +############################################################################### +from AllenConf.HLT1 import setup_hlt1_node +from AllenCore.generator import generate +from AllenConf.enum_types import TrackingType +from AllenConf.get_thresholds import get_thresholds +from AllenConf.matching_reconstruction import make_velo_scifi_matches +from AllenConf.velo_reconstruction import make_pr_velo_tracks + +with make_velo_scifi_matches.bind( + ghost_killer_threshold=0.8), make_pr_velo_tracks.bind( + missing_modules=[21, 23, 35, 41]): + hlt1_node = setup_hlt1_node( + tracking_type=TrackingType.FORWARD_THEN_MATCHING, + threshold_settings=get_thresholds( + "forward_then_matching_and_downstream_with_parkf_tuned_mu5p3_1200kHz" + ), + with_fullKF=True, + with_ut=True, + enableDownstream=True) + +generate(hlt1_node) diff --git a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py new file mode 100644 index 00000000000..323fa4038a3 --- /dev/null +++ b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py @@ -0,0 +1,31 @@ +############################################################################### +# (c) Copyright 2025 CERN for the benefit of the LHCb Collaboration # +# # +# This software is distributed under the terms of the Apache License # +# version 2 (Apache-2.0), copied verbatim in the file "LICENSE". # +# # +# In applying this licence, CERN does not waive the privileges and immunities # +# granted to it by virtue of its status as an Intergovernmental Organization # +# or submit itself to any jurisdiction. # +############################################################################### +from AllenConf.HLT1 import setup_hlt1_node +from AllenCore.generator import generate +from AllenConf.enum_types import TrackingType +from AllenConf.get_thresholds import get_thresholds +from AllenConf.matching_reconstruction import make_velo_scifi_matches +from AllenConf.velo_reconstruction import make_pr_velo_tracks + +with make_velo_scifi_matches.bind( + ghost_killer_threshold=0.8), make_pr_velo_tracks.bind( + missing_modules=[21, 23, 35, 41], + decode_velo.bind(retina_decoding=False)): + hlt1_node = setup_hlt1_node( + tracking_type=TrackingType.FORWARD_THEN_MATCHING, + threshold_settings=get_thresholds( + "forward_then_matching_and_downstream_with_parkf_tuned_mu5p3_1200kHz" + ), + with_fullKF=True, + with_ut=True, + enableDownstream=True) + +generate(hlt1_node) -- GitLab From 11089f748136e9c5d38cd6bf3336bbcfc4a283f5 Mon Sep 17 00:00:00 2001 From: Miroslav Saur Date: Fri, 6 Jun 2025 04:01:21 +0800 Subject: [PATCH 3/6] Adding sequences with additionally missing M35 --- ...ng_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py index 323fa4038a3..658f1453be1 100644 --- a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py +++ b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py @@ -17,8 +17,8 @@ from AllenConf.velo_reconstruction import make_pr_velo_tracks with make_velo_scifi_matches.bind( ghost_killer_threshold=0.8), make_pr_velo_tracks.bind( - missing_modules=[21, 23, 35, 41], - decode_velo.bind(retina_decoding=False)): + missing_modules=[21, 23, 35, 41]), + decode_velo.bind(retina_decoding=False): hlt1_node = setup_hlt1_node( tracking_type=TrackingType.FORWARD_THEN_MATCHING, threshold_settings=get_thresholds( -- GitLab From cc3e801a39b58b1c5dbd2df86a4487ce771319b3 Mon Sep 17 00:00:00 2001 From: Miroslav Saur Date: Fri, 6 Jun 2025 04:13:50 +0800 Subject: [PATCH 4/6] Fixing VeloSP sequences --- ...g_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py | 1 + ...ching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py index 658f1453be1..50e1446f9ff 100644 --- a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py +++ b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py @@ -14,6 +14,7 @@ from AllenConf.enum_types import TrackingType from AllenConf.get_thresholds import get_thresholds from AllenConf.matching_reconstruction import make_velo_scifi_matches from AllenConf.velo_reconstruction import make_pr_velo_tracks +from AllenConf.velo_reconstruction import decode_velo with make_velo_scifi_matches.bind( ghost_killer_threshold=0.8), make_pr_velo_tracks.bind( diff --git a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py index f761522223f..8d2f519b100 100644 --- a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py +++ b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py @@ -14,11 +14,12 @@ from AllenConf.enum_types import TrackingType from AllenConf.get_thresholds import get_thresholds from AllenConf.matching_reconstruction import make_velo_scifi_matches from AllenConf.velo_reconstruction import make_pr_velo_tracks +from AllenConf.velo_reconstruction import decode_velo with make_velo_scifi_matches.bind( ghost_killer_threshold=0.8), make_pr_velo_tracks.bind( - missing_modules=[21, 23, 41], - decode_velo.bind(retina_decoding=False)): + missing_modules=[21, 23, 41]), + decode_velo.bind(retina_decoding=False): hlt1_node = setup_hlt1_node( tracking_type=TrackingType.FORWARD_THEN_MATCHING, threshold_settings=get_thresholds( -- GitLab From 62369bfa4ece6f6c921aed854f05674fd973b771 Mon Sep 17 00:00:00 2001 From: Miroslav Saur Date: Fri, 6 Jun 2025 04:25:26 +0800 Subject: [PATCH 5/6] Fixing VeloSP sequences --- ...downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py | 10 +++++----- ...and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py index 50e1446f9ff..dc74864ed5e 100644 --- a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py +++ b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py @@ -18,15 +18,15 @@ from AllenConf.velo_reconstruction import decode_velo with make_velo_scifi_matches.bind( ghost_killer_threshold=0.8), make_pr_velo_tracks.bind( - missing_modules=[21, 23, 35, 41]), - decode_velo.bind(retina_decoding=False): + missing_modules=[21, 23, 35, 41]), decode_velo.bind(retina_decoding=False): hlt1_node = setup_hlt1_node( tracking_type=TrackingType.FORWARD_THEN_MATCHING, threshold_settings=get_thresholds( - "forward_then_matching_and_downstream_with_parkf_tuned_mu5p3_1200kHz" + f"forward_then_matching_and_downstream_with_parkf_tuned_mu5p3_1200kHz" ), - with_fullKF=True, with_ut=True, - enableDownstream=True) + enableDownstream=True, + with_fullKF=True, + ) generate(hlt1_node) diff --git a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py index 8d2f519b100..6bc5b5a6341 100644 --- a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py +++ b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py @@ -18,15 +18,15 @@ from AllenConf.velo_reconstruction import decode_velo with make_velo_scifi_matches.bind( ghost_killer_threshold=0.8), make_pr_velo_tracks.bind( - missing_modules=[21, 23, 41]), - decode_velo.bind(retina_decoding=False): + missing_modules=[21, 23, 41]), decode_velo.bind(retina_decoding=False): hlt1_node = setup_hlt1_node( tracking_type=TrackingType.FORWARD_THEN_MATCHING, threshold_settings=get_thresholds( - "forward_then_matching_and_downstream_with_parkf_tuned_mu5p3_1200kHz" + f"forward_then_matching_and_downstream_with_parkf_tuned_mu5p3_1200kHz" ), - with_fullKF=True, with_ut=True, - enableDownstream=True) + enableDownstream=True, + with_fullKF=True, + ) generate(hlt1_node) -- GitLab From b24164d9a08c33f13c9ea9ccae50199459c323df Mon Sep 17 00:00:00 2001 From: Gitlab CI Date: Thu, 5 Jun 2025 20:26:04 +0000 Subject: [PATCH 6/6] Fixed formatting patch generated by https://gitlab.cern.ch/lhcb/Allen/-/jobs/57092437 --- ...ing_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py | 3 ++- ...atching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py index dc74864ed5e..22288179625 100644 --- a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py +++ b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M35_M41_veloSP.py @@ -18,7 +18,8 @@ from AllenConf.velo_reconstruction import decode_velo with make_velo_scifi_matches.bind( ghost_killer_threshold=0.8), make_pr_velo_tracks.bind( - missing_modules=[21, 23, 35, 41]), decode_velo.bind(retina_decoding=False): + missing_modules=[21, 23, 35, 41]), decode_velo.bind( + retina_decoding=False): hlt1_node = setup_hlt1_node( tracking_type=TrackingType.FORWARD_THEN_MATCHING, threshold_settings=get_thresholds( diff --git a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py index 6bc5b5a6341..a23d394587e 100644 --- a/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py +++ b/configuration/python/AllenSequences/hlt1_pp_forward_then_matching_and_downstream_with_parkf_1200kHz_M23_M41_veloSP.py @@ -18,7 +18,8 @@ from AllenConf.velo_reconstruction import decode_velo with make_velo_scifi_matches.bind( ghost_killer_threshold=0.8), make_pr_velo_tracks.bind( - missing_modules=[21, 23, 41]), decode_velo.bind(retina_decoding=False): + missing_modules=[21, 23, 41]), decode_velo.bind( + retina_decoding=False): hlt1_node = setup_hlt1_node( tracking_type=TrackingType.FORWARD_THEN_MATCHING, threshold_settings=get_thresholds( -- GitLab