message: AliAnaCalorimeterQA: move some cell histograms to switch on AbsID histograms to reduce QA analysis tain ouput
diff: @@ -881,6 +881,8 @@ void AliAnaCalorimeterQA::CellHistograms(AliVCaloCells *cells)
  if(!highG) fhGridCellsTimeLowGain->Fill(icolAbs, irowAbs, time);
  fhTimeMod->Fill(time, nModule, GetEventWeight());
  +
  + if(fFillAllCellAbsIdHistograms)
  fhTimeAmpPerRCU[nModule*fNRCU+iRCU]->Fill(amp, time, GetEventWeight());
  if(!highG)
  @@ -958,6 +960,7 @@ void AliAnaCalorimeterQA::CellHistograms(AliVCaloCells *cells)
  fhNCellsMod ->Fill(nCellsInModule[imod], imod, GetEventWeight()) ;
  fhSumCellsAmpMod->Fill(eCellsInModule[imod], imod, GetEventWeight()) ;
  + if(fFillAllCellAbsIdHistograms)
  fhNCellsSumAmpPerMod[imod]->Fill(eCellsInModule[imod], nCellsInModule[imod], GetEventWeight());
  }
  @@ -6164,11 +6167,10 @@ TList * AliAnaCalorimeterQA::GetCreateOutputObjects()
  outputContainer->Add(fhGridCellsTimeLowGain);
  }
  + if(fFillAllCellAbsIdHistograms)
  + {
  fhNCellsSumAmpPerMod = new TH2F*[fNModules];
  - if(fFillAllCellTimeHisto)
  - fhTimeAmpPerRCU = new TH2F*[fNModules*fNRCU];
  -
  for(Int_t imod = 0; imod < fNModules; imod++)
  {
  if(imod < fFirstModule || imod > fLastModule) continue;
  @@ -6178,9 +6180,14 @@ TList * AliAnaCalorimeterQA::GetCreateOutputObjects()
  nptbins,ptmin,ptmax*4, ncebins,ncemin,ncemax);
  fhNCellsSumAmpPerMod[imod]->SetXTitle("#Sigma #it{Amplitude} (GeV)");
  fhNCellsSumAmpPerMod[imod]->SetYTitle("#Sigma #it{n}_{cells}");
  - outputContainer->Add(fhNCellsSumAmpPerMod[imod]);
  + outputContainer->Add(fhNCellsSumAmpPerMod[imod]);}
  + }
  - if(fFillAllCellTimeHisto)
  + if(fFillAllCellTimeHisto && fFillAllCellAbsIdHistograms)
  + {
  + fhTimeAmpPerRCU = new TH2F*[fNModules*fNRCU];
  +
  + for(Int_t imod = 0; imod < fNModules; imod++)
  {
  for(Int_t ircu = 0; ircu < fNRCU; ircu++)
  {
  @@ -6194,6 +6201,7 @@ TList * AliAnaCalorimeterQA::GetCreateOutputObjects()
  fhTimeAmpPerRCU[imod*fNRCU+ircu]->SetXTitle("#it{E} (GeV)");
  fhTimeAmpPerRCU[imod*fNRCU+ircu]->SetYTitle("#it{t} (ns)");
  outputContainer->Add(fhTimeAmpPerRCU[imod*fNRCU+ircu]);
  +
  }
  }
  }
  