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 1f24271b34af514c020c3421e77edaf95c9f5ffc..eea60c5e2015839088738454495484ee44dab03c 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 {
     if ((method.CompareTo("ZEMvsZDC")==0) && (fCentralityZEMvsZDC >=a && fCentralityZEMvsZDC < b)) return kTRUE;
     else return kFALSE;
   } else {
-    return -1;
+    return kFALSE;
   }
 }
 
   }
 }