Skip to content
GitLab
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 161
    • Merge requests 161
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • atlasatlas
  • athenaathena
  • Merge requests
  • !60307

MET Association: Improve ElementLink handling

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged William Keaton Balunas requested to merge wbalunas/athena:met-230130 into master Feb 02, 2023
  • Overview 13
  • Commits 3
  • Pipelines 2
  • Changes 3

This cleans up the handling of ElementLinks in the MET association code, particularly for leptons which use these links to access associated tracks, clusters, or PFOs. In some cases this is just code style improvements for readability, but it also adds a check for invalid links in cases where none previously existed. This should fix crashes with cryptic error messages in edge cases, e.g. where taus contain tracks which have been thinned from the input file. In cases where an error should be thrown, they will now come with a more informative message.

Tagging @salderwe, who prompted this by locating such an edge case.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: met-230130