fitting a parabola to a multigraph of 3 partly overlapping graphs with different errors
****************************************
Minimizer is Minuit2 / Migrad
Chi2 = 95.1374
NDf = 87
Edm = 2.06552e-19
NCalls = 55
p0 = 3.21134 +/- 0.428055
p1 = 1.87952 +/- 0.248404
p2 = 1.00914 +/- 0.0349228
{
int i;
}
"TMultiGraph of 3 TGraphErrors");
"Fitting a MultiGraph of 3 TGraphErrors");
}
{
int 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.
- Author
- Anna Kreshuk
Definition in file fitMultiGraph.C.