Logo ROOT   6.10/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:

Functions

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

Function Documentation

◆ chi2FromFit()

double chi2FromFit ( const TF1 func)

Definition at line 65 of file testFit.cxx.

◆ compareResult()

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

Definition at line 57 of file testFit.cxx.

◆ main()

int main ( )

Definition at line 929 of file testFit.cxx.

◆ printData() [1/2]

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

Definition at line 29 of file testFit.cxx.

◆ printData() [2/2]

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

Definition at line 50 of file testFit.cxx.

◆ testFit()

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

Definition at line 918 of file testFit.cxx.

◆ testGraphFit()

int testGraphFit ( )

Definition at line 798 of file testFit.cxx.

◆ testHisto1DFit()

int testHisto1DFit ( )

Definition at line 71 of file testFit.cxx.

◆ testHisto1DPolFit()

int testHisto1DPolFit ( )

Definition at line 417 of file testFit.cxx.

◆ testHisto2DFit()

int testHisto2DFit ( )

Definition at line 501 of file testFit.cxx.

◆ testUnBin1DFit()

int testUnBin1DFit ( )

Definition at line 697 of file testFit.cxx.