Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Random Class Reference

Uses CLHEP's HepRandom, providing static functions. More...

#include <Random.h>

List of all members.

Static Public Methods

double flat ()
double flat (double width )
double flat ( double a, double b )
double exponential ( double mean )
double gauss ( )
double breitWigner ( double a, double b, double c)
HepRandom& generator ()


Detailed Description

Uses CLHEP's HepRandom, providing static functions.


Todo: convert to be able to use Gaudi random number service.

Definition at line 27 of file Random.h.


Member Function Documentation

double Random::breitWigner ( double a,
double b,
double c ) [inline, static]
 

Definition at line 55 of file Random.h.

double Random::exponential ( double mean ) [inline, static]
 

Definition at line 44 of file Random.h.

Referenced by GParticle::GenerateTimeOfDecay(), and MCParticle::checkStep().

double Random::flat ( double a,
double b ) [inline, static]
 

Definition at line 36 of file Random.h.

double Random::flat ( double width ) [inline, static]
 

Definition at line 33 of file Random.h.

double Random::flat ( ) [inline, static]
 

Definition at line 32 of file Random.h.

Referenced by EGSpolInteractor::EGSpol::MetroSteps(), RAND(), EGS::annih(), EGS::bhabha(), EGS::brems(), EGS::compt(), TwoBody::decay(), PhaseSpace::decay2(), PhaseSpace::decay3(), GParticle::decayOnce(), MuonInteractor::interact(), EGS::moller(), EGS::mscat(), Interactor::multipleScatter(), EGS::pairProd(), EGSpolInteractor::EGSpol::pairProd(), EGS::photo(), rando_(), EGS::rayleigh(), and rndm_().

double Random::gauss ( ) [inline, static]
 

Definition at line 46 of file Random.h.

Referenced by TowerArray::generateResponse(), and rannor_().

HepRandom & Random::generator ( ) [inline, static]
 

Definition at line 58 of file Random.h.

Referenced by MuonInteractor::MuonInteractor().


The documentation for this class was generated from the following file:
Generated at Mon Nov 26 18:18:42 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000