1 #if !defined(__CINT__) || defined(__MAKECINT__)
4 #include <TInterpreter.h>
6 #include "MONITOR/AliMonitorProcess.h"
7 #include "MONITOR/AliMonitorControl.h"
10 void monitor(Bool_t batchMode = kFALSE,
11 const char* selection = "ALL",
12 const char* alienHost = "alien://aliens7.cern.ch:15000/?direct",
13 const char* alienDir = "/alice_mdc/DC")
16 if (!gROOT->GetClass("AliLevel3")) {
17 gSystem->Load("libAliHLTSrc.so");
18 gSystem->Load("libAliHLTMisc.so");
19 gSystem->Load("libAliHLTHough.so");
20 gSystem->Load("libAliHLTComp.so");
22 if (!gROOT->GetClass("AliMonitorProcess")) {
23 gSystem->Load("libMONITOR.so");
26 // make sure galice.root is there
27 if (!gSystem->Which(".", "galice.root")) {
28 gAlice->InitMC("$ALICE_ROOT/MONITOR/galice.C");
29 AliRunLoader::Instance()->Write();
30 delete AliRunLoader::Instance();
33 // start the monitoring
34 AliMonitorProcess *process = new AliMonitorProcess(alienHost, alienDir,
40 new AliMonitorControl(process);