ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
minuit2FitBench2D.C File Reference
#include "TH1.h"
#include "TF1.h"
#include "TH2D.h"
#include "TF2.h"
#include "TCanvas.h"
#include "TStopwatch.h"
#include "TSystem.h"
#include "TRandom3.h"
#include "TVirtualFitter.h"
#include "TPaveLabel.h"
#include "TStyle.h"
Include dependency graph for minuit2FitBench2D.C:

Go to the source code of this file.

Functions

Double_t gaus2D (Double_t *x, Double_t *par)
 
Double_t fitFunction (Double_t *x, Double_t *par)
 
void fillHisto (int n=10000)
 
void DoFit (const char *fitter, TVirtualPad *pad, Int_t npass)
 
void minuit2FitBench2D (int n=100000)
 

Variables

TF2fitFcn
 
TH2Dhisto
 

Function Documentation

void DoFit ( const char *  fitter,
TVirtualPad pad,
Int_t  npass 
)

Definition at line 48 of file minuit2FitBench2D.C.

Referenced by minuit2FitBench2D().

void fillHisto ( int  n = 10000)

Definition at line 38 of file minuit2FitBench2D.C.

Referenced by minuit2FitBench2D().

Double_t fitFunction ( Double_t x,
Double_t par 
)

Definition at line 34 of file minuit2FitBench2D.C.

Referenced by minuit2FitBench2D().

Double_t gaus2D ( Double_t x,
Double_t par 
)

Definition at line 27 of file minuit2FitBench2D.C.

Referenced by fitFunction().

void minuit2FitBench2D ( int  n = 100000)

Definition at line 67 of file minuit2FitBench2D.C.

Variable Documentation

TF2* fitFcn

Definition at line 23 of file minuit2FitBench2D.C.

TH2D* histo

Definition at line 24 of file minuit2FitBench2D.C.