]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
supermodule number not assigned when getting the tower with max energy
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 11 Sep 2011 08:19:30 +0000 (08:19 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 11 Sep 2011 08:19:30 +0000 (08:19 +0000)
PWG4/PartCorrBase/AliCalorimeterUtils.cxx

index e142fa6fad4b916e14aff7e38ac2132402413057..ad06295476b172369ac3293cb9396b37e04dbf00 100755 (executable)
@@ -294,7 +294,7 @@ Int_t  AliCalorimeterUtils::GetMaxEnergyCell(AliVCaloCells* cells, AliVCluster*
     fraction  = clu->GetCellAmplitudeFraction(iDig);
     if(fraction < 1e-4) fraction = 1.; // in case unfolding is off
     
-    GetModuleNumberCellIndexes(cellAbsId, calo, ieta, iphi, iRCU);
+    iSupMod = GetModuleNumberCellIndexes(cellAbsId, calo, ieta, iphi, iRCU);
     
     if(IsRecalibrationOn()) {
       if(calo=="EMCAL") recalFactor = GetEMCALChannelRecalibrationFactor(iSupMod,ieta,iphi);