]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/monitor.C
Fix - clean (remove) run's reconstructed directory after reco/viz
[u/mrichter/AliRoot.git] / MONITOR / monitor.C
index a34ea79eba2f13bd31df92cea8ff66132d4c9e32..01967e9253b072cc634f05916a035257a423be31 100644 (file)
@@ -14,10 +14,10 @@ void monitor(Bool_t batchMode = kFALSE,
 {
   // load libraries
   if (!gROOT->GetClass("AliLevel3")) {
-    gSystem->Load("libAliL3Src.so");
-    gSystem->Load("libAliL3Misc.so");
-    gSystem->Load("libAliL3Hough.so");
-    gSystem->Load("libAliL3Comp.so");
+    gSystem->Load("libAliHLTSrc.so");
+    gSystem->Load("libAliHLTMisc.so");
+    gSystem->Load("libAliHLTHough.so");
+    gSystem->Load("libAliHLTComp.so");
   }
   if (!gROOT->GetClass("AliMonitorProcess")) {
     gSystem->Load("libMONITOR.so");
@@ -25,9 +25,9 @@ void monitor(Bool_t batchMode = kFALSE,
 
   // make sure galice.root is there
   if (!gSystem->Which(".", "galice.root")) {
-    gAlice->Init("$ALICE_ROOT/MONITOR/galice.C");
-    gAlice->GetRunLoader()->Write();
-    delete gAlice->GetRunLoader();
+    gAlice->InitMC("$ALICE_ROOT/MONITOR/galice.C");
+    AliRunLoader::Instance()->Write();
+    delete AliRunLoader::Instance();
   }
 
   // start the monitoring