ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:

Go to the source code of this file.

Functions

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

Variables

int verbose = 0
 

Function Documentation

void doFit ( int  n,
const char *  fitter 
)
double fitFunc ( double x,
double p 
)

Definition at line 28 of file testGraphFit.cxx.

Referenced by doFit().

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.

Referenced by doFit().

void testGraphFit ( int  n = 500)

Definition at line 133 of file testGraphFit.cxx.

Referenced by main().

Variable Documentation

int verbose = 0

Definition at line 26 of file testGraphFit.cxx.

Referenced by doFit(), and main().