#include <KKMCRandom.h>
◆ Flat() [1/6]
double KKMCRandom::Flat |
( |
| ) |
|
|
static |
◆ Flat() [2/6]
static double KKMCRandom::Flat |
( |
| ) |
|
|
static |
◆ Flat() [3/6]
double KKMCRandom::Flat |
( |
double |
max | ) |
|
|
static |
◆ Flat() [4/6]
static double KKMCRandom::Flat |
( |
double |
max | ) |
|
|
static |
◆ Flat() [5/6]
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}
◆ Flat() [6/6]
static double KKMCRandom::Flat |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
|
static |
◆ FlatArray() [1/2]
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}
◆ FlatArray() [2/2]
static void KKMCRandom::FlatArray |
( |
double * |
vect, |
|
|
const int |
size |
|
) |
| |
|
static |
◆ random() [1/2]
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_().
◆ random() [2/2]
static double KKMCRandom::random |
( |
| ) |
|
|
static |
◆ setRandomEngine() [1/2]
void KKMCRandom::setRandomEngine |
( |
CLHEP::HepRandomEngine * |
randomEngine | ) |
|
|
static |
◆ setRandomEngine() [2/2]
static void KKMCRandom::setRandomEngine |
( |
CLHEP::HepRandomEngine * |
randomEngine | ) |
|
|
static |
The documentation for this class was generated from the following files: