From b08dd6d5dde8eec7af329fb5a52b5bb98b2ba297 Mon Sep 17 00:00:00 2001 From: gconesab Date: Sun, 11 Sep 2011 08:19:30 +0000 Subject: [PATCH] supermodule number not assigned when getting the tower with max energy --- PWG4/PartCorrBase/AliCalorimeterUtils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWG4/PartCorrBase/AliCalorimeterUtils.cxx b/PWG4/PartCorrBase/AliCalorimeterUtils.cxx index e142fa6fad4..ad06295476b 100755 --- a/PWG4/PartCorrBase/AliCalorimeterUtils.cxx +++ b/PWG4/PartCorrBase/AliCalorimeterUtils.cxx @@ -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); -- 2.39.3