18void hist030_TRatioPlot_residual()
21 auto c1 =
new TCanvas(
"c1",
"fit residual simple");
22 auto h1 =
new TH1D(
"h1",
"h1", 50, -5, 5);
23 h1->FillRandom(
"gaus", 2000);
25 h1->GetXaxis()->SetTitle(
"x");
28 rp1->GetLowerRefYaxis()->SetTitle(
"ratio");
29 rp1->GetUpperRefYaxis()->SetTitle(
"entries");
1-D histogram with a double per channel (see TH1 documentation)