]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
accepting border values
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Dec 2002 16:18:49 +0000 (16:18 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Dec 2002 16:18:49 +0000 (16:18 +0000)
HBTAN/AliHBTParticleCut.h

index 2c094ceb75c950536ac55bdaf927ce368f42844f..8b21d693cc34f087a1501de7e583d86cb7358050 100644 (file)
@@ -164,8 +164,8 @@ class AliHbtBaseCut: public TObject
 inline Bool_t
 AliHbtBaseCut::Pass(AliHBTParticle *p)
  {
-   if ( (GetValue(p) > fMin) && (GetValue(p) <fMax ) ) return kFALSE; //accepted
-   else return kTRUE; //rejected
+   if ( (GetValue(p) < fMin) || (GetValue(p) > fMax ) ) return kTRUE; //rejected
+   else return kFALSE; //accepted
  }
 /******************************************************************/
 /******************************************************************/