From 870727d6a514a5818caed6ac1637604b492ec05b Mon Sep 17 00:00:00 2001 From: Arthur Hennequin Date: Wed, 26 Nov 2025 17:25:28 +0100 Subject: [PATCH 1/3] Use an explicit mask of missing modules instead of a seeding window --- .../python/RecoConf/legacy_rec_hlt1_tracking.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py b/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py index e49d502e31b..8620a85b824 100644 --- a/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py +++ b/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py @@ -78,6 +78,14 @@ def get_default_VeloClusterTracking_algorithm(use_full=False): return VeloClusterTrackingSIMD if not use_full else VeloClusterTrackingSIMDFull +def missing_modules_bitmask(missing_modules): + bitmask = 0 + for m in missing_modules: + if m >= 0 and m < 52: + bitmask |= 1 << (51 - m) + return bitmask + + @configurable def make_VeloClusterTrackingSIMD( algorithm=None, @@ -87,7 +95,7 @@ def make_VeloClusterTrackingSIMD( MaxScatterForwarding=0.1, MaxScatter3hits=0.02, SkipForward=1, - SeedingWindow=4, + missing_modules=[], use_full=False, ): """Simple helper to make sure both, make_VeloClusterTrackingSIMD_tracks and make_VeloClusterTrackingSIMD_hits, @@ -121,7 +129,7 @@ def make_VeloClusterTrackingSIMD( MaxScatterForwarding=MaxScatterForwarding, MaxScatter3hits=MaxScatter3hits, SkipForward=SkipForward, - SeedingWindow=SeedingWindow, + MissingModules=missing_modules_bitmask(missing_modules), ) -- GitLab From c6e9bad43289cba5b5dcf2706afa1e44bc9be01b Mon Sep 17 00:00:00 2001 From: Arthur Hennequin Date: Mon, 1 Dec 2025 10:26:30 +0100 Subject: [PATCH 2/3] Add back seeding window parameter --- Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py b/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py index 8620a85b824..3ae04b9249f 100644 --- a/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py +++ b/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py @@ -95,6 +95,7 @@ def make_VeloClusterTrackingSIMD( MaxScatterForwarding=0.1, MaxScatter3hits=0.02, SkipForward=1, + SeedingWindow=3, missing_modules=[], use_full=False, ): @@ -129,6 +130,7 @@ def make_VeloClusterTrackingSIMD( MaxScatterForwarding=MaxScatterForwarding, MaxScatter3hits=MaxScatter3hits, SkipForward=SkipForward, + SeedingWindow=SeedingWindow, MissingModules=missing_modules_bitmask(missing_modules), ) -- GitLab From b06b69f53e322b1c9816de9ba5261fb3d5b2cfaf Mon Sep 17 00:00:00 2001 From: Arthur Hennequin Date: Mon, 1 Dec 2025 22:03:04 +0100 Subject: [PATCH 3/3] Reset SeedingWindow default to 4 --- Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py b/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py index 3ae04b9249f..1d9f4cc7de3 100644 --- a/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py +++ b/Hlt/RecoConf/python/RecoConf/legacy_rec_hlt1_tracking.py @@ -95,7 +95,7 @@ def make_VeloClusterTrackingSIMD( MaxScatterForwarding=0.1, MaxScatter3hits=0.02, SkipForward=1, - SeedingWindow=3, + SeedingWindow=4, missing_modules=[], use_full=False, ): -- GitLab