add check on the removal of bad channels in cells recalibration method
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Sep 2012 13:19:22 +0000 (13:19 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 14 Sep 2012 13:19:22 +0000 (13:19 +0000)
EMCAL/AliEMCALRecoUtils.cxx

index 52468dc..c2ac8c1 100644 (file)
@@ -1200,7 +1200,7 @@ void AliEMCALRecoUtils::RecalibrateCells(AliVCaloCells * cells,
   // of the cells that compose the cluster.
   // bc= bunch crossing number returned by esdevent->GetBunchCrossNumber();
 
-  if(!IsRecalibrationOn() && !IsTimeRecalibrationOn()) return;
+  if(!IsRecalibrationOn() && !IsTimeRecalibrationOn() && !IsBadChannelsRemovalSwitchedOn()) return;
   
   if(!cells)
   {