From 3a794d7a435f46a61b3fc0709d433aee4b7a77e7 Mon Sep 17 00:00:00 2001
From: dthisse <damien.thisse@cea.fr>
Date: Tue, 12 Nov 2024 11:43:23 +0100
Subject: [PATCH] Added Energy in TActarScattering

---
 NPLib/Detectors/Actar/TActarScattering.cxx | 3 ++-
 NPLib/Detectors/Actar/TActarScattering.h   | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/NPLib/Detectors/Actar/TActarScattering.cxx b/NPLib/Detectors/Actar/TActarScattering.cxx
index a179d4879..aa58856ed 100644
--- a/NPLib/Detectors/Actar/TActarScattering.cxx
+++ b/NPLib/Detectors/Actar/TActarScattering.cxx
@@ -31,5 +31,6 @@ Range(0),
 Charge(0),
 PhiShort(0),
 ThetaShort(0),
-Voxels(0)
+Voxels(0),
+Energy(0)
 {}
\ No newline at end of file
diff --git a/NPLib/Detectors/Actar/TActarScattering.h b/NPLib/Detectors/Actar/TActarScattering.h
index 5b2548f18..c43a96b8e 100644
--- a/NPLib/Detectors/Actar/TActarScattering.h
+++ b/NPLib/Detectors/Actar/TActarScattering.h
@@ -48,6 +48,7 @@ public:
     double Phi;
     double Range;
     double Charge;
+    double Energy;
     TVector3 Vertex;
     TVector3 EndOfTrack;
     double ThetaShort;
-- 
GitLab