Added libraries needed for PHOS tasks
authorslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Jul 2010 14:07:13 +0000 (14:07 +0000)
committerslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 Jul 2010 14:07:13 +0000 (14:07 +0000)
HLT/QA/tasks/macros/compare-HLT-offline-grid.C

index 7e42eb6..101a611 100644 (file)
@@ -101,7 +101,14 @@ void compare_HLT_offline_grid(TString runNumber, TString dataDir, TString gridWo
  
   //-------------- Compile the analysis tasks ---------- //
   if(bTPC)    gROOT->LoadMacro("AliAnalysisTaskHLTTPC.cxx+"); 
-  if(bPHOS)   gROOT->LoadMacro("AliAnalysisTaskHLTPHOS.cxx+"); 
+  if(bPHOS) {
+    AliHLTSystem * pHLT = AliHLTPluginBase::GetInstance();
+    pHLT->LoadComponentLibraries("libHLTbase");
+    pHLT->LoadComponentLibraries("libAliHLTUtil");
+    pHLT->LoadComponentLibraries("libAliHLTGlobal");
+    gROOT->LoadMacro("AliAnalysisTaskHLTCalo.cxx+"); 
+    gROOT->LoadMacro("AliAnalysisTaskHLTPHOS.cxx+");  
+  }
   if(bITS)    gROOT->LoadMacro("AliAnalysisTaskHLTITS.cxx+");
   if(bGLOBAL) gROOT->LoadMacro("AliAnalysisTaskHLT.cxx+");