]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/ConfigPPR.C
Removing GetDebug and SetDebug from AliRun and AliModule. Using AliLog for the messages
[u/mrichter/AliRoot.git] / macros / ConfigPPR.C
index 30b4aff1d3673971c13ce46dee83cbc20a798a8f..40ec45c234425ae87216a0127dbec93cd24eb4e3 100644 (file)
@@ -232,9 +232,11 @@ void Config()
     gMC->SetCut("PPCUTM", cut);
     gMC->SetCut("TOFMAX", tofmax); 
 
+    // Debug and log level
+    AliLog::SetGlobalDebugLevel(0);
+    AliLog::SetGlobalLogLevel(0);
 
-// Generator Configuration
-    gAlice->SetDebug(0);
+    // Generator Configuration
     AliGenerator* gener = GeneratorFactory(srun);
     gener->SetOrigin(0, 0, 0);    // vertex position
     gener->SetSigma(0, 0, 5.3);   // Sigma in (X,Y,Z) (cm) on IP position