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