AddTaskFemto for train update 2
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 Nov 2011 13:28:34 +0000 (13:28 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 Nov 2011 13:28:34 +0000 (13:28 +0000)
PWG2/FEMTOSCOPY/macros/Train/AddTaskFemto.C

index afb297b..4a11b77 100644 (file)
@@ -43,7 +43,7 @@ AliAnalysisTaskFemto *AddTaskFemto(TString configMacroName, const char *configMa
   }  
   //  gROOT->LoadMacro("ConfigFemtoAnalysis.C++");
 
-  AliAnalysisTaskFemto *taskfemto = new AliAnalysisTaskFemto("TaskFemto","$ALICE_ROOT/"+configMacroName,configMacroParameters);
+  AliAnalysisTaskFemto *taskfemto = new AliAnalysisTaskFemto("TaskFemto",gSystem->ExpandPathName("$ALICE_ROOT/")+configMacroName,configMacroParameters);
   mgr->AddTask(taskfemto);
 
   // D. Configure the analysis task. Extra parameters can be used via optional