in recoilNtp.cc you find if (isRecKaon(i)) { vubDepleted = kTRUE; fNKaon++; mk4Vector(p4t, momentumTrk[i], thetaTrk[i], phiTrk[i], KAPMASS); } and in recoilNtp.hh inline Bool_t recoilNtp::isRecKaon(Int_t i) {return (TMath::Abs(kaonIdTrk[i]) & IDKA);} where IDKA is 8 right now (in b0cuts..dat) but I actually used 16. Daniele On Sun, 2 Dec 2001, Riccardo Faccini wrote: > > > > this could be the reason why the efficiency seems to be too low (50% > > due from this bug). I removed the Abs and commited. Take the HEAD. > > > > There is another suspect cut. The number of charged kaons in the recoil > > is higher than the one in the old Cpf analysis (mean 0.4 -> 1.4). As a > > consequence, this cut is very inefficient even in Vub events (30% of > > efficiency instead of 90% of the old analysis). Since kaons are not > > present in Vub events this sounds really bad. > it sounds like you are using NotAPion (which is the bit right after > VeryTight...). I could not find the code where the cut is applied, can you > point it to me? > ciao > ric > >