24 TString XLabel, TString, Bool_t logY)
26 std::vector<TH1D*> hists;
28 for (UInt_t iBackground = 0; iBackground !=
fBackgroundType.size(); ++iBackground) {
33 tempHist->Scale(1.0/tempHist->Integral(
"width"));
35 hists.push_back(tempHist);
38 for (
auto* hist: hists)
39 Message(
eInfo,
"Mean: %f, StdDev: %f", hist->GetMean(), hist->GetStdDev());
41 BaseCanvas(FileBase, hists, XLabel,
"A.U.", logY);
43 for (UInt_t i0 = 0; i0 != hists.size(); ++i0)
50 TString XLabel, TString, Bool_t logY)
52 Double_t XBins[NumXBins+1];
54 MakeCanvas(FileBase, NumXBins, XBins, XLabel,
"", logY);