We persist PVs (RecVertex) and their tracks (v1 tracks), but refitting them is currently only possible with the PrKalman or TrackMasterFitter. This breaks the reproducibility of what happens in HLT2, which uses tracks fitted with the VeloKalman. The functions in the VeloKalmanHelpers are unfortunately specific to the SoA containrs.
Ideally we fix this and make it also available for a TrackStateInit-like tool to re-initialise VELO tracks.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
The way to do this, is to keep as much common code as possible. Looking at VeloKalmanHelpers.h, the core of the computation (the filterWithMomentum function) is actually templated and should be reusable. So what need to be done is to write a new fitBackwardWithMomentum that takes track v1, and a corresponding VeloKalman algorithm (maybe the current one can be templated, since its just calling the fit function and copying all other parameters.