1 //--------------------------------------------------------------------------
4 // This software is part of the EvtGen package developed jointly
5 // for the BaBar and CLEO collaborations. If you use all or part
6 // of it, please give an appropriate acknowledgement.
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
11 // Module: EvtGen/EvtRandom.hh
13 // Description:Source of random numbers for EvtGen code
15 // Modification history:
17 // RYD March 24, 1998 Module created
19 //------------------------------------------------------------------------
25 class EvtRandomEngine;
32 static double Flat(double max);
33 static double Flat(double min, double max);
35 //generate unit Gaussian
36 static double Gaussian();
38 static double random();
40 //This class does not take ownership of the random engine;
41 //the caller needs to make sure that the engine is not
43 static void setRandomEngine(EvtRandomEngine* randomEngine);
47 static EvtRandomEngine* _randomEngine;