Add thread safety static checker for TrkTrack
This adds the static thread safety checker.
The TrkTrack
, TrkInfo
were handled in different MRs
This tackles TrackStateOnSurface
Here , there are still two remaining methods on so called persistification hints
that are used only by the TrackSlimmingTool.
There are marked explicitly as non thread safe (and now have to use a const_cast)
Mentioning @mhodgkin @goetz and @amorley
The alternative would have been to move these methods
and the const_cast
to the TrackSlimmingTool but @goetz preferred to keep them in place.
Edited by Christos Anastopoulos