message: Allow to save not-normalized D0-h plots & Ntrig, to be able to merge more data samples
diff: @@ -760,12 +760,20 @@ Bool_t AliDhCorrelationExtraction::ExtractCorrelations(Double_t thrMin, Double_t
  c1D_Norm->SaveAs(Form("Output_Root/h1D_%s_Canvas_Normalized_PtIntBins%dto%d_PoolInt_thr%1.1fto%1.1f.root",fDmesonLabel.Data(),fFirstpTbin,fLastpTbin,thrMin,thrMax));
  }
  +
  + //Draw 1D plots (Signal region, not normalized)
  + TCanvas *cFinNotNorm = new TCanvas(Form("cFinNotNorm_%1.1fto%1.1f",thrMin,thrMax),Form("cFinNotNorm_%s_IntPools_pTassoc%1.1fto%1.1f",fDmesonLabel.Data(),thrMin,thrMax),100,100,1200,700);
  + SetHistoCorrStyle(h1D_Subtr);
  + h1D_Subtr->Draw();
  + cFinNotNorm->SaveAs(Form("Output_png/AzimCorrDistr_NotNorm_%s_Canvas_PtIntBins%dto%d_PoolInt_thr%1.1fto%1.1f_Ntrig_%.3f.png",fDmesonLabel.Data(),fFirstpTbin,fLastpTbin,thrMin,thrMax,Snorm));
  + cFinNotNorm->SaveAs(Form("Output_Root/AzimCorrDistr_NotNorm_%s_Canvas_PtIntBins%dto%d_PoolInt_thr%1.1fto%1.1f_Ntrig_%.3f.root",fDmesonLabel.Data(),fFirstpTbin,fLastpTbin,thrMin,thrMax,Snorm));
  +
  //Apply normalization to number of triggers
  h1D_SubtrNorm = (TH1D*)h1D_Subtr->Clone("h1D_SubtrNorm");
  h1D_SubtrNorm->Scale(1./Snorm);
  h1D_SubtrNorm->SetTitle("Signal region after sideb. subt. corr. - Normalized to # of triggers");
  - //Draw 1D plots (Signal region, Sidebands, S-SB)
  + //Draw 1D plots (Signal region, normalized)
  TCanvas *cFinal = new TCanvas(Form("cFinal_%1.1fto%1.1f",thrMin,thrMax),Form("cFinal_%s_IntPools_pTassoc%1.1fto%1.1f",fDmesonLabel.Data(),thrMin,thrMax),100,100,1200,700);
  SetHistoCorrStyle(h1D_SubtrNorm);
  h1D_SubtrNorm->Draw();
  