//
// Prints current cut interval information
//
- AliDebug(AliLog::kDebug, Form("%s <%f,%f>", GetCutName(fCutType), GetMin(), GetMax()));
+ AliDebug(AliLog::kDebug, Form("%s <%f,%f>", GetCutName(fCutType), GetCurrentMin(), GetCurrentMax()));
}
//_________________________________________________________________________________________________
//
// Sets current value to index
//
- for (Int_t i = 0; i < index; i++) AddStep();
+
+ fCurrentVal = fCutMin;
+ for (Int_t i = 0; i < index-1; i++) AddStep();
}
//_________________________________________________________________________________________________
Bool_t HasMore() const;
Int_t GetNumberOfBins() const;
- Float_t GetMin() const { return fCurrentVal; }
- Float_t GetMax() const { return fCurrentVal + fCutStep - fCutSmallVal; }
+ Float_t GetCurrentMin() const { return fCurrentVal; }
+ Float_t GetCurrentMax() const { return fCurrentVal + fCutStep - fCutSmallVal; }
+ Float_t GetMin() const { return fCutMin; }
+ Float_t GetMax() const { return fCutMax; }
Float_t GetStep() const { return fCutStep; }
Short_t GetType() const { return fCutType; }
Int_t GetBinNumber(Float_t num) const;
TObjArrayIter next(eventCuts);
AliMixEventCutObj *cut;
while ((cut = (AliMixEventCutObj *) next())) {
- if (hist2DValue > 1) text->AddText(Form("%s <%.2f,%.2f)", cut->GetCutName(), cut->GetMin(), cut->GetMax()));
+ if (hist2DValue > 1) text->AddText(Form("%s <%.2f,%.2f)", cut->GetCutName(), cut->GetCurrentMin(), cut->GetCurrentMax()));
else text->AddText(Form("%s <Out of Range>", cut->GetCutName()));
}
}