Skip to content

Commit

Permalink
fix: Add check on expected measurements on surface before marking as …
Browse files Browse the repository at this point in the history
…hole (#3892)

Check expected measurement during track finding before marking state as hole

@andiwand
  • Loading branch information
pbutti authored Nov 22, 2024
1 parent edad4c9 commit 306ae23
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 306ae23

Please sign in to comment.