2#include <CLHEP/Random/Random.h>
4HepRandomEngine* RandomNrCenter::theDefaultEngine=HepRandom::getTheEngine();
5HepRandomEngine* RandomNrCenter::theCurrentEngine=HepRandom::getTheEngine();
9 HepRandom::saveEngineStatus(
s.c_str());
13 HepRandom::restoreEngineStatus(
s.c_str());
17 HepRandom::setTheSeed(i,3);
21 return HepRandom::getTheSeed();
29 theCurrentEngine=theDefaultEngine;
34 return theCurrentEngine;
37#include <CLHEP/Random/RandGauss.h>
40 return RandGauss::shoot(mean,
sigma);
static double Rngaus(double mean, double sigma)
HepRandomEngine * GetEngine()
void SaveEngineStatus(std::string)
void SetEngineSeed(long int)
void RestoreEngineStatus(std::string)