Split: fix refs to AddTaskCentrality.C
[u/mrichter/AliRoot.git] / PWGLF / SPECTRA / IdentifiedHighPt / grid / runAAF.C
index 23cdccf..fd23fac 100644 (file)
@@ -178,21 +178,21 @@ void runAAF(Int_t nFilesMax, char* type, char* textFileName, Int_t task)
 
 
   // Load common libraries   
-  gSystem->Load("libTree.so");
-  gSystem->Load("libPhysics.so");
-  gSystem->Load("libGeom.so");
-  gSystem->Load("libVMC.so");
-  gSystem->Load("libSTEERBase.so");
-  gSystem->Load("libESD.so");
-  gSystem->Load("libAOD.so");
-  gSystem->Load("libCDB.so");
-  gSystem->Load("libANALYSIS.so");
-  gSystem->Load("libANALYSISalice.so");
+  gSystem->Load("libTree");
+  gSystem->Load("libPhysics");
+  gSystem->Load("libGeom");
+  gSystem->Load("libVMC");
+  gSystem->Load("libSTEERBase");
+  gSystem->Load("libESD");
+  gSystem->Load("libAOD");
+  gSystem->Load("libCDB");
+  gSystem->Load("libANALYSIS");
+  gSystem->Load("libANALYSISalice");
   // tender
   Bool_t v0tender = kTRUE;
   if(v0tender) {
-    gSystem->Load("libTender.so");
-    gSystem->Load("libTenderSupplies.so");
+    gSystem->Load("libTender");
+    gSystem->Load("libTenderSupplies");
   }
 
   gROOT->ProcessLine(Form(".include %s/include", gSystem->ExpandPathName("$ALICE_ROOT")));
@@ -415,7 +415,7 @@ void runAAF(Int_t nFilesMax, char* type, char* textFileName, Int_t task)
 
   if(esdAna && runtype==2) { // only for ESD and PbPb
 
-    gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskCentrality.C");
+    gROOT->LoadMacro("$ALICE_ROOT/OADB/macros/AddTaskCentrality.C");
     AliCentralitySelectionTask *taskCentrality = AddTaskCentrality(); 
     //taskCentrality->SetPass(2);
     if (analysisMC)
@@ -606,21 +606,21 @@ TChain* CreateChainLocal(Int_t nFilesMax, char* filename, char* treeName)
   TFileCollection* stagedColl = proofColl->GetStagedSubset();
   .L runAAF.C 
   TChain* chain = CreateChainCAF(10, stagedColl, "esdTree")
-  gSystem->Load("libTree.so");
-  gSystem->Load("libPhysics.so");
-  gSystem->Load("libGeom.so");
-  gSystem->Load("libVMC.so");
-  gSystem->Load("libSTEERBase.so");
-  gSystem->Load("libESD.so");
-  gSystem->Load("libAOD.so");
-  gSystem->Load("libCDB.so");
-  gSystem->Load("libANALYSIS.so");
-  gSystem->Load("libANALYSISalice.so");
+  gSystem->Load("libTree");
+  gSystem->Load("libPhysics");
+  gSystem->Load("libGeom");
+  gSystem->Load("libVMC");
+  gSystem->Load("libSTEERBase");
+  gSystem->Load("libESD");
+  gSystem->Load("libAOD");
+  gSystem->Load("libCDB");
+  gSystem->Load("libANALYSIS");
+  gSystem->Load("libANALYSISalice");
   gROOT->ProcessLine(Form(".include %s/include", gSystem->ExpandPathName("$ALICE_ROOT")));
   AliAnalysisManager* mgr = new AliAnalysisManager("PID histos", "testing analysis");
   AliESDInputHandler *esdHandler = new AliESDInputHandler();
   mgr->SetInputEventHandler(esdHandler);
-  gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskCentrality.C");
+  gROOT->LoadMacro("$ALICE_ROOT/OADB/macros/AddTaskCentrality.C");
   AliCentralitySelectionTask *taskCentrality = AddTaskCentrality(); 
 
   // ######### PID task ###############