From abb96e86f643201a674f855e89fe30e3ea11f535 Mon Sep 17 00:00:00 2001 From: pbutti Date: Fri, 22 Nov 2024 14:48:23 +0100 Subject: [PATCH] Add check on expected measurements on surface before marking as hole (expect measurement still not wired to exp) --- Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp b/Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp index 35acbc49feb..315dd2379b0 100644 --- a/Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp +++ b/Core/include/Acts/TrackFinding/CombinatorialKalmanFilter.hpp @@ -739,7 +739,7 @@ class CombinatorialKalmanFilter { slRange = m_sourceLinkAccessor(*surface); hasMeasurements = slRange->first != slRange->second; } - bool isHole = isSensitive && !hasMeasurements; + bool isHole = isSensitive && expectMeasurements && !hasMeasurements; if (isHole) { ACTS_VERBOSE("Detected hole before measurement selection on surface "