]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
temp solution
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 May 2012 09:15:25 +0000 (09:15 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 May 2012 09:15:25 +0000 (09:15 +0000)
PWGGA/EMCALJetTasks/AliHadCorrTask.cxx

index dbf561caa75b221ed9809ce006296e8596a2b795..c696e16787e092a1df6c341eea9150e96e13b2bc 100644 (file)
@@ -529,8 +529,8 @@ void AliHadCorrTask::UserExec(Option_t *)
     cent=99; // probably pp data
   
   if (cent<0) {
-    AliError(Form("Centrality negative: %f", cent));
-    return;
+    AliWarning(Form("Centrality negative: %f, assuming 99", cent));
+    cent = 99;
   }
   
   Int_t centbin = GetCentBin(cent);