Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Dyn col copying btw. different backend (Track+TrackState) #2712

Conversation

paulgessinger
Copy link
Member

This PR adds:

  • Support for MultiTrajectory to copy Dynamic Columns at all (not implemented before)
  • TrackContainer to copy dynamic columns between backends, by refactoring the way the columns are looked up.
    • This requires changing the backend contract to add a method dynamicKeys_impl to get hashes of all the dynamic column keys + changing the copyDynamicColumns_impl method.

@paulgessinger paulgessinger added this to the next milestone Nov 22, 2023
@github-actions github-actions bot added Component - Core Affects the Core module Event Data Model labels Nov 22, 2023
Copy link

codecov bot commented Nov 22, 2023

Codecov Report

Attention: 44 lines in your changes are missing coverage. Please review.

Comparison is base (636eff4) 48.62% compared to head (5ce1555) 48.62%.

Files Patch % Lines
...ts/EventData/detail/MultiTrajectoryTestsCommon.hpp 24.24% 0 Missing and 25 partials ⚠️
Core/src/EventData/VectorTrackContainer.cpp 16.66% 2 Missing and 3 partials ⚠️
Core/include/Acts/EventData/TrackContainer.hpp 25.00% 0 Missing and 3 partials ⚠️
Core/src/EventData/VectorMultiTrajectory.cpp 57.14% 0 Missing and 3 partials ⚠️
Core/include/Acts/EventData/MultiTrajectory.hpp 71.42% 0 Missing and 2 partials ⚠️
...e/include/Acts/EventData/VectorMultiTrajectory.hpp 50.00% 0 Missing and 2 partials ⚠️
...re/include/Acts/EventData/VectorTrackContainer.hpp 66.66% 0 Missing and 2 partials ⚠️
...re/include/Acts/EventData/detail/DynamicColumn.hpp 80.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2712      +/-   ##
==========================================
- Coverage   48.62%   48.62%   -0.01%     
==========================================
  Files         479      480       +1     
  Lines       27942    28019      +77     
  Branches    13213    13254      +41     
==========================================
+ Hits        13588    13625      +37     
- Misses       4793     4802       +9     
- Partials     9561     9592      +31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot added the Component - Plugins Affects one or more Plugins label Nov 22, 2023
@paulgessinger
Copy link
Member Author

Depending on if the backend contract is part of the public API, this might also be breaking.

@paulgessinger paulgessinger marked this pull request as ready for review November 29, 2023 17:59
andiwand
andiwand previously approved these changes Dec 11, 2023
Copy link
Contributor

@andiwand andiwand 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 from my side 👍

tboldagh
tboldagh previously approved these changes Dec 12, 2023
Copy link
Contributor

@tboldagh tboldagh left a comment

Choose a reason for hiding this comment

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

Approving, my comments are realy questions rather than something for debate.

@acts-policybot acts-policybot bot dismissed tboldagh’s stale review December 12, 2023 14:41

Invalidated by push of 3e4873c

Copy link
Contributor

@tboldagh tboldagh left a comment

Choose a reason for hiding this comment

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

No more comments from me.

@kodiakhq kodiakhq bot merged commit 407df93 into acts-project:main Dec 13, 2023
52 checks passed
@paulgessinger paulgessinger deleted the refactor/track-edm-copy-dynamic-backends branch December 13, 2023 08:05
@acts-project-service
Copy link
Collaborator

🔴 Athena integration test results [407df93]

Build job with this PR failed!

Please investigate the build job for the pipeline!

@acts-project-service acts-project-service added the Breaks Athena build This PR breaks the Athena build label Dec 13, 2023
kodiakhq bot pushed a commit that referenced this pull request Dec 14, 2023
This moves TrackStateProxy into its own header file, and moves it out
of the `detail_lt` namespace.

Blocked by: 
- #2712

BREAKING CHANGE: `Acts::detail_lt::TrackStateProxy` moves to `Acts::TrackStateProxy` and include `Acts/EventData/TrackStateProxy.hpp`
kodiakhq bot pushed a commit that referenced this pull request Dec 14, 2023
This was an inconsistency due to different parallel developments.

Blocked by:
- #2712
paulgessinger added a commit to paulgessinger/acts that referenced this pull request Dec 15, 2023
…-project#2712)

This PR adds:

- Support for MultiTrajectory to copy Dynamic Columns at all (not implemented before)
- TrackContainer to copy dynamic columns between backends, by refactoring the way the columns are looked up.
  - This requires changing the backend contract to add a method `dynamicKeys_impl` to get hashes of all the dynamic column keys + changing the `copyDynamicColumns_impl` method.
paulgessinger added a commit to paulgessinger/acts that referenced this pull request Dec 15, 2023
…t#2820)

This was an inconsistency due to different parallel developments.

Blocked by:
- acts-project#2712
kodiakhq bot pushed a commit that referenced this pull request Dec 18, 2023
This is pulled out of #2797 and includes only the doxygen comment changes.

Blocked by:
- #2712
- #2817 
- #2807
@paulgessinger paulgessinger modified the milestones: next, v32.0.0 Jan 19, 2024
@paulgessinger paulgessinger added Breaks Athena build This PR breaks the Athena build and removed Breaks Athena build This PR breaks the Athena build labels Jan 23, 2024
LaraCalic pushed a commit to LaraCalic/acts that referenced this pull request Feb 10, 2024
…-project#2712)

This PR adds:

- Support for MultiTrajectory to copy Dynamic Columns at all (not implemented before)
- TrackContainer to copy dynamic columns between backends, by refactoring the way the columns are looked up.
  - This requires changing the backend contract to add a method `dynamicKeys_impl` to get hashes of all the dynamic column keys + changing the `copyDynamicColumns_impl` method.
LaraCalic pushed a commit to LaraCalic/acts that referenced this pull request Feb 10, 2024
…t#2807)

This moves TrackStateProxy into its own header file, and moves it out
of the `detail_lt` namespace.

Blocked by: 
- acts-project#2712

BREAKING CHANGE: `Acts::detail_lt::TrackStateProxy` moves to `Acts::TrackStateProxy` and include `Acts/EventData/TrackStateProxy.hpp`
LaraCalic pushed a commit to LaraCalic/acts that referenced this pull request Feb 10, 2024
…t#2820)

This was an inconsistency due to different parallel developments.

Blocked by:
- acts-project#2712
LaraCalic pushed a commit to LaraCalic/acts that referenced this pull request Feb 10, 2024
This is pulled out of acts-project#2797 and includes only the doxygen comment changes.

Blocked by:
- acts-project#2712
- acts-project#2817 
- acts-project#2807
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaks Athena build This PR breaks the Athena build Component - Core Affects the Core module Component - Plugins Affects one or more Plugins Event Data Model
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants