]> 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 7a79d10bf3bb3d44e3efea955ea6d9eaf8ea957c..01967e9253b072cc634f05916a035257a423be31 100644 (file)
@@ -26,8 +26,8 @@ void monitor(Bool_t batchMode = kFALSE,
   // make sure galice.root is there
   if (!gSystem->Which(".", "galice.root")) {
     gAlice->InitMC("$ALICE_ROOT/MONITOR/galice.C");
-    AliRunLoader::GetRunLoader()->Write();
-    delete AliRunLoader::GetRunLoader();
+    AliRunLoader::Instance()->Write();
+    delete AliRunLoader::Instance();
   }
 
   // start the monitoring