ROOT
6.07/01
Reference Guide
|
#include "Math/Random.h"
#include "Math/GSLRndmEngines.h"
#include "Math/DistFunc.h"
#include "TStopwatch.h"
#include "TRandom3.h"
#include "TRandom2.h"
#include "TCanvas.h"
#include "TH1D.h"
#include "TH2D.h"
#include "TH3D.h"
#include "TMath.h"
#include <iostream>
#include <cmath>
#include <typeinfo>
Go to the source code of this file.
Macros | |
#define | PI 3.14159265358979323846264338328 /* pi */ |
#define | NEVT 1000000 |
Functions | |
void | testDiff (TH1D &h1, TH1D &h2, const std::string &name="") |
template<class R > | |
std::string | findName (const R &r) |
template<class R > | |
void | testPoisson (R &r, double mu, TH1D &h) |
template<class R > | |
unsigned int | genPoisson (R &r, double mu) |
template<class R > | |
unsigned int | genPoisson2 (R &r, double mu) |
template<class R > | |
void | testPoisson2 (R &r, double mu, TH1D &h) |
template<class R > | |
void | testFlat (R &r, TH1D &h) |
template<class R > | |
void | testGaus (R &r, double mu, double sigma, TH1D &h) |
template<class R > | |
void | testLandau (R &r, TH1D &h) |
template<class R > | |
void | testBreitWigner (R &r, double mu, double gamma, TH1D &h) |
template<class R > | |
void | testBinomial (R &r, int ntot, double p, TH1D &h) |
template<class R > | |
void | testBinomialCLHEP (R &r, int ntot, double p, TH1D &h) |
template<class R > | |
void | testMultinomial (R &r, int ntot, TH1D &h1, TH1D &h2) |
template<class R > | |
void | testExp (R &r, TH1D &h) |
template<class R > | |
void | testCircle (R &r, TH1D &h) |
template<class R > | |
void | testSphere (R &r, TH1D &h1, TH1D &h2) |
int | testRandomDist () |
int | main () |
Variables | |
static bool | fillHist = false |
#define NEVT 1000000 |
Definition at line 38 of file testRandomDist.cxx.
Referenced by testBinomial(), testBinomialCLHEP(), testBreitWigner(), testCircle(), testExp(), testFlat(), testGaus(), testLandau(), testMultinomial(), testPoisson(), testPoisson2(), testRandomDist(), and testSphere().
#define PI 3.14159265358979323846264338328 /* pi */ |
Definition at line 32 of file testRandomDist.cxx.
Referenced by testRandomDist().
std::string findName | ( | const R & | r | ) |
Definition at line 74 of file testRandomDist.cxx.
Referenced by testBinomial(), testBinomialCLHEP(), testBreitWigner(), testCircle(), testExp(), testFlat(), testGaus(), testLandau(), testMultinomial(), testPoisson(), testPoisson2(), and testSphere().
Definition at line 118 of file testRandomDist.cxx.
Definition at line 171 of file testRandomDist.cxx.
int main | ( | ) |
Definition at line 846 of file testRandomDist.cxx.
Definition at line 432 of file testRandomDist.cxx.
Referenced by testRandomDist().
Definition at line 457 of file testRandomDist.cxx.
Referenced by testRandomDist().
Definition at line 406 of file testRandomDist.cxx.
Referenced by testRandomDist().
Definition at line 565 of file testRandomDist.cxx.
Referenced by testRandomDist().
Definition at line 52 of file testRandomDist.cxx.
Referenced by testRandomDist().
Definition at line 540 of file testRandomDist.cxx.
Referenced by testRandomDist().
Definition at line 325 of file testRandomDist.cxx.
Referenced by testRandomDist().
Definition at line 351 of file testRandomDist.cxx.
Referenced by testRandomDist().
Definition at line 378 of file testRandomDist.cxx.
Referenced by testRandomDist().
Definition at line 482 of file testRandomDist.cxx.
Referenced by testRandomDist().
Definition at line 91 of file testRandomDist.cxx.
Referenced by testRandomDist().
Definition at line 219 of file testRandomDist.cxx.
int testRandomDist | ( | ) |
Definition at line 657 of file testRandomDist.cxx.
Referenced by main().
Definition at line 594 of file testRandomDist.cxx.
Referenced by testRandomDist().
|
static |
Definition at line 48 of file testRandomDist.cxx.
Referenced by testBinomial(), testBinomialCLHEP(), testBreitWigner(), testCircle(), testExp(), testFlat(), testGaus(), testLandau(), testMultinomial(), testPoisson(), testPoisson2(), and testSphere().