]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliJetESDFillUnitArrayEMCalDigits.cxx
removed unnecessary constants
[u/mrichter/AliRoot.git] / JETAN / AliJetESDFillUnitArrayEMCalDigits.cxx
index 199d64d20d605a6d2595b7b0c08c9cf6ec35ef18..7747140f97c71b050ae2d873e921acddd977ea04 100755 (executable)
@@ -252,7 +252,7 @@ void AliJetESDFillUnitArrayEMCalDigits::Exec(Option_t* const /*option*/)
 
     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() ;
@@ -266,7 +266,7 @@ void AliJetESDFillUnitArrayEMCalDigits::Exec(Option_t* const /*option*/)
       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 )