32   return par[0] + par[1]*
x[0] + par[2]*
x[0]*
x[0];
 
   38   TMath::Max( 1.e-10,(
x[0]-par[2])*(
x[0]-par[2]) + .25*par[1]*par[1]);
 
   47   printf(
"\n*********************************************************************************\n");
 
   49   printf(
"*********************************************************************************\n");
 
   57   fitFcn->SetParameters(1,1,1,6,.03,1);
 
   59   std::string title = std::string(fitter) + 
" fit bench";
 
   60   histo = 
new TH1D(fitter,title.c_str(),200,0,3);
 
   72      if (
pass == 0)
fitFcn->SetParameters(1,1,1,6,.03,1);
 
   73      for (
int i=0;i<5000;i++) {
 
   95   p->SetTextColor(
kRed+3);
 
  129   c1->SaveAs(
"FitBench.root");
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t SetLineColor
R__EXTERN TRandom * gRandom
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
R__EXTERN TStyle * gStyle
static void SetDefaultMinimizer(const char *type, const char *algo=nullptr)
Set the default Minimizer type and corresponding algorithms.
1-D histogram with a double per channel (see TH1 documentation)
TH1 is the base class of all histogram classes in ROOT.
static void AddDirectory(Bool_t add=kTRUE)
Sets the flag controlling the automatic add of histograms in memory.
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.
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual TF1 * GetFunction(const char *name) const
Return pointer to function with name.
A Pave (see TPave) with a text centered in the Pave.
Random number generator class based on M.
void SetStatY(Float_t y=0)
void SetOptFit(Int_t fit=1)
The type of information about fit parameters printed in the histogram statistics box can be selected ...
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.