Skip to content
Snippets Groups Projects
Commit a465b867 authored by Hass AbouZeid's avatar Hass AbouZeid
Browse files

Merge branch 'ATLASRECTS-4005_SAfix' into '21.0'

Fix for extremely rare bug in muon extrapolation

See merge request !1902
parents 556186df d703e3a2
No related merge requests found
......@@ -1599,9 +1599,9 @@ CombinedMuonTrackBuilder::standaloneFit (const Trk::Track& inputSpectrometerTrac
break;
}
}
if ((**s).trackParameters()
if (s != prefit->trackStateOnSurfaces()->end()
&& s != prefit->trackStateOnSurfaces()->begin()
&& s != prefit->trackStateOnSurfaces()->end())
&& (**s).trackParameters())
{
parameters = (**s).trackParameters()->clone();
caloParameters = parameters;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment