]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fix order of loading libraries (for the new libPWGmuon.so)
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Feb 2012 12:15:02 +0000 (12:15 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Feb 2012 12:15:02 +0000 (12:15 +0000)
PWGPP/TRD/macros/makeResults.C
PWGPP/TRD/run.C

index 564b8e1fd816856dbac92a99116dbaa1dab09b42..129d3fc57abafbe7269ba84cda6a0dde463d047d 100644 (file)
@@ -47,6 +47,7 @@
 // gSystem->Load("libTENDER.so");
 // gSystem->Load("libPWGPP.so");
 // gSystem->Load("libCORRFW.so");
+// gSystem->Load("libPWGmuon.so");
 // gSystem->Load("libNetx.so") ;
 // gSystem->Load("libRAliEn.so");
 
index 799b8fbc19940c2ec81a136dddc1c900de56ad9e..bce0b9d769144457262db89723edc11cb00aadd0 100644 (file)
@@ -103,9 +103,9 @@ void run(Char_t *optList="ALL", Int_t run=0, const Char_t *files=NULL, Long64_t
   if(gSystem->Load("libANALYSIS.so")<0) return;
   if(gSystem->Load("libANALYSISalice.so")<0) return;
   if(gSystem->Load("libTENDER.so")<0) return;
+  if(gSystem->Load("libCORRFW.so")<0) return;
   if(gSystem->Load("libPWGPP.so")<0) return;
   if(gSystem->Load("libPWGmuon.so")<0) return;
-  if(gSystem->Load("libCORRFW.so")<0) return;
 
   Bool_t fHasMCdata = UseMC(optList);
   Bool_t fHasFriends = UseFriends(optList);
@@ -144,7 +144,7 @@ void run(Char_t *optList="ALL", Int_t run=0, const Char_t *files=NULL, Long64_t
     AliTaskCDBconnect *taskCDB = AddTaskCDBconnect();
     if (!taskCDB) return;
     taskCDB->SetRunNumber(run);
-  }
+  } else Warning("run.C", "OCDB connection via AliTRDinfoGen.");
 
   gROOT->LoadMacro("$ALICE_ROOT/PWGPP/macros/AddTrainPerformanceTRD.C");
   if(!AddTrainPerformanceTRD(optList)) {