]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/client.C
Made more robust
[u/mrichter/AliRoot.git] / MONITOR / client.C
1 #if !defined(__CINT__) || defined(__MAKECINT__)
2 #include "MONITOR/AliMonitorClient.h"
3 #include "TSystem.h"
4 #endif
5
6 void client()
7 {
8   // load libraries
9   if (strcmp(gSystem->Getenv("ALIHLT_USEPACKAGE"), "ALIROOT") == 0) {
10     if (!gROOT->GetClass("AliLevel3")) {
11       gSystem->Load("libAliL3Src.so");
12       gSystem->Load("libAliL3Misc.so");
13       gSystem->Load("libAliL3Hough.so");
14       gSystem->Load("libAliL3Comp.so");
15     }
16   }
17   if (!gROOT->GetClass("AliMonitorClient")) {
18     gSystem->Load("libMONITOR.so");
19   }
20   new AliMonitorClient;
21 }