Update TrackInterpolator to be compatible with the PrKalmanFilter
The TrackInterpolator
makes extensive use of the FitResult on a track. However, depending on the used track fit, the type of this object has changed significantly. The dynamic_cast
in fitResult( LHCb::Track* )
gives back nothing, such that it quietly fails to use any of the fitted information. Ideally, the interpolator can make use of the nodes on the track, using the different Node format of the PrKalmanFilter.
This comes down to an updated version of the TrackFunctors.h
that can deal with both fit results.