14#include "../EeTo4e/EeTo4eRandom.h"
16#include "CLHEP/Random/RanluxEngine.h"
21HepRandomEngine* EeTo4eRandom::_randomEngine=0;
24 _randomEngine=randomEngine;
30 if (_randomEngine==0){
31 cerr <<
"No random engine available in "
32 <<
"EeTo4eRandom::random()."<<endl;
34 return _randomEngine->flat();
42 cerr<<
"min>max in EeTo4eRandom::Flat(" <<
min <<
"," <<
max <<
")" <<endl;
62 if(_randomEngine == 0) cout<<
"Can not get randomEngine pointer in EeTo4eRandom::FlatArray"<<endl;
63 else _randomEngine->flatArray(size,vect);
static void setRandomEngine(CLHEP::HepRandomEngine *randomEngine)
static void FlatArray(double *vect, const int size)