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

prepare CListEventCylindricalScannerWithDiscreteDetectors for non-cylindrical #1222

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

KrisThielemans
Copy link
Collaborator

  • move all functionality to template class CListEventScannerWithDiscreteDetectors<ProjDataInfoT>
  • keep CListEventCylindricalScannerWithDiscreteDetectors as derived class such that this change is backwards compatible

@KrisThielemans
Copy link
Collaborator Author

@danieldeidda @VietAnhDao I prefer this over #1209 and #994. I think it's cleaner and avoids type-casting all the time. (I guess it's less flexible as it relies on compilation-time decision on what the listmode data contains, but I think that makes sense in pretty much every case anyway)

@KrisThielemans
Copy link
Collaborator Author

@markus-jehl please check. It should not affect you at all, but will help later.

…indrical

- move all functionality to template class CListEventScannerWithDiscreteDetectors<ProjDataInfoT>
- keep CListEventCylindricalScannerWithDiscreteDetectors as derived class such that this change
is backwards compatible
@markus-jehl
Copy link
Contributor

Looks good to me!

Copy link
Collaborator

@danieldeidda danieldeidda left a comment

Choose a reason for hiding this comment

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

To be honest that's what I would have liked to do anyway. So looks good to me :D

@KrisThielemans KrisThielemans merged commit 11b7c9b into UCL:master Jul 10, 2023
5 checks passed
@KrisThielemans KrisThielemans deleted the CListEventTemplated branch July 10, 2023 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants