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

feat: output raw hits and associations from PhotomultiplierHitDigi #612

Merged
merged 7 commits into from
Apr 18, 2023

Conversation

c-dilks
Copy link
Member

@c-dilks c-dilks commented Apr 14, 2023

Briefly, what does this PR introduce?

NOTE: This PR targets the branch associated with #599, and therefore adds on to it.

  • output both the raw hits and associations, using the new JMultifactory feature
    • new struct PhotoMultiplierHitDigiResult is used as the return value of AlgorithmProcess (rather than a std::pair, for better flexibility and readability)
  • switch from std::vectors of raw pointers to PODIO collections
  • unrelated: style changes to DRICH.cc to be more consistent with feat!: add IRT PID to DRICH plugin #393 (we are factorizing that giant PR into smaller PRs, and these changes will make this process a bit easier)

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Documentation update
  • Other: __

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

no

Does this PR change default behavior?

no

c-dilks added 4 commits April 17, 2023 13:35
NOTE: off topic of this PR, but this will minimize diffs with the
`irt-algo` branch while we continue to factorize it into smaller PRs
@c-dilks c-dilks force-pushed the pmt-associations-collections branch from 695c32e to 4faae12 Compare April 17, 2023 17:35
@c-dilks c-dilks marked this pull request as ready for review April 17, 2023 21:39
@c-dilks
Copy link
Member Author

c-dilks commented Apr 17, 2023

Ready for review, but CI checks won't run yet until EDM4eic v2.0.0 is in the image.

@c-dilks c-dilks requested a review from wdconinc April 17, 2023 21:44
@c-dilks c-dilks marked this pull request as draft April 18, 2023 14:42
@c-dilks
Copy link
Member Author

c-dilks commented Apr 18, 2023

Hold up, found a bug

@c-dilks
Copy link
Member Author

c-dilks commented Apr 18, 2023

Hold up, found a bug

Fixed by the removal of another pesky raw pointer. Downstream IRT code is confirmed to be fully functional with this PR.

@c-dilks c-dilks marked this pull request as ready for review April 18, 2023 16:34
src/algorithms/digi/PhotoMultiplierHitDigi.cc Outdated Show resolved Hide resolved
src/algorithms/digi/PhotoMultiplierHitDigi.h Show resolved Hide resolved
@c-dilks c-dilks merged commit 8e47745 into pmt-associations Apr 18, 2023
@c-dilks c-dilks deleted the pmt-associations-collections branch April 18, 2023 21:46
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.

2 participants