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

refactor: Use separate column for previous in MTJ #2425

Merged
merged 2 commits into from
Sep 11, 2023

Conversation

paulgessinger
Copy link
Member

This was previously still using the iprevious member in IndexData, but we did have a separate m_previous column already that was being ignored.

Preparation for #2418

@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Merging #2425 (916d411) into main (109fb7d) will not change coverage.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##             main    #2425   +/-   ##
=======================================
  Coverage   49.70%   49.70%           
=======================================
  Files         455      455           
  Lines       25840    25840           
  Branches    11861    11860    -1     
=======================================
  Hits        12843    12843           
  Misses       4592     4592           
  Partials     8405     8405           
Files Changed Coverage Δ
...e/include/Acts/EventData/VectorMultiTrajectory.hpp 59.15% <0.00%> (ø)
Core/src/EventData/VectorMultiTrajectory.cpp 71.42% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@felix-russo felix-russo left a comment

Choose a reason for hiding this comment

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

It is strange that the m_previous member was not used previously

@paulgessinger
Copy link
Member Author

I just messed that up yeah 🙄

@felix-russo
Copy link
Contributor

Happens to the best :)

@kodiakhq kodiakhq bot merged commit 272948d into acts-project:main Sep 11, 2023
@paulgessinger paulgessinger modified the milestones: next, v29.2.0 Sep 15, 2023
kodiakhq bot pushed a commit that referenced this pull request Sep 21, 2023
A track can now initiate forward linking of its track states. The track
states have a new property, `next` that optionally makes the sequence a
doubly linked list. This is not filled by default (not even by
`appendTrackState`) because for branching cases, it's not unambiguous.

`linkForward()` on a track will initiate the forward linking and store
the innermost track state index for easy access. `reverseTrackStates`
also does this, since it's only valid for non-branching trackstate
sequences anyway.

Also adds a `innermostTrackState()` getter, which returns a track state proxy in case the track is forward linked and has a `stemIndex`

Blocked by:
- #2425 
- #2426
AJPfleger pushed a commit to AJPfleger/acts that referenced this pull request Sep 29, 2023
A track can now initiate forward linking of its track states. The track
states have a new property, `next` that optionally makes the sequence a
doubly linked list. This is not filled by default (not even by
`appendTrackState`) because for branching cases, it's not unambiguous.

`linkForward()` on a track will initiate the forward linking and store
the innermost track state index for easy access. `reverseTrackStates`
also does this, since it's only valid for non-branching trackstate
sequences anyway.

Also adds a `innermostTrackState()` getter, which returns a track state proxy in case the track is forward linked and has a `stemIndex`

Blocked by:
- acts-project#2425 
- acts-project#2426
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants