Skip to content
Snippets Groups Projects
Commit e272503c authored by Bertrand Martin Dit Latour's avatar Bertrand Martin Dit Latour Committed by Adam Edward Barton
Browse files

tauRecTools: adapt TauVertexVariables to rerun on xAOD

Hello,

This MR is preparing the ground for an upcoming MR that will allow the full tau reconstruction to be rerun at xAOD level (ATLTAU-1733).
In tauRecTools, the only tool that needs to be modified is TauVertexVariables.
As the navigation from xAOD::TrackParticle to Trk::Track is not possible in xAODs, we need to use a std::vector<const Trk::TrackParameters*> as input to the VertexSeedFinder, instead of a std::vector<const Trk::Track*>.
https://gitlab.cern.ch/atlas/athena/-/blob/master/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/src/CrossDistancesSeedFinder.cxx#L89
https://gitlab.cern.ch/atlas/athena/-/blob/master/Tracking/TrkVertexFitter/TrkVertexSeedFinderTools/src/CrossDistancesSeedFinder.cxx#L112

I have verified that the 2 methods give the consistent results (up to rounding effects) using standalone tau reconstruction from ESDs, where Trk::Track is still available.

All the remaining changes will happen in tauRec, not tauRecTools, and will be implemented in a follow-up MR.

Cheers,
Bertrand
parent 841c4ce8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment