Return value corrected. (Carlos Perez Lara)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Feb 2011 21:20:23 +0000 (21:20 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Feb 2011 21:20:23 +0000 (21:20 +0000)
STEER/AliCentrality.cxx

index 1f24271..eea60c5 100644 (file)
@@ -157,7 +157,7 @@ Bool_t AliCentrality::IsEventInCentralityClass(Float_t a, Float_t b, const char
     if ((method.CompareTo("ZEMvsZDC")==0) && (fCentralityZEMvsZDC >=a && fCentralityZEMvsZDC < b)) return kTRUE;
     else return kFALSE;
   } else {
-    return -1;
+    return kFALSE;
   }
 }