From: gconesab Date: Sun, 9 Oct 2011 18:13:10 +0000 (+0000) Subject: In case of recalibrating all cells, check not only the energy recalibration flag... X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=32d59a1329d858ce6a06074b9e940a0e7f4cf5a8;p=u%2Fmrichter%2FAliRoot.git In case of recalibrating all cells, check not only the energy recalibration flag but also the time recalibration flag --- diff --git a/EMCAL/AliEMCALRecoUtils.cxx b/EMCAL/AliEMCALRecoUtils.cxx index 92f8ca2196c..db11d254bda 100644 --- a/EMCAL/AliEMCALRecoUtils.cxx +++ b/EMCAL/AliEMCALRecoUtils.cxx @@ -885,7 +885,7 @@ void AliEMCALRecoUtils::RecalibrateCells(AliEMCALGeometry* geom, AliVCaloCells * // of the cells that compose the cluster. // bc= bunch crossing number returned by esdevent->GetBunchCrossNumber(); - if(!IsRecalibrationOn()) return; + if(!IsRecalibrationOn() && !IsTimeRecalibrationOn()) return; if(!cells){ AliInfo("Cells pointer null!");