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

fix: TrackStateType printout in wrong order #2950

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

timadye
Copy link
Contributor

@timadye timadye commented Feb 14, 2024

operator<<(std::ostream& os, ConstTrackStateType t) prints out the flag bits as a binary number, with bit 0 (MeasurementFlag) at the end. This is belied by the label MPOHMS, which should be SMHOPM.

This PR fixes the label. Another option would be to reverse the order of bit printout. Please comment if you think that would be better.

@github-actions github-actions bot added Component - Core Affects the Core module Event Data Model labels Feb 14, 2024
@timadye
Copy link
Contributor Author

timadye commented Feb 14, 2024

This was found while investigating #2905

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (fc68c59) 48.85% compared to head (e5ee50e) 48.85%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2950   +/-   ##
=======================================
  Coverage   48.85%   48.85%           
=======================================
  Files         495      495           
  Lines       28897    28897           
  Branches    13726    13726           
=======================================
  Hits        14117    14117           
  Misses       4891     4891           
  Partials     9889     9889           

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

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.

lgtm

@AJPfleger AJPfleger added this to the next milestone Feb 15, 2024
@kodiakhq kodiakhq bot merged commit 026b481 into acts-project:main Feb 15, 2024
54 checks passed
@paulgessinger paulgessinger modified the milestones: next, v33.0.0 Mar 6, 2024
EleniXoch pushed a commit to EleniXoch/acts that referenced this pull request May 6, 2024
`operator<<(std::ostream& os, ConstTrackStateType t)` prints out the flag bits as a binary number, with bit 0 (`MeasurementFlag`) at the end. This is belied by the label `MPOHMS`, which should be `SMHOPM`.

This PR fixes the label. Another option would be to reverse the order of bit printout. Please comment if you think that would be better.
asalzburger pushed a commit to asalzburger/acts that referenced this pull request May 21, 2024
`operator<<(std::ostream& os, ConstTrackStateType t)` prints out the flag bits as a binary number, with bit 0 (`MeasurementFlag`) at the end. This is belied by the label `MPOHMS`, which should be `SMHOPM`.

This PR fixes the label. Another option would be to reverse the order of bit printout. Please comment if you think that would be better.
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.

4 participants