#include <BhwideRandom.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 13 of file BhwideRandom.h.
◆ Flat() [1/3]
double BhwideRandom::Flat |
( |
| ) |
|
|
static |
◆ Flat() [2/3]
double BhwideRandom::Flat |
( |
double |
max | ) |
|
|
static |
◆ Flat() [3/3]
double BhwideRandom::Flat |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
|
static |
Definition at line 25 of file BhwideRandom.cxx.
25 {
26
27 if ( min > max ) {
28 cerr<< "min>max in BhwideRandom::Flat(" << min << "," << max << ")" <<endl;
29 }
30
32
33}
◆ FlatArray()
void BhwideRandom::FlatArray |
( |
double * |
vect, |
|
|
const int |
size |
|
) |
| |
|
static |
Definition at line 47 of file BhwideRandom.cxx.
47 {
48 if(_randomEngine == 0) cout<<"Can not get randomEngine pointer in BhwideRandom::FlatArray"<<endl;
49 else _randomEngine->flatArray(size,vect);
50}
Referenced by carran_(), ecuran_(), and marran_().
◆ random()
double BhwideRandom::random |
( |
| ) |
|
|
static |
Definition at line 14 of file BhwideRandom.cxx.
14 {
15
16 if (_randomEngine==0){
17 cerr <<"No random engine available in "
18 <<"BhwideRandom::random()."<<endl;
19 }
20 return _randomEngine->flat();
21 }
Referenced by Flat(), and ranmarr_().
◆ setRandomEngine()
void BhwideRandom::setRandomEngine |
( |
CLHEP::HepRandomEngine * |
randomEngine | ) |
|
|
static |
The documentation for this class was generated from the following files: