Skip to content

feat: Add edm4hep tracker hit links to PODIO track container#5354

Merged
kodiakhq[bot] merged 34 commits intoacts-project:mainfrom
paulgessinger:feat/edm4hep-track-link
May 5, 2026
Merged

feat: Add edm4hep tracker hit links to PODIO track container#5354
kodiakhq[bot] merged 34 commits intoacts-project:mainfrom
paulgessinger:feat/edm4hep-track-link

Conversation

@paulgessinger
Copy link
Copy Markdown
Member

@paulgessinger paulgessinger commented Apr 16, 2026

This pull request introduces new utilities and converters for handling EDM4hep and PODIO track and measurement data, with a focus on improved DD4hep integration and enhanced simulation hit linking. It also removes legacy PODIO measurement converters that are now superseded by the new implementations. The most important changes are grouped below:

New Features and Utilities:

  • Added PodioTrackOutputConverter, a new algorithm to write ACTS track containers to PODIO/EDM4hep format, preserving all track states and dynamic columns. This converter requires TrackerHitLocal collections as input and outputs collections for tracks, track states, and their hit links. (Examples/Io/EDM4hep/include/ActsExamples/Io/EDM4hep/PodioTrackOutputConverter.hpp, Examples/Io/EDM4hep/src/PodioTrackOutputConverter.cpp, [1] [2] [3]
  • Introduced DD4hepPodioConversionHelper, a utility class for mapping between ACTS surfaces/source links and DD4hep CellID identifiers, facilitating conversions between ACTS and DD4hep-based geometries. (Examples/Io/EDM4hep/include/ActsExamples/Io/EDM4hep/DD4hepPodioConversionHelper.hpp, Examples/Io/EDM4hep/src/DD4hepPodioConversionHelper.cpp, [1] [2] [3]

Enhancements to Measurement Output Conversion:

  • Extended EDM4hepMeasurementOutputConverter to optionally support simulation hit linking. This includes new config options and data handles for sim hit associations and mappings, as well as logic to write TrackerHitLocalSimTrackerHitLink collections and ensure configuration consistency. (Examples/Io/EDM4hep/include/ActsExamples/Io/EDM4hep/EDM4hepMeasurementOutputConverter.hpp, Examples/Io/EDM4hep/src/EDM4hepMeasurementOutputConverter.cpp, [1] [2] [3] [4] [5] [6]

Codebase Cleanup and Removal of Deprecated Components:

  • Removed legacy PODIO measurement converters (PodioMeasurementOutputConverter and PodioMeasurementInputConverter) and their associated source/header files, as their functionality is now covered by the new EDM4hep converters. (Examples/Io/Podio/CMakeLists.txt, Examples/Io/Podio/include/ActsExamples/Io/Podio/PodioMeasurementInputConverter.hpp, [1] [2]

Minor Improvements:

These changes modernize the EDM4hep/PODIO output pipeline, provide robust DD4hep integration, and ensure that simulation and reconstruction data are more accurately linked and exported.

@github-actions github-actions Bot added Component - Examples Affects the Examples module Component - Plugins Affects one or more Plugins labels Apr 16, 2026
@github-actions github-actions Bot added this to the next milestone Apr 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 17, 2026

📊: Physics performance monitoring for 47d1fa6

Full contents

physmon summary

@paulgessinger paulgessinger force-pushed the feat/edm4hep-track-link branch from 287630c to 23a77f1 Compare April 24, 2026 07:40
@paulgessinger paulgessinger marked this pull request as ready for review April 24, 2026 07:40
@paulgessinger paulgessinger force-pushed the feat/edm4hep-track-link branch from 23a77f1 to 3a7c911 Compare April 24, 2026 07:41
Copy link
Copy Markdown
Member

@benjaminhuth benjaminhuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, just would like to clarify the linear search...

Copy link
Copy Markdown
Member

@benjaminhuth benjaminhuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 5, 2026

@kodiakhq kodiakhq Bot merged commit 4cf5fc4 into acts-project:main May 5, 2026
42 checks passed
@github-actions github-actions Bot removed the automerge label May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Examples Affects the Examples module Component - Plugins Affects one or more Plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants