]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALRecPoint.cxx
bug fix in parent finding
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALRecPoint.cxx
index 326609045838ca92dda8a05f526969c783e9cf71..c27080e27920b43e45179724779d4054fbd67ee7 100644 (file)
@@ -564,7 +564,7 @@ void  AliEMCALRecPoint::EvalParents(TClonesArray * digits)
       Int_t newparent = newparentarray[jndex] ;
       Int_t kndex ;
       Bool_t already = kFALSE ;
-      for ( kndex = 0 ; kndex < fMulTrack ; kndex++ ) { //check if not already stored
+      for ( kndex = 0 ; kndex < fMulParent ; kndex++ ) { //check if not already stored
        if ( newparent == tempo[kndex] ){
          already = kTRUE ;
          break ;