Skip to content

prepare CListEventCylindricalScannerWithDiscreteDetectors for non-cylindrical#1222

Merged
KrisThielemans merged 1 commit intoUCL:masterfrom
KrisThielemans:CListEventTemplated
Jul 10, 2023
Merged

prepare CListEventCylindricalScannerWithDiscreteDetectors for non-cylindrical#1222
KrisThielemans merged 1 commit intoUCL:masterfrom
KrisThielemans:CListEventTemplated

Conversation

@KrisThielemans
Copy link
Copy Markdown
Collaborator

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

@KrisThielemans
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

Looks good to me!

Copy link
Copy Markdown
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

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