]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGHF/vertexingHF/AliCFVertexingHF.cxx
Updates in Lc->V0bachelor analysis (Annalisa)
[u/mrichter/AliRoot.git] / PWGHF / vertexingHF / AliCFVertexingHF.cxx
index 86a4e03beebd18cbf78e05b52af034bde5ed7232..46f20b6f63e26cf9507e0465ae47f7520fa5cddc 100644 (file)
@@ -335,7 +335,7 @@ Int_t AliCFVertexingHF::CheckOrigin() const
        Int_t abspdgGranma =0;
        Bool_t isFromB=kFALSE;
        Bool_t isQuarkFound=kFALSE;
-       while (mother >0 ){
+       while (mother >=0 ){
                istep++;
                AliDebug(2,Form("mother at step %d = %d", istep, mother));
                AliAODMCParticle* mcGranma = dynamic_cast<AliAODMCParticle*>(fmcArray->At(mother));