]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/ITSSPDPHYSda.cxx
Update HFE v2 analyses
[u/mrichter/AliRoot.git] / ITS / ITSSPDPHYSda.cxx
index 5ebf3a4c7ed776c32a731a1cd3366a2c97b1e99d..7654da9fb0a7b30b968fc991b83489ed613fdb81 100644 (file)
@@ -41,6 +41,7 @@ extern "C" {
 #include <TObjArray.h>
 #include <TObjString.h>
 #include <TString.h>
+#include <cstdlib>
 
 
 int main(int argc, char **argv) {
@@ -97,9 +98,9 @@ int main(int argc, char **argv) {
                                        "TStreamerInfo()");
 
   // turn off annoying warning messages
-  new AliLog;
-  AliLog::Instance()->SetGlobalDebugLevel(-20);
-
+  // NB: Should not be handled here
+  AliLog* logger = AliLog::GetRootLogger();
+  logger->SetGlobalDebugLevel(-20);
 
   // ********* STEP 0: Get configuration files from db (if there are any) , then read parameters*********
   UInt_t nrTuningParams = 0;