Separate basic track selections in track scoring tool
The investigations in ATLASRECTS-8078 have shown that some of the ERROR observed were actually triggered by a recomputation of the TrackSummary information, involving the extrapolator, for tracks with a very bad fit, bringing their perigee well outside of the detector volume. Such tracks would anyway be discarded later due to the z0 selections applied on them in the ambiguity track scoring tool.
The issue is that the TrackSummary is actually updated before basic track selections are applied and those selections can in principle be applied before. This is the goal of this MR which introduces a new passBasicSelections
function, to apply selections which do not depend on the TrackSummary, in particular z0-based. This is to be called before updating the TrackSummary and is checked to fix the issue observed in ATLASRECTS-8078 (independently from the fix in !73690 (merged)).