From c2eddecf70af5e6701aaa0d2a4bd76c2a47ccd7b Mon Sep 17 00:00:00 2001
From: adrien-matta <a.matta@surrey.ac.uk>
Date: Thu, 19 Dec 2013 03:11:51 +0100
Subject: [PATCH] *Fixing bugs in CATS

---
 NPLib/CATS/TCATSPhysics.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NPLib/CATS/TCATSPhysics.cxx b/NPLib/CATS/TCATSPhysics.cxx
index a7337dd0b..8cf31ae18 100644
--- a/NPLib/CATS/TCATSPhysics.cxx
+++ b/NPLib/CATS/TCATSPhysics.cxx
@@ -180,7 +180,7 @@ void TCATSPhysics::BuildPhysicalEvent(){
   double CalculatedStripX = 0, CalculatedStripY = 0;
   double posX = 0 , posY = 0;
 
-  for(ff = 1 ; ff < NumberOfCATSHit ; ff++ ){       
+  for(ff = 0 ; ff < NumberOfCATSHit ; ff++ ){       
     CalculatedStripX = AnalyseX(ff);         
     CalculatedStripY = AnalyseY(ff); 
 
-- 
GitLab