unuranHist.cxx File Reference

#include "TUnuran.h"
#include "TUnuranEmpDist.h"
#include "TUnuranMultiContDist.h"
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include "TMath.h"
#include "TF1.h"
#include "TF2.h"
#include "TF3.h"
#include "TGraph.h"
#include "TGraph2D.h"
#include "TApplication.h"
#include "TCanvas.h"
#include "TRandom3.h"
#include "TStopwatch.h"
#include "TError.h"
#include <iterator>
#include <iostream>

Go to the source code of this file.

Functions

int unuranHist ()
double gaus2d (double *x, double *p)
double gaus3d (double *x, double *p)
int unuranGraf ()
int unuranGraf2D ()
int main (int argc, char **argv)


Function Documentation

double gaus2d ( double x,
double p 
)

Definition at line 157 of file unuranHist.cxx.

References c, exp(), TMath::Pi(), result(), sqrt(), and u.

Referenced by log_gaus2d(), testBinDataData2D(), testBinDataData2DInt(), testConversion2D(), testH2Integral(), testSparseData2DFull(), testSparseData2DSparse(), unuranGraf(), and unuranMulti2D().

double gaus3d ( double x,
double p 
)

Definition at line 170 of file unuranHist.cxx.

References c, exp(), TMath::Pi(), result(), sqrt(), u, and w.

Referenced by log_gaus3d(), testBinDataData3D(), testBinDataData3DInt(), testConversion3D(), testDistrMultiDim(), testH3Integral(), testSparseData3DFull(), testSparseData3DSparse(), unuranGraf2D(), and unuranMultiDim().

int main ( int  argc,
char **  argv 
)

Definition at line 359 of file unuranHist.cxx.

References TApplication::Run(), unuranGraf(), unuranGraf2D(), and unuranHist().

int unuranGraf (  ) 

Definition at line 186 of file unuranHist.cxx.

References c1, TCanvas::cd(), TH1::Chi2Test(), ROOT::Math::gv_detail::dist(), TPad::Divide(), TGraph::Draw(), TH1::Draw(), E, f2, TH2::Fill(), TH1::Fill(), gaus2d(), TGraph::GetX(), TGraph::GetY(), gr, gRandom, h2, i, TUnuran::Init(), TUnuran::MethodName(), n, p2(), TUnuran::SampleMulti(), TFormula::SetParameters(), TGraph::SetPoint(), and w.

Referenced by main().

int unuranGraf2D (  ) 

Definition at line 271 of file unuranHist.cxx.

References c1, TCanvas::cd(), TH1::Chi2Test(), ROOT::Math::gv_detail::dist(), TPad::Divide(), TGraph::Draw(), TF3::Draw(), TH1::Draw(), E, TH3::Fill(), TH1::Fill(), gaus3d(), TGraph::GetX(), TGraph::GetY(), gr, gRandom, i, TUnuran::Init(), TUnuran::MethodName(), n, p, TUnuran::SampleMulti(), TFormula::SetParameters(), TGraph::SetPoint(), and w.

Referenced by main().

int unuranHist (  ) 

Definition at line 33 of file unuranHist.cxx.

References c1, TCanvas::cd(), TH1::Chi2Test(), ROOT::Math::gv_detail::dist(), TPad::Divide(), TH1::Draw(), E, TH2::Fill(), TH1::Fill(), TH1::FillRandom(), TH2::FillRandom(), gErrorIgnoreLevel, TH1::GetRandom(), h1, h2, i, TUnuran::Init(), kBlue, kRed, TUnuran::MethodName(), n, TUnuran::Sample(), TH1::SetBuffer(), TAttLine::SetLineColor(), w, xmax, and xmin.

Referenced by main().


Generated on Tue Jul 5 16:07:44 2011 for ROOT_528-00b_version by  doxygen 1.5.1