Recent first physics productions.
[u/mrichter/AliRoot.git] / prod / acrcaf / qa / qa.C
index 9aa8fe352f7dd4b7e19898f023f97171a80d3073..7f46d1616b5fa3f353beafeeadc2b73f6bb50ed0 100644 (file)
@@ -12,8 +12,13 @@ void qa(Int_t runNumber) {
   gProof->UploadPackage("/afs/cern.ch/alice/caf/sw/ALICE/PARs/v4-17-Release.rec/AF-v4-17-rec.par");
   gProof->EnablePackage("AF-v4-17-rec.par");
 
-  gProof->Load(Form("%s/AliAnalysisTaskCosmic.cxx++g",
-                   gSystem->ExpandPathName("$ALICE_ROOT/PWG1/cosmic"));
+  // Enable analysis libs
+  gSystem->Load("libANALYSIS.so");
+  gSystem->Load("libANALYSISalice.so");
+  gSystem->Load("libPWG1.so");
+  gProof->Exec("gSystem->Load(\"libANALYSIS.so\");",kTRUE);
+  gProof->Exec("gSystem->Load(\"libANALYSISalice.so\");",kTRUE);
+  gProof->Exec("gSystem->Load(\"libPWG1.so\");",kTRUE);
 
   //____________________________________________//
   // Make the analysis manager
@@ -38,7 +43,7 @@ void qa(Int_t runNumber) {
   if (!mgr->InitAnalysis()) return;
   mgr->PrintStatus();
   mgr->StartAnalysis("proof",
-                    Form("ALIREC/aliprod/run%d",runNumber));
+                    Form("/ALIREC/aliprod/run%d",runNumber));
 
   timer.Stop();
   timer.Print();