54 gr2->SetMarkerStyle(24);
55 gr2->SetMarkerSize(0.3);
57 gr3->SetMarkerStyle(24);
58 gr3->SetMarkerSize(0.3);
62 "TMultiGraph of 3 TGraphErrors");
68 "Fitting a MultiGraph of 3 TGraphErrors");
78 fpol->SetLineWidth(1);
94 double *
xtotal =
new double[
n*3];
95 double *
ytotal =
new double[
n*3];
96 double *
etotal =
new double[
n*3];
100 for (i=0; i<
n; i++) {
113 for (i=
n; i<2*
n; i++)
115 for (i=2*
n; i<3*
n; i++)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
A TGraphErrors is a TGraph with error bars.
A TMultiGraph is a collection of TGraph (or derived) objects.
virtual TFitResultPtr Fit(const char *formula, Option_t *option="", Option_t *goption="", Axis_t xmin=0, Axis_t xmax=0)
Fit this graph with function with name fname.
virtual void Add(TGraph *graph, Option_t *chopt="")
Add a new graph to the list of graphs.
TF1 * GetFunction(const char *name) const
Return pointer to function with name.
void Draw(Option_t *chopt="") override
Draw this multigraph with its current attributes.
This is the base class for the ROOT Random number generators.
Double_t Gaus(Double_t x, Double_t mean=0, Double_t sigma=1, Bool_t norm=kFALSE)
Calculates a gaussian function with mean and sigma.