for(Int_t j = beg; j < nclus; j++) { // loop over clusters
// Retrieve cluster from esd
- AliESDCaloCluster *fClus = (AliESDCaloCluster *) caloClusters->At(j) ;
+ fClus = (AliESDCaloCluster *) caloClusters->At(j) ;
// Get the cluster info
//(not used ?) Float_t energy = fClus->E() ;
Int_t digMult = fClus->GetNCells() ;
UShort_t *digID = fClus->GetCellsAbsId() ;
//(not used ?) Double_t *digAmpFrac = fClus->GetCellsAmplitudeFraction() ;
- Int_t trackIndex = fClus->GetTrackMatched();
+ Int_t trackIndex = fClus->GetTrackMatchedIndex();
// Do double-counted electron correction
if (fApplyElectronCorrection != 0 && trackIndex !=-1 )