Modified Xt Addtask (Remi)
authorlramona <lramona@cern.ch>
Thu, 2 Oct 2014 13:07:56 +0000 (15:07 +0200)
committerlramona <lramona@cern.ch>
Thu, 2 Oct 2014 13:07:56 +0000 (15:07 +0200)
PWGLF/SPECTRA/XtAnalysis/macros/AddTaskXtAnalysis.C

index a15dc05..75be546 100644 (file)
@@ -14,7 +14,7 @@ AliAnalysisTask *AddTaskXtAnalysis() {
   TString type = mgr->GetInputEventHandler()->GetDataType();
   
   // parameter provides the location of the input card
-  AliXtAnalysis *xtTask = new AliXtAnalysis("AliXtAnalysis","$ALICE_ROOT/PWGLF/SPECTRA/XtAnalysis/card_xT.input");
+  AliXtAnalysis *xtTask = new AliXtAnalysis("AliXtAnalysis",Form("%s%s",gSystem->Getenv("ALICE_ROOT"),"/PWGLF/SPECTRA/XtAnalysis/card_xT.input"));
   xtTask->SetDebugLevel(0);
   xtTask->SetDebugMode(0);