Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • 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 127
    • Merge requests 127
  • 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
  • !46933

TrkTrackSlimmingTool: Workaround for protected TrackStateOnSurface

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Scott Snyder requested to merge ssnyder/athena:tsosProt.TrkTrackSlimmingTool-20211004 into master Oct 05, 2021
  • Overview 15
  • Commits 2
  • Pipelines 2
  • Changes 1

To track down ATLASRECTS-6331, we want to write-protect TrackStateOnSurface objects held by a DataVector.

Unfortunately, TrackSlimmingTool in some cases casts away const from TSOS objects read from SG and modifies them. This will fail hard if the objects are write-protected.

Ultimately, we should just get rid of this workflow. But for now, work around by unprotecting memory before we change it, if needed, and then protect it again afterwards. We check before and after that the pointer in TSOS hasn't gotten trashed.

Temporary to try to track down ATLASRECTS-6331

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: tsosProt.TrkTrackSlimmingTool-20211004