]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
change to the selection logic in the simple Bayesian PID case (J.Wilkinson)
authorzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 13:47:46 +0000 (13:47 +0000)
committerzconesa <zconesa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 13:47:46 +0000 (13:47 +0000)
PWGHF/vertexingHF/AliRDHFCutsD0toKpi.cxx

index ba63c7d0e724a5ef815b5509ab40cdbdc8b9fa62..fb596758aab099d2329211187e86a82a8f4d6131 100644 (file)
@@ -1903,8 +1903,8 @@ Int_t AliRDHFCutsD0toKpi::IsSelectedCombPID(AliAODRecoDecayHF* d)
     //Simple Bayesian
     if (fBayesianStrategy == kBayesSimple) {
        
-         if (isPosKaon && isNegKaon)   {  //If both are ID'd as kaons, reject
-               returnvalue = 0;
+         if (isPosKaon && isNegKaon)   {  //If both are ID'd as kaons, accept as possible
+               returnvalue = 3;
             } else if (isNegKaon)   {     //If negative kaon, D0
                returnvalue = 1;
             } else if (isPosKaon)   {     //If positive kaon, D0-bar