]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/client.C
Loading MONITOR libraries (C.Cheshkov)
[u/mrichter/AliRoot.git] / MONITOR / client.C
index 5c6f1e71849325a40c16248d9320c26551863c9c..76bd99da5b9ae59ddafd07b2711156aac09f9097 100644 (file)
@@ -4,5 +4,17 @@
 
 void client()
 {
+  // load libraries
+  if (strcmp(gSystem->Getenv("ALIHLT_USEPACKAGE"), "ALIROOT") == 0) {
+    if (!gROOT->GetClass("AliLevel3")) {
+      gSystem->Load("libAliL3Src.so");
+      gSystem->Load("libAliL3Misc.so");
+      gSystem->Load("libAliL3Hough.so");
+      gSystem->Load("libAliL3Comp.so");
+    }
+  }
+  if (!gROOT->GetClass("AliMonitorClient")) {
+    gSystem->Load("libMONITOR.so");
+  }
   new AliMonitorClient;
 }