Bug fix in multiplicity limits.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Dec 2008 10:59:08 +0000 (10:59 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Dec 2008 10:59:08 +0000 (10:59 +0000)
ANALYSIS/AliEventPoolOTF.cxx

index 0c2a5bf..a4b8fdc 100644 (file)
@@ -106,7 +106,7 @@ TChain* AliEventPoolOTF::GetNextChain()
     //
     TChain* chain = 0;
     fBinNumber++;
-    Int_t mmax = fMultiplicity + fMultStep;
+    Int_t mmax = fMultiplicity + fMultStep - 1;
     if (mmax > fMultMax) {
        return 0;
     } else {