diff --git a/Projects/AlPhaPha/2024/Analysis.cxx b/Projects/AlPhaPha/2024/Analysis.cxx
index bf26e5986f16c14b3cd55f906b61480e970eff4a..f9927ec6b0394f8d2004217309603481f8e6115b 100644
--- a/Projects/AlPhaPha/2024/Analysis.cxx
+++ b/Projects/AlPhaPha/2024/Analysis.cxx
@@ -537,7 +537,7 @@ void Analysis::VamosAnalysis(){
 
 }
 
-vector<double> TxtToVector(const char *Path){
+vector<double> Analysis::TxtToVector(const char *Path){
     string line;
     vector<double> values;
     ifstream file(Path); 
diff --git a/Projects/AlPhaPha/2024/Analysis.h b/Projects/AlPhaPha/2024/Analysis.h
index 412d5d2aa4d141d1db61a986c1f8f22d0fcd469c..7a4bbb2823f7c0d31cb6734c7d5bfae2c74fa979 100644
--- a/Projects/AlPhaPha/2024/Analysis.h
+++ b/Projects/AlPhaPha/2024/Analysis.h
@@ -54,7 +54,6 @@ class Analysis: public NPL::VAnalysis{
     void LoadCalibParameter();
     void PistaAnalysis();
     void VamosAnalysis(); 
-    vector<double> TxtToVector(const char* Path); 
     void ExogamAnalysis(); 
     void TwoAlphaAnalysis();
     void ReadAnalysisConfig();
@@ -225,6 +224,7 @@ class Analysis: public NPL::VAnalysis{
     Float_t MTOF_FP1_T0V[92];
     Float_t MTOF_FP1_T1V[92];
 
+    vector<double> TxtToVector(const char* Path); 
   private:
     TTimeData* Time ;
     TPISTAPhysics* PISTA;