Logo ROOT   6.07/09
Reference Guide
Functions | Variables
SparseDataComparer.cxx File Reference
#include "TH2.h"
#include "TF2.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 <iostream>
#include <iterator>
#include <algorithm>
#include <functional>
Include dependency graph for SparseDataComparer.cxx:

Functions

int findBin (ROOT::Fit::BinData &bd, const double *x)
 
double gaus2D (double *x, double *p)
 
int main (int argc, char **argv)
 
void OneDimension ()
 
ostream & operator<< (ostream &out, ROOT::Fit::BinData &bd)
 
bool operator== (ROOT::Fit::BinData &bd1, ROOT::Fit::BinData &bd2)
 
void TwoDimensions ()
 

Variables

double maxRange [3] = { 5., 5., 5.}
 
double minRange [3] = { -5., -5., -5.}
 
int nbins [3] = {10 , 10 , 100 }
 
bool showGraphics = false
 

Function Documentation

int findBin ( ROOT::Fit::BinData bd,
const double *  x 
)

Definition at line 45 of file SparseDataComparer.cxx.

double gaus2D ( double *  x,
double *  p 
)

Definition at line 151 of file SparseDataComparer.cxx.

int main ( int  argc,
char **  argv 
)

Definition at line 201 of file SparseDataComparer.cxx.

void OneDimension ( )

Definition at line 115 of file SparseDataComparer.cxx.

ostream& operator<< ( ostream &  out,
ROOT::Fit::BinData bd 
)

Definition at line 26 of file SparseDataComparer.cxx.

bool operator== ( ROOT::Fit::BinData bd1,
ROOT::Fit::BinData bd2 
)

Definition at line 66 of file SparseDataComparer.cxx.

void TwoDimensions ( )

Definition at line 157 of file SparseDataComparer.cxx.

Variable Documentation

double maxRange[3] = { 5., 5., 5.}

Definition at line 21 of file SparseDataComparer.cxx.

double minRange[3] = { -5., -5., -5.}

Definition at line 20 of file SparseDataComparer.cxx.

int nbins[3] = {10 , 10 , 100 }

Definition at line 22 of file SparseDataComparer.cxx.

bool showGraphics = false

Definition at line 24 of file SparseDataComparer.cxx.