From f1d429fda22b5ff1dc7a21adf5e538ae72dafadc Mon Sep 17 00:00:00 2001 From: mhorner Date: Wed, 21 Jul 2004 18:12:41 +0000 Subject: [PATCH] bug fix in parent finding --- EMCAL/AliEMCALRecPoint.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EMCAL/AliEMCALRecPoint.cxx b/EMCAL/AliEMCALRecPoint.cxx index 32660904583..c27080e2792 100644 --- a/EMCAL/AliEMCALRecPoint.cxx +++ b/EMCAL/AliEMCALRecPoint.cxx @@ -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 ; -- 2.39.3