message: remove unnecessary if n modules, module number checked before
diff: @@ -763,8 +763,6 @@ void AliAnaCalorimeterQA::CellHistograms(AliVCaloCells *cells)
  AliDebug(2,Form("\t module %d, column %d (%d), row %d (%d)", nModule,icolAbs,icol,irowAbs,irow));
  - if(nModule < fNModules)
  - {
  // Check if the cell is a bad channel
  if(GetCaloUtils()->IsBadChannelsRemovalSwitchedOn())
  {
  @@ -944,7 +942,7 @@ void AliAnaCalorimeterQA::CellHistograms(AliVCaloCells *cells)
  } // PHOS cells
  } // Fill cell position histograms
  - } // N modules
  +
  } // Cell loop
  // Fill the cells after the cut on min amplitude and bad/exotic channels
  @@ -5320,6 +5318,8 @@ TList * AliAnaCalorimeterQA::GetCreateOutputObjects()
  for(Int_t imod = 0; imod < fNModules; imod++)
  {
  + if(imod < fFirstModule || imod > fLastModule) continue;
  +
  fhECellTotalRatioMod[imod] = new TH2F (Form("hECellTotalRatio_Mod%d",imod),
  Form("#cell energy / sum all energy vs all energy in Module %d",imod),
  nptbins*2,ptmin,ptmax*2, 100,0,1.);
  