37 #ifndef HepRandomEngine_h
38 #define HepRandomEngine_h 1
65 virtual double flat() = 0;
69 virtual void flatArray(
const int size,
double* vect) = 0;
75 virtual void setSeeds(
const long * seeds,
int) = 0;
90 virtual std::string
name()
const = 0;
93 virtual std::ostream &
put (std::ostream & os)
const;
94 virtual std::istream &
get (std::istream & is);
98 virtual std::istream &
getState ( std::istream & is );
107 virtual std::vector<unsigned long>
put ()
const;
108 virtual bool get (
const std::vector<unsigned long> &
v);
109 virtual bool getState (
const std::vector<unsigned long> & v);
118 virtual operator double();
119 virtual operator float();
120 virtual operator unsigned int();
157 const std::string & classname,
158 const std::string & methodname);
165 template <
class IS,
class T>
167 std::string firstWord;
169 if (firstWord == key)
return true;
170 std::istringstream reread(firstWord);
177 #include "CLHEP/Random/RandomEngine.icc"