From c1d813518e850f1d1dc6e5d0ea7ced13dff094be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20S=C3=A1nchez=20Castillo?= Date: Tue, 2 Sep 2025 08:08:06 -0500 Subject: [PATCH 1/2] Add new atribute to store match score and chi2 --- sbnobj/Common/Reco/TPCPMTBarycenterMatch.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sbnobj/Common/Reco/TPCPMTBarycenterMatch.h b/sbnobj/Common/Reco/TPCPMTBarycenterMatch.h index 14df4f91b..c151abbba 100644 --- a/sbnobj/Common/Reco/TPCPMTBarycenterMatch.h +++ b/sbnobj/Common/Reco/TPCPMTBarycenterMatch.h @@ -47,6 +47,9 @@ namespace sbn { float deltaY { fDefault }; ///< | Matched flash Y center - charge Y center | (cm) float deltaZ { fDefault }; ///< | Matched flash Z center - charge Z center | (cm) float radius { fDefault }; ///< Hypotenuse of DeltaY and DeltaZ (cm) + float angle { fDefault }; ///< | Angle between charge PCA and light PCA | (us) + float chi2 { fDefault }; ///< | Chi2 to be minimised when matching flash to slice | (dimensionless) + float score { fDefault }; ///< | Score to be maximised when matching flash to slice | (dimensionless) float deltaT { fDefault }; ///< | Matched flash time - anab::T0 | when available (us) float overlapY { fDefault }; ///< Spatial overlap of flash and charge centroids in Y [>0] OR distance apart if no overlap [<0] (cm) float overlapZ { fDefault }; ///< Spatial overlap of flash and charge centroids in Z [>0] OR distance apart if no overlap [<0] (cm) From 109cb5fe6919d1cc62e9276296e4607b5ec9b8af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20S=C3=A1nchez=20Castillo?= Date: Tue, 2 Sep 2025 09:01:55 -0500 Subject: [PATCH 2/2] Update classes_def --- sbnobj/Common/Reco/classes_def.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sbnobj/Common/Reco/classes_def.xml b/sbnobj/Common/Reco/classes_def.xml index 2be5f8a03..2f0573f2c 100644 --- a/sbnobj/Common/Reco/classes_def.xml +++ b/sbnobj/Common/Reco/classes_def.xml @@ -266,7 +266,9 @@ - + + +