ROOT  6.06/09
Reference Guide
Functions
testFit.cxx File Reference
#include "TH1.h"
#include "TH2.h"
#include "TF1.h"
#include "TF2.h"
#include "TGraphErrors.h"
#include "TGraphAsymmErrors.h"
#include "TGraph2DErrors.h"
#include "TSystem.h"
#include "TRandom3.h"
#include "TROOT.h"
#include "TVirtualFitter.h"
#include "Fit/BinData.h"
#include "Fit/UnBinData.h"
#include "HFitInterface.h"
#include "Fit/Fitter.h"
#include "Math/WrappedMultiTF1.h"
#include "Math/WrappedParamFunction.h"
#include "Math/WrappedTF1.h"
#include "RConfigure.h"
#include <string>
#include <iostream>
#include <cmath>
+ Include dependency graph for testFit.cxx:

Go to the source code of this file.

Functions

void printData (const ROOT::Fit::BinData &data)
 
void printData (const ROOT::Fit::UnBinData &data)
 
int compareResult (double v1, double v2, std::string s="", double tol=0.01)
 
double chi2FromFit (const TF1 *func)
 
int testHisto1DFit ()
 
int testHisto1DPolFit ()
 
int testHisto2DFit ()
 
int testUnBin1DFit ()
 
int testGraphFit ()
 
template<typename Test >
int testFit (Test t, std::string name)
 
int main ()
 

Function Documentation

double chi2FromFit ( const TF1 func)

Definition at line 65 of file testFit.cxx.

Referenced by testHisto1DFit().

int compareResult ( double  v1,
double  v2,
std::string  s = "",
double  tol = 0.01 
)
int main ( )

Definition at line 929 of file testFit.cxx.

void printData ( const ROOT::Fit::BinData data)

Definition at line 29 of file testFit.cxx.

Referenced by testHisto1DFit(), and testHisto1DPolFit().

void printData ( const ROOT::Fit::UnBinData data)

Definition at line 50 of file testFit.cxx.

template<typename Test >
int testFit ( Test  t,
std::string  name 
)

Definition at line 918 of file testFit.cxx.

Referenced by main().

int testGraphFit ( )

Definition at line 798 of file testFit.cxx.

Referenced by main().

int testHisto1DFit ( )

Definition at line 71 of file testFit.cxx.

Referenced by main().

int testHisto1DPolFit ( )

Definition at line 417 of file testFit.cxx.

Referenced by main().

int testHisto2DFit ( )

Definition at line 501 of file testFit.cxx.

Referenced by main().

int testUnBin1DFit ( )

Definition at line 697 of file testFit.cxx.

Referenced by main().