18 #include "CLHEP/Random/RandomEngine.h" 
   19 #include "CLHEP/Random/EngineFactory.h" 
   25 HepRandomEngine::HepRandomEngine() 
 
   30 HepRandomEngine::~HepRandomEngine() {}
 
   32 HepRandomEngine::operator double() {
 
   36 HepRandomEngine::operator float() {
 
   37   return float( 
flat() );
 
   40 HepRandomEngine::operator 
unsigned int() {
 
   41   return (
unsigned int)( 
flat() * exponent_bit_32() );
 
   45 HepRandomEngine::checkFile (std::istream & file, 
 
   46                          const std::string & filename, 
 
   47                          const std::string & classname, 
 
   48                          const std::string & methodname) {
 
   50     std::cerr << 
"Failure to find or open file " << filename <<
 
   51     " in " << classname << 
"::" << methodname << 
"()\n";
 
   57 std::ostream & HepRandomEngine::put (std::ostream & os)
 const {
 
   58   std::cerr << 
"HepRandomEngine::put called -- no effect!\n";
 
   61 std::istream & HepRandomEngine::get (std::istream & is) {
 
   62   std::cerr << 
"HepRandomEngine::get called -- no effect!\n";
 
   66 std::string HepRandomEngine::beginTag ( ) { 
 
   67   return "HepRandomEngine-begin"; 
 
   70 std::istream & HepRandomEngine::getState ( std::istream & is ) {
 
   71   std::cerr << 
"HepRandomEngine::getState called -- no effect!\n";
 
   75 std::vector<unsigned long> HepRandomEngine::put ()
 const {
 
   76   std::cerr << 
"v=HepRandomEngine::put() called -- no data!\n";
 
   77   std::vector<unsigned long> v;
 
   80 bool HepRandomEngine::get (
const std::vector<unsigned long> & ) {
 
   81   std::cerr << 
"HepRandomEngine::get(v) called -- no effect!\n";
 
   84 bool HepRandomEngine::getState (
const std::vector<unsigned long> & ) {
 
   85   std::cerr << 
"HepRandomEngine::getState(v) called -- no effect!\n";
 
   89 HepRandomEngine* HepRandomEngine::newEngine(std::istream& is) {
 
   90   return EngineFactory::newEngine(is);
 
   94 HepRandomEngine::newEngine(
const std::vector<unsigned long> & v) {
 
   95   return EngineFactory::newEngine(v);
 
   98 std::ostream & 
operator<< (std::ostream & os, 
const HepRandomEngine & e) {
 
  102 std::istream & 
operator>> (std::istream & is, HepRandomEngine & e) {
 
std::istream & operator>>(std::istream &is, HepRandomEngine &e)
 
std::ostream & operator<<(std::ostream &os, const HepRandomEngine &e)
 
static constexpr double L