37 h1->SetTitle(
"Unweighted Histogram");
38 h2->SetTitle(
"Weighted Histogram");
40 h1->SetBinContent(1, 0);
41 h1->SetBinContent(2, 1);
42 h1->SetBinContent(3, 0);
43 h1->SetBinContent(4, 1);
44 h1->SetBinContent(5, 1);
45 h1->SetBinContent(6, 6);
46 h1->SetBinContent(7, 7);
47 h1->SetBinContent(8, 2);
48 h1->SetBinContent(9, 22);
49 h1->SetBinContent(10, 30);
50 h1->SetBinContent(11, 27);
51 h1->SetBinContent(12, 20);
52 h1->SetBinContent(13, 13);
53 h1->SetBinContent(14, 9);
54 h1->SetBinContent(15, 9 +
w);
55 h1->SetBinContent(16, 13);
56 h1->SetBinContent(17, 19);
57 h1->SetBinContent(18, 11);
58 h1->SetBinContent(19, 9);
59 h1->SetBinContent(20, 0);
61 h2->SetBinContent(1, 2.20173025 );
62 h2->SetBinContent(2, 3.30143857);
63 h2->SetBinContent(3, 2.5892849);
64 h2->SetBinContent(4, 2.99990201);
65 h2->SetBinContent(5, 4.92877054);
66 h2->SetBinContent(6, 8.33036995);
67 h2->SetBinContent(7, 6.95084763);
68 h2->SetBinContent(8, 15.206357);
69 h2->SetBinContent(9, 23.9236012);
70 h2->SetBinContent(10, 44.3848114);
71 h2->SetBinContent(11, 49.4465599);
72 h2->SetBinContent(12, 25.1868858);
73 h2->SetBinContent(13, 16.3129692);
74 h2->SetBinContent(14, 13.0289612);
75 h2->SetBinContent(15, 16.7857609);
76 h2->SetBinContent(16, 22.9914703);
77 h2->SetBinContent(17, 30.5279255);
78 h2->SetBinContent(18, 12.5252123);
79 h2->SetBinContent(19, 16.4104557);
80 h2->SetBinContent(20, 7.86067867);
81 h2->SetBinError(1, 0.38974303 );
82 h2->SetBinError(2, 0.536510944);
83 h2->SetBinError(3, 0.529702604);
84 h2->SetBinError(4, 0.642001867);
85 h2->SetBinError(5, 0.969341516);
86 h2->SetBinError(6, 1.47611344);
87 h2->SetBinError(7, 1.69797957);
88 h2->SetBinError(8, 3.28577447);
89 h2->SetBinError(9, 5.40784931);
90 h2->SetBinError(10, 9.10106468);
91 h2->SetBinError(11, 9.73541737);
92 h2->SetBinError(12, 5.55019951);
93 h2->SetBinError(13, 3.57914758);
94 h2->SetBinError(14, 2.77877331);
95 h2->SetBinError(15, 3.23697519);
96 h2->SetBinError(16, 4.3608489);
97 h2->SetBinError(17, 5.77172089);
98 h2->SetBinError(18, 3.38666105);
99 h2->SetBinError(19, 2.98861837);
100 h2->SetBinError(20, 1.58402085);
107 h1->Chi2Test(h2,
"UW P",res);
118 resgr->
SetTitle(
"Normalized Residuals");
121 TF1 *
f =
new TF1(
"f",
"TMath::Gaus(x,0,1)",-10,10);
126 qqplot->
SetTitle(
"Q-Q plot of Normalized Residuals");
134 h1->SetMarkerColor(4);
135 h1->SetMarkerStyle(20);
141 h2->SetMarkerColor(4);
142 h2->SetMarkerStyle(20);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void w
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
virtual void SetRangeUser(Double_t ufirst, Double_t ulast)
Set the viewing range for the axis from ufirst to ulast (in user coordinates, that is,...
This class allows to draw quantile-quantile plots.
A TGraph is an object made of two arrays X and Y with npoints each.
void Draw(Option_t *chopt="") override
Draw this graph with its current attributes.
TAxis * GetXaxis() const
Get x axis of the graph.
TAxis * GetYaxis() const
Get y axis of the graph.
void SetTitle(const char *title="") override
Change (i.e.
1-D histogram with a double per channel (see TH1 documentation)
virtual void SetTitle(const char *title="")
Set the title of the TNamed.