Logo ROOT   6.07/09
Reference Guide
Functions | Variables
testGraphFit.cxx File Reference
#include "TApplication.h"
#include "TGraphErrors.h"
#include "TF1.h"
#include "TRandom3.h"
#include "TCanvas.h"
#include "TLegend.h"
#include "TPaveLabel.h"
#include "TStopwatch.h"
#include "TVirtualFitter.h"
#include "TMath.h"
#include "TStyle.h"
#include <vector>
#include <iterator>
#include <cassert>
Include dependency graph for testGraphFit.cxx:

Functions

void doFit (int n, const char *fitter)
 
double fitFunc (double *x, double *p)
 
int main (int argc, char **argv)
 
void makePoints (Int_t n, std::vector< double > &x, std::vector< double > &y, std::vector< double > &e)
 
void testGraphFit (int n=500)
 

Variables

int verbose = 0
 

Function Documentation

void doFit ( int  n,
const char *  fitter 
)

Definition at line 56 of file testGraphFit.cxx.

double fitFunc ( double *  x,
double *  p 
)

Definition at line 28 of file testGraphFit.cxx.

int main ( int  argc,
char **  argv 
)

Definition at line 151 of file testGraphFit.cxx.

void makePoints ( Int_t  n,
std::vector< double > &  x,
std::vector< double > &  y,
std::vector< double > &  e 
)

Definition at line 38 of file testGraphFit.cxx.

void testGraphFit ( int  n = 500)

Definition at line 133 of file testGraphFit.cxx.

Variable Documentation

int verbose = 0

Definition at line 26 of file testGraphFit.cxx.