33 TH1D *h1 =
new TH1D(
"h1",
"h1", n, 4, 16);
34 TH1D *h2 =
new TH1D(
"h2",
"h2", n, 4, 16);
36 h1->
SetTitle(
"Unweighted Histogram");
109 for (
Int_t i=0; i<
n; i++) x[i]= 4.+i*12./20.+12./40.;
117 resgr->
SetTitle(
"Normalized Residuals");
120 TF1 *f =
new TF1(
"f",
"TMath::Gaus(x,0,1)",-10,10);
125 qqplot->
SetTitle(
"Q-Q plot of Normalized Residuals");
134 gPad->SetFrameFillColor(21);
141 gPad->SetFrameFillColor(21);
147 gPad->SetFrameFillColor(21);
152 gPad->SetFrameFillColor(21);
virtual Double_t Chi2Test(const TH1 *h2, Option_t *option="UU", Double_t *res=0) const
chi^{2} test for comparing weighted and unweighted histograms
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
virtual void SetTitle(const char *title="")
Set graph title.
virtual void Draw(Option_t *chopt="")
Draw this graph with its current attributes.
This class allows to draw quantile-quantile plots.
virtual void SetRangeUser(Double_t ufirst, Double_t ulast)
Set the viewing range for the axis from ufirst to ulast (in user coordinates).
virtual void SetMarkerColor(Color_t mcolor=1)
virtual void SetBinError(Int_t bin, Double_t error)
see convention for numbering bins in TH1::GetBin
TAxis * GetXaxis() const
Get x axis of the graph.
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void SetFillColor(Color_t fcolor)
virtual void SetBinContent(Int_t bin, Double_t content)
Set bin content see convention for numbering bins in TH1::GetBin In case the bin number is greater th...
virtual void SetMarkerStyle(Style_t mstyle=1)
1-D histogram with a double per channel (see TH1 documentation)}
virtual void SetMarkerSize(Size_t msize=1)
TAxis * GetYaxis() const
Get y axis of the graph.
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.
A Graph is a graphics object made of two arrays X and Y with npoints each.
virtual void SetEntries(Double_t n)
virtual void SetTitle(const char *title)
Change (i.e.
virtual void Update()
Update canvas pad buffers.
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.