Skip to content

Fix ownership of surface for surface-bound track parameters

Christian Gumpert requested to merge 43-surface_ownership into master

Free surfaces are copied into the SingleBoundTrackParameters object and the ownership of the copy is taken by the track parameter object (closes ATS-43).

If there is a framework-supported way of controlling the lifetime of user-created surface objects in the future, this solutions should be revisited (do not take the ownership but make the user responsible for keeping the surface object around).

Merge request reports