Logo ROOT   6.07/09
Reference Guide
Functions | Variables
timeGA.cxx File Reference
#include "TH1.h"
#include "TF1.h"
#include "Fit/BinData.h"
#include "Fit/Chi2FCN.h"
#include "Math/WrappedMultiTF1.h"
#include "Math/Minimizer.h"
#include "Math/GeneticMinimizer.h"
#include "Math/Factory.h"
#include "HFitInterface.h"
#include "TMath.h"
#include <TStopwatch.h>
Include dependency graph for timeGA.cxx:

Functions

Double_t background (Double_t *x, Double_t *par)
 
Double_t fitFunction (Double_t *x, Double_t *par)
 
int GAMinimize (ROOT::Math::IMultiGenFunction &chi2Func, double &xm1, double &xm2)
 
int GAMinTutorial ()
 
Double_t gaussianPeak (Double_t *x, Double_t *par)
 
int main (int argc, char **argv)
 

Variables

const double gAbsTolerance = 0.1
 
int gVerbose = 0
 
const int ndata = 10000
 
double par0 [8] = { 1, 0.05, 10 , 2, 0.5 , 10 , 7 , 1. }
 

Function Documentation

Double_t background ( Double_t x,
Double_t par 
)

Definition at line 19 of file timeGA.cxx.

Double_t fitFunction ( Double_t x,
Double_t par 
)

Definition at line 29 of file timeGA.cxx.

int GAMinimize ( ROOT::Math::IMultiGenFunction chi2Func,
double &  xm1,
double &  xm2 
)

Definition at line 42 of file timeGA.cxx.

int GAMinTutorial ( )

Definition at line 92 of file timeGA.cxx.

Double_t gaussianPeak ( Double_t x,
Double_t par 
)

Definition at line 24 of file timeGA.cxx.

int main ( int  argc,
char **  argv 
)

Definition at line 124 of file timeGA.cxx.

Variable Documentation

const double gAbsTolerance = 0.1

Definition at line 36 of file timeGA.cxx.

int gVerbose = 0

Definition at line 37 of file timeGA.cxx.

const int ndata = 10000

Definition at line 35 of file timeGA.cxx.

double par0[8] = { 1, 0.05, 10 , 2, 0.5 , 10 , 7 , 1. }

Definition at line 34 of file timeGA.cxx.