CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

testRandom.cc File Reference

#include "CLHEP/Units/GlobalPhysicalConstants.h"
#include "CLHEP/Random/Randomize.h"
#include <iostream>
#include <cstdlib>

Go to the source code of this file.

Functions

void init ()
void layout ()
void dist_layout ()
void user_layout ()
void start_test ()
int main ()

Variables

HepJamesRandom theJamesEngine
RandEngine theRandEngine
DRand48Engine theDRand48Engine
RanluxEngine theRanluxEngine (19780503, 4)
Ranlux64Engine theRanlux64Engine
RanecuEngine theRanecuEngine
Hurd160Engine theHurd160Engine
Hurd288Engine theHurd288Engine
MTwistEngine theMTwistEngine
RanshiEngine theRanshiEngine
DualRand theDualRandEngine
TripleRand theTripleRandEngine


Function Documentation

void dist_layout (  ) 

Definition at line 90 of file testRandom.cc.

References exit, CLHEP::RandStudentT::fire(), CLHEP::RandGamma::fire(), CLHEP::RandChiSquare::fire(), CLHEP::RandBinomial::fire(), CLHEP::RandPoisson::fire(), CLHEP::RandBreitWigner::fire(), CLHEP::RandGauss::fire(), CLHEP::RandExponential::fire(), CLHEP::RandFlat::fire(), CLHEP::RandFlat::fireArray(), CLHEP::RandFlat::fireInt(), and CLHEP::RandBreitWigner::fireM2().

Referenced by start_test().

void init (  ) 

Definition at line 27 of file testRandom.cc.

References exit.

Referenced by main().

void layout (  ) 

Definition at line 54 of file testRandom.cc.

Referenced by start_test().

int main (  ) 

Definition at line 347 of file testRandom.cc.

References init(), and start_test().

void start_test (  ) 

Definition at line 260 of file testRandom.cc.

References dist_layout(), exit, layout(), theDRand48Engine, theDualRandEngine, theHurd160Engine, theHurd288Engine, theMTwistEngine, theRandEngine, theRanecuEngine, theRanlux64Engine, theRanluxEngine, theRanshiEngine, theTripleRandEngine, and user_layout().

Referenced by main().

void user_layout (  ) 

Definition at line 154 of file testRandom.cc.

References theDRand48Engine, theDualRandEngine, theHurd160Engine, theHurd288Engine, theJamesEngine, theMTwistEngine, theRandEngine, theRanecuEngine, theRanlux64Engine, theRanluxEngine, theRanshiEngine, and theTripleRandEngine.

Referenced by start_test().


Variable Documentation

DRand48Engine theDRand48Engine

Definition at line 16 of file testRandom.cc.

Referenced by start_test(), and user_layout().

DualRand theDualRandEngine

Definition at line 24 of file testRandom.cc.

Referenced by start_test(), and user_layout().

Hurd160Engine theHurd160Engine

Definition at line 20 of file testRandom.cc.

Referenced by start_test(), and user_layout().

Hurd288Engine theHurd288Engine

Definition at line 21 of file testRandom.cc.

Referenced by start_test(), and user_layout().

HepJamesRandom theJamesEngine

Definition at line 14 of file testRandom.cc.

Referenced by user_layout().

MTwistEngine theMTwistEngine

Definition at line 22 of file testRandom.cc.

Referenced by start_test(), and user_layout().

RandEngine theRandEngine

Definition at line 15 of file testRandom.cc.

Referenced by start_test(), and user_layout().

RanecuEngine theRanecuEngine

Definition at line 19 of file testRandom.cc.

Referenced by start_test(), and user_layout().

Ranlux64Engine theRanlux64Engine

Definition at line 18 of file testRandom.cc.

Referenced by start_test(), and user_layout().

RanluxEngine theRanluxEngine(19780503, 4)

Referenced by start_test(), and user_layout().

RanshiEngine theRanshiEngine

Definition at line 23 of file testRandom.cc.

Referenced by start_test(), and user_layout().

TripleRand theTripleRandEngine

Definition at line 25 of file testRandom.cc.

Referenced by start_test(), and user_layout().


Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7