Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • athena athena
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 195
    • Merge requests 195
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • atlas
  • athenaathena
  • Merge requests
  • !26030

Merged
Created Aug 20, 2019 by Christos Anastopoulos@christosDeveloper

ATLASRECTS-5086 . Avoid overwriting the existing TrkSummary (especially without deleting it first)

  • Overview 7
  • Commits 3
  • Pipelines 3
  • Changes 2

This should help with ATLASRECTS-5086 .

The old (21.0 etc) and prb desired behaviour :

  • https://gitlab.cern.ch/atlas/athena/blob/21.0/Tracking/TrkTools/TrkTrackSummaryTool/src/TrackSummaryTool.cxx#L191
  • https://gitlab.cern.ch/atlas/athena/blob/21.2/Tracking/TrkTools/TrkTrackSummaryTool/src/TrackSummaryTool.cxx#L195

If a summary already exists then return a clone of the existing Trk::TrackSummay from a Trk::Track. In short create does not create a new always but can use the existing. If one wants a brand new should use the update. if one does not exist create tries to install one

Now, the previous code in master had a bug as it was always installing a new one to the Trk::Track (even if it was a clone of the existing) but was forgetting to release/delete the old.

Now, this is avoided as is something is there we do not try to install something in place, we just return a clone (ala the 21.0 behaviour)

Edited Aug 21, 2019 by Christos Anastopoulos
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: ATLASRECTS_5086