Skip to content

Templatize HelixClass to remove code duplication between float and double implemenations#30

Merged
tmadlener merged 3 commits intoiLCSoft:masterfrom
tmadlener:helix-template
Oct 19, 2022
Merged

Templatize HelixClass to remove code duplication between float and double implemenations#30
tmadlener merged 3 commits intoiLCSoft:masterfrom
tmadlener:helix-template

Conversation

@tmadlener
Copy link
Copy Markdown
Contributor

@tmadlener tmadlener commented Sep 19, 2022

BEGINRELEASENOTES

  • Introduce a HelixClassT template class and make HelixClass and HellixClass_double typedefs of this class, instead of having two separate (but practically identical) implementations that are in place currently.
    • Explicitly instantiate both versions that were in place previously to make sure things don't break downstream.
    • Mark getters as const

ENDRELEASENOTES

See #29 (comment) and #24

@tmadlener tmadlener merged commit eda5bc0 into iLCSoft:master Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant