31 HepRandomEngine::operator double() {
35 HepRandomEngine::operator float() {
36 return float(
flat() );
39 HepRandomEngine::operator
unsigned int() {
40 return (
unsigned int)(
flat() * exponent_bit_32() );
46 const std::string & classname,
47 const std::string & methodname) {
49 std::cerr <<
"Failure to find or open file " << filename <<
50 " in " << classname <<
"::" << methodname <<
"()\n";
57 std::cerr <<
"HepRandomEngine::put called -- no effect!\n";
61 std::cerr <<
"HepRandomEngine::get called -- no effect!\n";
66 return "HepRandomEngine-begin";
70 std::cerr <<
"HepRandomEngine::getState called -- no effect!\n";
75 std::cerr <<
"v=HepRandomEngine::put() called -- no data!\n";
76 std::vector<unsigned long>
v;
80 std::cerr <<
"HepRandomEngine::get(v) called -- no effect!\n";
84 std::cerr <<
"HepRandomEngine::getState(v) called -- no effect!\n";