Added additional jet energy info
[u/mrichter/AliRoot.git] / MONITOR / monitor.C
1 #if !defined(__CINT__) || defined(__MAKECINT__)
2 #include "TSystem.h"
3 #include "TInterpreter.h"
4 #include "MONITOR/AliMonitorProcess.h"
5 #include "MONITOR/AliMonitorControl.h"
6 #endif
7
8 void monitor(const char* alienDir = ".")
9 {
10   if (!gSystem->Which(".", "galice.root")) {
11     gInterpreter->ExecuteMacro("$ALICE_ROOT/MONITOR/galice.C");
12   }
13   if (!gSystem->Which(".", "Table0.dat")) {
14     gSystem->Exec("cp $ALICE_ROOT/RAW/Table*.dat .");
15   }
16   AliMonitorProcess process(alienDir);
17   process.Run();
18 //  new AliMonitorControl(&process);
19 }