X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ANALYSIS%2FAliEventBaseCut.cxx;h=d0c70680f1281dc8c3289d314545682df03b85e1;hb=a71e9f14e7f8592901f7d732311ab7f6059805ff;hp=e5fbe7f695ae96737aa74bbaf4c77e9aeaa5832d;hpb=cea0a06645c65fb78ffff536fa39ca8457da36ca;p=u%2Fmrichter%2FAliRoot.git diff --git a/ANALYSIS/AliEventBaseCut.cxx b/ANALYSIS/AliEventBaseCut.cxx index e5fbe7f695a..d0c70680f12 100644 --- a/ANALYSIS/AliEventBaseCut.cxx +++ b/ANALYSIS/AliEventBaseCut.cxx @@ -32,7 +32,11 @@ AliEventBaseCut::AliEventBaseCut(Double_t min, Double_t max, EEventCutProperty p Bool_t AliEventBaseCut::Rejected(AliAOD* aod) const { - if ( (GetValue(aod) < fMin) || (GetValue(aod) > fMax) ) return kTRUE; +//Checks if value is in the range, +// returns true if it is in the range, false otherwise + Double_t v = GetValue(aod); +// Info("Rejected","Value %f Min %f Max %f",v,fMin,fMax); + if ( ( v < fMin) || ( v > fMax) ) return kTRUE; return kFALSE; } /**********************************************************/