CLHEP 2.0.4.7 Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include "CLHEP/Random/Randomize.h"
#include "CLHEP/Random/RandGaussQ.h"
#include "CLHEP/Random/RandGaussT.h"
#include "CLHEP/Random/RandPoissonQ.h"
#include "CLHEP/Random/RandPoissonT.h"
#include "CLHEP/Units/PhysicalConstants.h"
#include "CLHEP/Random/defs.h"
#include <iostream>
#include <iomanip>
#include <cmath>
#include <stdlib.h>
#include <cstdlib>
Go to the source code of this file.
Classes | |
class | poisson |
Functions | |
bool | gaussianTest (HepRandom &dist, double mu, double sigma, int nNumbers) |
double * | createRefDist (poisson pdist, int N, int MINBIN, int MAXBINS, int clumping, int &firstBin, int &lastBin) |
bool | poissonTest (RandPoisson &dist, double mu, int N) |
int | testRandGauss () |
int | testRandGaussT () |
int | testRandGaussQ () |
int | testRandPoisson () |
int | testRandPoissonQ () |
int | testRandPoissonT () |
int | testRandGeneral () |
int | main () |
double* createRefDist | ( | poisson | pdist, | |
int | N, | |||
int | MINBIN, | |||
int | MAXBINS, | |||
int | clumping, | |||
int & | firstBin, | |||
int & | lastBin | |||
) |
bool gaussianTest | ( | HepRandom & | dist, | |
double | mu, | |||
double | sigma, | |||
int | nNumbers | |||
) |
Definition at line 181 of file testRandDists.cc.
Referenced by testRandGauss(), testRandGaussQ(), testRandGaussT(), and testRandGeneral().
int main | ( | ) |
Definition at line 1044 of file testRandDists.cc.
References testRandGauss(), testRandGaussQ(), testRandGaussT(), testRandGeneral(), testRandPoisson(), testRandPoissonQ(), and testRandPoissonT().
bool poissonTest | ( | RandPoisson & | dist, | |
double | mu, | |||
int | N | |||
) |
Definition at line 426 of file testRandDists.cc.
References createRefDist(), and CLHEP::RandPoisson::fire().
Referenced by testRandPoisson(), testRandPoissonQ(), and testRandPoissonT().
int testRandGauss | ( | ) |
Definition at line 581 of file testRandDists.cc.
References CLHEP::RandGauss::fire(), and gaussianTest().
Referenced by main().
int testRandGaussQ | ( | ) |
Definition at line 687 of file testRandDists.cc.
References CLHEP::RandGaussQ::fire(), and gaussianTest().
Referenced by main().
int testRandGaussT | ( | ) |
Definition at line 634 of file testRandDists.cc.
References CLHEP::RandGaussT::fire(), and gaussianTest().
Referenced by main().
int testRandGeneral | ( | ) |
Definition at line 917 of file testRandDists.cc.
References CLHEP::RandGeneral::fire(), and gaussianTest().
Referenced by main().
int testRandPoisson | ( | ) |
Definition at line 743 of file testRandDists.cc.
References CLHEP::RandPoisson::fire(), and poissonTest().
Referenced by main().
int testRandPoissonQ | ( | ) |
Definition at line 801 of file testRandDists.cc.
References CLHEP::RandPoissonQ::fire(), and poissonTest().
Referenced by main().
int testRandPoissonT | ( | ) |
Definition at line 859 of file testRandDists.cc.
References CLHEP::RandPoissonT::fire(), and poissonTest().
Referenced by main().