17#include "CLHEP/Random/StaticRandomStates.h"
18#include "CLHEP/Random/RandGauss.h"
19#include "CLHEP/Random/RandFlat.h"
59 std::ostringstream os;
61 std::istringstream istst(os.str());
64 std::cerr <<
"???? Unexpected behavior in StaticRandomStates::restore:\n"
65 <<
"The new engine, which had been input successfully from istream\n"
66 <<
"has encountered a problem when used to set state of theEngine\n";
67 is.clear(std::ios::badbit | is.rdstate());
virtual std::string name() const =0
static HepRandomEngine * newEngine(std::istream &is)
static HepRandomEngine * getTheEngine()
static void setTheEngine(HepRandomEngine *theNewEngine)
static std::ostream & saveDistState(std::ostream &os)
static std::istream & restoreDistState(std::istream &is)
static std::istream & restoreFullState(std::istream &is)
static std::ostream & saveFullState(std::ostream &os)
static std::istream & restoreDistState(std::istream &is)
static std::istream & restore(std::istream &is)
static std::ostream & save(std::ostream &os)