28double g2(
double *
x,
double *par) {
33double fun2(
double *
x,
double *par) {
36 double *
p3 = &par[10];
44 {100,-3,3,-3,3,160,0,0.8,0,0.9,40,4,0.7,4,0.7};
49 TH2F *h2 =
new TH2F(
"h2",
"from f2",40,-10,10,40,-10,10);
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 Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
virtual void SetParameters(const Double_t *params)
A 2-Dim function with parameters.
virtual TFitResultPtr Fit(const char *formula, Option_t *option="", Option_t *goption="", Double_t xmin=0, Double_t xmax=0)
Fit histogram with function fname.
2-D histogram with a float per channel (see TH1 documentation)
void FillRandom(TF1 *f1, Int_t ntimes=5000, TRandom *rng=nullptr) override
Fill histogram following distribution in function fname.
double ratio(double numerator, double denominator)
Double_t Exp(Double_t x)
Returns the base-e exponential function of x, which is e raised to the power x.