Skip to content

Add CRT-PMT flash classification to TPC-PMT flash-matching producer#179

Open
rtriozzi wants to merge 1 commit intodevelopfrom
feature/rtriozzi_flashClassification_FM
Open

Add CRT-PMT flash classification to TPC-PMT flash-matching producer#179
rtriozzi wants to merge 1 commit intodevelopfrom
feature/rtriozzi_flashClassification_FM

Conversation

@rtriozzi
Copy link
Contributor

@rtriozzi rtriozzi commented Dec 4, 2025

This PR (based off of v10_00_00) adds the flash classification from the CRT-PMT matching information to the best-matched flash in the TPC-PMT barycenter flash-matching producer.


Associated PRs


Review

Tagging for review @francescopoppi and @PetrilloAtWork as the CRT & light gurus. Thanks!


Quick checklist

  • Have you run git fetch and pulled the latest changes from the branch you're basing your PR against? Will do, based on review.
  • If you're adding new classes, have you added them to classes_def.xml in the relevant directory?
  • Have you added a checksum in classes_def.xml to any and all new classes you're implementing, and rebuilt?
  • If you're updating classes, have you incremented the ClassVersion by one compared to develop in classes_def.xml?

Copy link
Member

@PetrilloAtWork PetrilloAtWork left a comment

Choose a reason for hiding this comment

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

Request to add a pointer to how to decode the new value, and then auto-approved.

float flashAsymmetry { kSignalingNaN }; ///< East-West asymmetry of PEs in matched flash
SRVector3D flashCenter; ///< Weighted mean ophit position in X,Y,Z [no meaingful X info for ophits] (cm)
SRVector3D flashWidth; ///< Weighted standard devitation of ophit position in X,Y,Z [no meaingful X info for ophits] (cm)
int flashClassification { kUninitializedInt }; ///< Flash classification according to the CRT-PMT matching
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a reference to how to decode it? E.g.:

Suggested change
int flashClassification { kUninitializedInt }; ///< Flash classification according to the CRT-PMT matching
int flashClassification { kUninitializedInt }; ///< Flash classification according to the CRT-PMT matching (`sbn::crt::MatchType`)

@kjplows kjplows moved this to In Progress in PR archaeology Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: In Progress
Status: Open pull requests

Development

Successfully merging this pull request may close these issues.

2 participants