]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/client.C
Effective C++ changes
[u/mrichter/AliRoot.git] / MONITOR / client.C
index 5c6f1e71849325a40c16248d9320c26551863c9c..869158c6f06ad49b5445d48596f6627960ced0ad 100644 (file)
@@ -1,8 +1,19 @@
 #if !defined(__CINT__) || defined(__MAKECINT__)
 #include "MONITOR/AliMonitorClient.h"
+#include "TSystem.h"
 #endif
 
 void client()
 {
+  // load libraries
+  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;
 }