From 6d53eb5352cd1622f8d89d7bcb89744c05bfdf65 Mon Sep 17 00:00:00 2001
From: Warren Lynch <warren.lynch@york.ac.uk>
Date: Thu, 25 Feb 2021 11:38:25 +0000
Subject: [PATCH] TACTIC: Kinetic Energy output was incorrect ..fixed.

---
 NPSimulation/Detectors/TACTIC/TACTICScorer.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NPSimulation/Detectors/TACTIC/TACTICScorer.cc b/NPSimulation/Detectors/TACTIC/TACTICScorer.cc
index 0909d3b54..79e20f0d6 100644
--- a/NPSimulation/Detectors/TACTIC/TACTICScorer.cc
+++ b/NPSimulation/Detectors/TACTIC/TACTICScorer.cc
@@ -71,7 +71,7 @@ G4bool Gas_Scorer::ProcessHits(G4Step* aStep, G4TouchableHistory*){
   it= EvtMap->GetMap()->find(m_Index);
   if(it!=EvtMap->GetMap()->end()){
     G4double* dummy = *(it->second);
-    if(Infos[1]==dummy[1]) Infos[4]+=dummy[4]; //accumulate ionisation energy deposit to get total accross pad
+    if(Infos[1]==dummy[1]) Infos[5]+=dummy[5]; //accumulate ionisation energy deposit to get total accross pad
     delete dummy;
   }
   
-- 
GitLab