#include <BabayagaRandom.h>
|
static double | Flat (double min, double max) |
|
static double | Flat (double max) |
|
static double | Flat () |
|
static void | FlatArray (double *vect, const int size) |
|
static double | random () |
|
static void | setRandomEngine (CLHEP::HepRandomEngine *randomEngine) |
|
Definition at line 19 of file BabayagaRandom.h.
◆ Flat() [1/3]
double BabayagaRandom::Flat |
( |
| ) |
|
|
static |
◆ Flat() [2/3]
double BabayagaRandom::Flat |
( |
double | max | ) |
|
|
static |
◆ Flat() [3/3]
double BabayagaRandom::Flat |
( |
double | min, |
|
|
double | max ) |
|
static |
Definition at line 39 of file BabayagaRandom.cxx.
39 {
40
41 if ( min > max ) {
42 cerr<< "min>max in BabayagaRandom::Flat(" << min << "," << max << ")" <<endl;
43 }
44
46
47}
◆ FlatArray()
void BabayagaRandom::FlatArray |
( |
double * | vect, |
|
|
const int | size ) |
|
static |
Definition at line 61 of file BabayagaRandom.cxx.
61 {
62 if(_randomEngine == 0) cout<<"Can not get randomEngine pointer in BabayagaRandom::FlatArray"<<endl;
63 else _randomEngine->flatArray(size,vect);
64}
◆ random()
double BabayagaRandom::random |
( |
| ) |
|
|
static |
Definition at line 28 of file BabayagaRandom.cxx.
28 {
29
30 if (_randomEngine==0){
31 cerr <<"No random engine available in "
32 <<"BabayagaRandom::random()."<<endl;
33 }
34 return _randomEngine->flat();
35 }
Referenced by Flat(), Flat(), Flat(), and flat_().
◆ setRandomEngine()
void BabayagaRandom::setRandomEngine |
( |
CLHEP::HepRandomEngine * | randomEngine | ) |
|
|
static |
The documentation for this class was generated from the following files: