In case of recalibrating all cells, check not only the energy recalibration flag...
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 9 Oct 2011 18:13:10 +0000 (18:13 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 9 Oct 2011 18:13:10 +0000 (18:13 +0000)
EMCAL/AliEMCALRecoUtils.cxx

index 92f8ca2..db11d25 100644 (file)
@@ -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!");