-
Notifications
You must be signed in to change notification settings - Fork 11
Add CRT-PMT flash classification to TPC-PMT flash-matching producer #157
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
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -21,6 +21,7 @@ namespace sbn { | |||||
|
|
||||||
| // NaN value to initialize data members | ||||||
| static constexpr float fDefault = std::numeric_limits<float>::signaling_NaN(); | ||||||
| static constexpr int fIntDefault = std::numeric_limits<int>::signaling_NaN(); | ||||||
|
|
||||||
| /// @name Data members related to the slice barycenter determination | ||||||
| /// @{ | ||||||
|
|
@@ -33,12 +34,13 @@ namespace sbn { | |||||
|
|
||||||
| /// @name Data members related to matched recob::OpFlash, also reachable by association | ||||||
| /// @{ | ||||||
| float flashTime { fDefault }; ///< Matched OpFlash time (us) | ||||||
| float flashFirstHit { fDefault }; ///< Time of first OpHit in matched OpFlash (us) | ||||||
| float flashPEs { fDefault }; ///< Total PEs in matched flash | ||||||
| float flashAsymmetry { fDefault }; ///< East-West asymmetry of PEs in matched flash | ||||||
| geo::Point_t flashCenter { fDefault, fDefault, fDefault }; ///< Weighted mean ophit position in X,Y,Z [no meaingful X info for ophits] (cm) | ||||||
| geo::Vector_t flashWidth { fDefault, fDefault, fDefault }; ///< Weighted standard devitation of ophit position in X,Y,Z [no meaingful X info for ophits] (cm) | ||||||
| float flashTime { fDefault }; ///< Matched OpFlash time (us) | ||||||
| float flashFirstHit { fDefault }; ///< Time of first OpHit in matched OpFlash (us) | ||||||
| float flashPEs { fDefault }; ///< Total PEs in matched flash | ||||||
| float flashAsymmetry { fDefault }; ///< East-West asymmetry of PEs in matched flash | ||||||
| geo::Point_t flashCenter { fDefault, fDefault, fDefault }; ///< Weighted mean ophit position in X,Y,Z [no meaingful X info for ophits] (cm) | ||||||
| geo::Vector_t flashWidth { fDefault, fDefault, fDefault }; ///< Weighted standard devitation of ophit position in X,Y,Z [no meaingful X info for ophits] (cm) | ||||||
| int flashClassification { fIntDefault }; ///< Flash classification according to the CRT-PMT matching | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would prefer the meaning of this variable not to be lost.
Suggested change
I am also recommending to add |
||||||
| /// @} | ||||||
|
|
||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no such thing as an integer NaN.
(but see my other comment instead)