![]() |
ROOT 6.08/07 Reference Guide |
#include "THnSparse.h"
#include "TH2.h"
#include "TF2.h"
#include "TF3.h"
#include "TCanvas.h"
#include "TApplication.h"
#include "TMath.h"
#include "Fit/SparseData.h"
#include "HFitInterface.h"
#include "Fit/Fitter.h"
#include "Math/WrappedMultiTF1.h"
#include "TRandom2.h"
#include <iostream>
#include <iterator>
#include <algorithm>
#include <list>
#include <vector>
#include <cmath>
#include <cassert>
Functions | |
void | DoFit (THnSparse *s, TF1 *f, ROOT::Fit::BinData &bd) |
void | fillSparse (THnSparse *s, TF1 *f, int nEvents=5) |
int | findBin (ROOT::Fit::BinData &bd, const double *x) |
void | fitSparse1D () |
void | fitSparse2D () |
void | fitSparse3D () |
double | gaus1D (double *x, double *p) |
double | gaus2D (double *x, double *p) |
double | gaus3D (double *x, double *p) |
int | main (int argc, char **argv) |
ostream & | operator<< (ostream &out, ROOT::Fit::BinData &bd) |
bool | operator== (ROOT::Fit::BinData &bd1, ROOT::Fit::BinData &bd2) |
double | pol2D (double *x, double *p) |
Variables | |
Int_t | bsize [] = { 10, 10, 10 } |
TRandom2 | r (17) |
bool | showGraphics = false |
Double_t | x_max [] = { 10., 10., 10. } |
Double_t | x_min [] = { 0., 0., 0. } |
void DoFit | ( | THnSparse * | s, |
TF1 * | f, | ||
ROOT::Fit::BinData & | bd | ||
) |
Definition at line 162 of file SparseFit4.cxx.
Definition at line 147 of file SparseFit4.cxx.
int findBin | ( | ROOT::Fit::BinData & | bd, |
const double * | x | ||
) |
Definition at line 76 of file SparseFit4.cxx.
void fitSparse1D | ( | ) |
Definition at line 204 of file SparseFit4.cxx.
void fitSparse2D | ( | ) |
Definition at line 224 of file SparseFit4.cxx.
void fitSparse3D | ( | ) |
Definition at line 272 of file SparseFit4.cxx.
double gaus1D | ( | double * | x, |
double * | p | ||
) |
Definition at line 35 of file SparseFit4.cxx.
double gaus2D | ( | double * | x, |
double * | p | ||
) |
Definition at line 40 of file SparseFit4.cxx.
double gaus3D | ( | double * | x, |
double * | p | ||
) |
Definition at line 45 of file SparseFit4.cxx.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 309 of file SparseFit4.cxx.
ostream& operator<< | ( | ostream & | out, |
ROOT::Fit::BinData & | bd | ||
) |
Definition at line 57 of file SparseFit4.cxx.
bool operator== | ( | ROOT::Fit::BinData & | bd1, |
ROOT::Fit::BinData & | bd2 | ||
) |
Definition at line 100 of file SparseFit4.cxx.
double pol2D | ( | double * | x, |
double * | p | ||
) |
Definition at line 52 of file SparseFit4.cxx.
Int_t bsize[] = { 10, 10, 10 } |
Definition at line 31 of file SparseFit4.cxx.
TRandom2 r(17) |
bool showGraphics = false |
Definition at line 28 of file SparseFit4.cxx.
Double_t x_max[] = { 10., 10., 10. } |
Definition at line 33 of file SparseFit4.cxx.
Double_t x_min[] = { 0., 0., 0. } |
Definition at line 32 of file SparseFit4.cxx.