]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MONITOR/onlineReco.C
Minor improvements
[u/mrichter/AliRoot.git] / MONITOR / onlineReco.C
index 4d6927d15d819496a5d380b77871c567ee7a8904..18cd69374c6e9f5646e7b6209ffee143f7d90067 100644 (file)
@@ -10,6 +10,7 @@ UInt_t onlineReco(const char* param = "listen",const char *recMacroPath = "$ALIC
   if (paramStr.IsDigit()) {
     run = paramStr.Atoi();
   } else if (paramStr == "listen") {
+    gSystem->Load("libMONITOR");
     AliOnlineRecoTrigger trigger;
     run = trigger.Run();
   } else {
@@ -54,7 +55,6 @@ UInt_t onlineReco(const char* param = "listen",const char *recMacroPath = "$ALIC
       else {
        cout << "No GDCs defined in the logbook entry for run " << run << endl;
       }
-      delete gdcs;
     }
   }