Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sbnanaobj/StandardRecord/SRTPCPMTBarycenterMatch.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ namespace caf
flashAsymmetry = -9999.;
flashCenter = SRVector3D(-9999., -9999., -9999.);
flashWidth = SRVector3D(-9999., -9999., -9999.);
flashClassification = -9999;

deltaY = -9999.;
deltaZ = -9999.;
Expand Down
13 changes: 7 additions & 6 deletions sbnanaobj/StandardRecord/SRTPCPMTBarycenterMatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ namespace caf

/// @name Data members related to matched recob::OpFlash, also reachable by association
/// @{
float flashTime { kSignalingNaN }; ///< Matched OpFlash time (us)
float flashFirstHit { kSignalingNaN }; ///< Time of first OpHit in matched OpFlash (us)
float flashPEs { kSignalingNaN }; ///< Total PEs in matched flash
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)
float flashTime { kSignalingNaN }; ///< Matched OpFlash time (us)
float flashFirstHit { kSignalingNaN }; ///< Time of first OpHit in matched OpFlash (us)
float flashPEs { kSignalingNaN }; ///< Total PEs in matched flash
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`)

/// @}


Expand Down
3 changes: 2 additions & 1 deletion sbnanaobj/StandardRecord/classes_def.xml
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,8 @@
</class>
<class name="std::vector<caf::SRMatchedCRT>"/>

<class name="caf::SRTPCPMTBarycenterMatch" ClassVersion="10" >
<class name="caf::SRTPCPMTBarycenterMatch" ClassVersion="11" >
<version ClassVersion="11" checksum="2624457099"/>
<version ClassVersion="10" checksum="119776448"/>
</class>
<class name="std::vector<caf::SRTPCPMTBarycenterMatch>"/>
Expand Down