Skip to content

Commit

Permalink
Add check on expected measurements on surface before marking as hole …
Browse files Browse the repository at this point in the history
…(expect measurement still not wired to exp)
  • Loading branch information
pbutti committed Nov 22, 2024
1 parent c3c4bf5 commit abb96e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit abb96e8

Please sign in to comment.