|
ROOT 6.10/09 Reference Guide |
#include <RooAbsPdf.h>#include <RooRealVar.h>#include <RooArgSet.h>#include <RooGaussian.h>#include "RooDataSet.h"#include "RooGlobalFunc.h"#include "RooFitResult.h"#include "RooProdPdf.h"#include <TF1.h>#include <TTree.h>#include <TRandom3.h>#include "TStopwatch.h"#include "Math/DistFunc.h"#include "Fit/UnBinData.h"#include "Fit/BinData.h"#include "Fit/Fitter.h"#include "WrapperRooPdf.h"#include <string>#include <iostream>#include <vector>#include <memory>#include "MinimizerTypes.h"#include "Math/WrappedParamFunction.h"#include <cmath>Typedefs | |
| typedef ROOT::Math::IParamMultiFunction | Func |
Functions | |
| template<class MinType > | |
| int | DoFit (TTree *tree, Func &func, bool debug=false, bool=false) |
| void | fillTree (TTree &t2) |
| void | FillUnBinData (ROOT::Fit::UnBinData &d, TTree *tree) |
| template<class MinType , class FitObj > | |
| int | FitUsingNewFitter (FitObj *fitobj, Func &func, bool useGrad=false) |
| int | FitUsingRooFit (TTree &tree, RooAbsPdf &pdf, RooArgSet &xvars) |
| int | main () |
Variables | |
| double | iniPar [2 *N] |
| const int | N = 3 |
| const int | nEvents = 10000 |
| const int | nfit = 1 |
| typedef ROOT::Math::IParamMultiFunction Func |
Definition at line 47 of file testRooFit.cxx.
Definition at line 253 of file testRooFit.cxx.
Definition at line 49 of file testRooFit.cxx.
| void FillUnBinData | ( | ROOT::Fit::UnBinData & | d, |
| TTree * | tree | ||
| ) |
Definition at line 78 of file testRooFit.cxx.
| int FitUsingNewFitter | ( | FitObj * | fitobj, |
| Func & | func, | ||
| bool | useGrad = false |
||
| ) |
Definition at line 287 of file testRooFit.cxx.
Definition at line 194 of file testRooFit.cxx.
| int main | ( | ) |
Definition at line 340 of file testRooFit.cxx.
| double iniPar[2 *N] |
Definition at line 43 of file testRooFit.cxx.
| const int N = 3 |
Definition at line 40 of file testRooFit.cxx.
| const int nEvents = 10000 |
Definition at line 42 of file testRooFit.cxx.
| const int nfit = 1 |
Definition at line 41 of file testRooFit.cxx.