25#include "CLHEP/Random/RanluxEngine.h"
30HepRandomEngine* KKMCRandom::_randomEngine=0;
33 _randomEngine=randomEngine;
39 if (_randomEngine==0){
40 cerr <<
"No random engine available in "
41 <<
"KKMCRandom::random()."<<endl;
44 return _randomEngine->flat();
52 cerr<<
"min>max in KKMCRandom::Flat(" <<
min <<
"," <<
max <<
")" <<endl;
72 if(_randomEngine == 0) cout<<
"Can not get randomEngine pointer in KKMCRandom::FlatArray"<<endl;
73 else _randomEngine->flatArray(size,vect);
79 extern double rlu_(
int *);
static void FlatArray(double *vect, const int size)
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)