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 157
    • Merge requests 157
  • 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
  • !49663

IExtrapolator rm legacy / fallback Event Context unaware methods

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christos Anastopoulos requested to merge ATLAS-EGamma/athena:IExtrapolator_rm_NoCtx_fallback into master Jan 14, 2022
  • Overview 11
  • Commits 3
  • Pipelines 3
  • Changes 93

IExtrapolator rm legacy / fallback Event Context unaware methods that were doing implicit/hidden retrievals/lookups.

i.e remove these kind of methods:

inline const Trk::TrackParameters*
Trk::IExtrapolator::extrapolate(const xAOD::TrackParticle& particleBase,
                                ....) const
{
    return extrapolate( Gaudi::Hive::currentContext(),
                        particleBase...);
}

using the above meant as example that in a loop 1... N we do the lookup N times..

Make the retrievals explicit (visible so we can futher optimise here if we ever need/want) on the client code. Also tried to fix the obvious "too many" lookups. We can further reduce them but we need then to also change method interfaces on the client side.

follow up to

  • !49370 (merged)
  • !49371 (merged)
  • !49424 (merged)

ping @sroe and @tadej I expect quite a few clients to use the methods the implicitly retrieve the ctx . Let the CI notify us

Edited Jan 14, 2022 by Christos Anastopoulos
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: IExtrapolator_rm_NoCtx_fallback