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