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