3#include "CLHEP/Random/RanluxEngine.h"
8HepRandomEngine* BhlumiRandom::_randomEngine=0;
11 _randomEngine=randomEngine;
16 if (_randomEngine==0){
17 cerr <<
"No random engine available in "
18 <<
"BhlumiRandom::random()."<<endl;
20 return _randomEngine->flat();
28 cerr<<
"min>max in BhlumiRandom::Flat(" << min <<
"," << max <<
")" <<endl;
48 if(_randomEngine == 0) cout<<
"Can not get randomEngine pointer in BhlumiRandom::FlatArray"<<endl;
49 else _randomEngine->flatArray(size,vect);
static void FlatArray(double *vect, const int size)
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)