Unify fit node and fit result code in order to template TrackFitMatchMonitor
Introduces:
- free standing functions for
TrackFitResultandPrKalmanFitResultthat return range of eitherLHCb::FitNodeorPrFitNode - free standing functions for both types of fit nodes to retrieve predicted and filtered states in both directions
- more methods for
LHCb::FitNodeandPrFitNodeto have common interface
This is all done in order to be able to template any monitoring or alignment algorithm on the fit result and fit node type and thus reduce code duplication and ease maintenance.
TrackFitMatchMonitor is adapted to demonstrate.
Depends on !2603 (merged).
Edited by Jakub Kubat