--- calo/flight/CaloNuclei/src/CaloNuclei.cpp 2007/11/26 08:48:24 1.11 +++ calo/flight/CaloNuclei/src/CaloNuclei.cpp 2008/03/12 14:19:21 1.12 @@ -142,7 +142,7 @@ // find energy released along the strip of maximum on the first plane and on the two neighbour strips // if ( indx > 0 ){ - Int_t mindx = (Int_t)TMath::LocMax(indx,stfpl); + Int_t mindx = (Int_t)TMath::LocMax(indx,vfpl); for (Int_t ii=0; ii=0 && stfpl[ii] == stfpl[mindx-1] ) stdedx1 += vfpl[ii];