#include <KKMCRandom.h>
Definition at line 27 of file KKMCRandom.h.
◆ Flat() [1/3]
double KKMCRandom::Flat |
( |
| ) |
|
|
static |
◆ Flat() [2/3]
double KKMCRandom::Flat |
( |
double |
max | ) |
|
|
static |
◆ Flat() [3/3]
double KKMCRandom::Flat |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
|
static |
Definition at line 49 of file KKMCRandom.cxx.
49 {
50
52 cerr<<
"min>max in KKMCRandom::Flat(" <<
min <<
"," <<
max <<
")" <<endl;
53 }
54
56
57}
◆ FlatArray()
void KKMCRandom::FlatArray |
( |
double * |
vect, |
|
|
const int |
size |
|
) |
| |
|
static |
Definition at line 71 of file KKMCRandom.cxx.
71 {
72 if(_randomEngine == 0) cout<<"Can not get randomEngine pointer in KKMCRandom::FlatArray"<<endl;
73 else _randomEngine->flatArray(size,vect);
74}
◆ random()
double KKMCRandom::random |
( |
| ) |
|
|
static |
Definition at line 37 of file KKMCRandom.cxx.
37 {
38
39 if (_randomEngine==0){
40 cerr <<"No random engine available in "
41 <<"KKMCRandom::random()."<<endl;
42 }
43
44 return _randomEngine->flat();
45 }
Referenced by Flat(), and flat_().
◆ setRandomEngine()
void KKMCRandom::setRandomEngine |
( |
CLHEP::HepRandomEngine * |
randomEngine | ) |
|
|
static |
The documentation for this class was generated from the following files: