Unify fit node and fit result code in order to template TrackFitMatchMonitor
Introduces:
- free standing functions for
TrackFitResult
andPrKalmanFitResult
that return range of eitherLHCb::FitNode
orPrFitNode
- free standing functions for both types of fit nodes to retrieve predicted and filtered states in both directions
- more methods for
LHCb::FitNode
andPrFitNode
to 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