1#include "Ekhara/EkharaRandom.h"
2#include "Ekhara/cfortran.h"
4#include "CLHEP/Random/RanluxEngine.h"
9HepRandomEngine* EkharaRandom::_randomEngine=0;
12 _randomEngine=randomEngine;
18 if (_randomEngine==0){
19 cerr <<
"No random engine available in "
20 <<
"EkharaRandom::random()."<<endl;
23 return _randomEngine->flat();
31 cerr<<
"min>max in EkharaRandom::Flat(" << min <<
"," << max <<
")" <<endl;
51 if(_randomEngine == 0)
52 cout<<
"Can not get randomEngine pointer in EkharaRandom::FlatArray"<<endl;
54 _randomEngine->flatArray(size,vect);
#define FCALLSCSUB2(CN, UN, LN, T1, T2)
static void FlatArray(double *vect, const int size)
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)