Skip to content

TrkVolumes/TrkGeometry Remove thread unsafe const overloads/change methods to non-const. Allows for the TrackingVolume ctors to become MT safe. Move the const_cast in the client code that actually needed

TrkVolumes/TrkGeometry

  • Remove thread unsafe const overloads hiding const_cast
  • change methods to non-const.
  • Allows for the TrackingVolume ctors to become MT safe and can remove some NOT_SAFE annotations.

Move the const_cast in the client code that actually needs it (still marked NOT_SAFE) for further cleanup.

ping @sroe

Edited by Christos Anastopoulos

Merge request reports