]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 52468dc79ec63a73e4539a2bc2c664eb623730e6..c2ac8c1bc078f601157dee7678890caf2737fc76 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)
   {