Skip to content

Try to introduce for ITimedMatEffUpdator, the same interface as IMaterialEffectsUpdator. Return unique_ptr to non-const Parameters

Try to introduce for ITimedMatEffUpdator, the same interface as IMaterialEffectsUpdator. Return unique_ptr to non-const Parameters. see https://acode-browser1.usatlas.bnl.gov/lxr/source/athena/Tracking/TrkExtrapolation/TrkExInterfaces/TrkExInterfaces/IMaterialEffectsUpdator.h

This seemed the cleanest way to handle onwership at least in the way we did it for the other tracking tools.

ping @sroe, @jchapman , @tcuhadar

Ps: On top of "ownership" and revisiting the leaks after this step. One question is if we want to have a cache also here... as the McMaterialEffects is not MT-safe as at least it reads while [Tracking/TrkExtrapolation/TrkExTools/TrkExTools/MaterialEffectsUpdator.h] is

Edited by Christos Anastopoulos

Merge request reports