From f3927a315b0b94c7cc70b9f199af18983f8848e9 Mon Sep 17 00:00:00 2001
From: "theodore.efremov" <theodore.efremov@cea.fr>
Date: Fri, 29 Nov 2024 13:38:53 +0100
Subject: [PATCH] Modified filling of IC

---
 Projects/AlPhaPha/conversion/2024/convert.C | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Projects/AlPhaPha/conversion/2024/convert.C b/Projects/AlPhaPha/conversion/2024/convert.C
index c80a96a84..7346962e6 100644
--- a/Projects/AlPhaPha/conversion/2024/convert.C
+++ b/Projects/AlPhaPha/conversion/2024/convert.C
@@ -75,12 +75,10 @@ void convert(int run=204){
    fPISTA_TS_sec = PISTA_TS*1e-8;
 
     // IC //
-    for(int i=0; i<11; i++){
-      m_ic->SetIC_Section(i+1);
-      m_ic->SetIC_Charge(IC[i]);
-    }
     for (int i=0; i<ICRawM; i++){
       m_ic->SetIC_TS(ICRawTS[i]);
+      m_ic->SetIC_Section(i+1);
+      m_ic->SetIC_Charge(IC[i]);
     }
 
     // Time //
-- 
GitLab