#ifndef _utl_RandomEngine_h_ #define _utl_RandomEngine_h_ static const char CVSId_utl_RandomEngine[] = "$Id"; #include #include #include namespace fwk { class RandomEngineRegistry; } namespace utl { /** \class RandomEngine \brief Wraps the random number engine used to generate distributions \author Troy Porter \author Matej Horvat \date 19 March 2004 \ingroup math */ class RandomEngine { public: typedef CLHEP::HepRandomEngine RandomEngineType; RandomEngineType& GetEngine() { return *fEngine; } private: RandomEngine(); RandomEngine(const long seed); ~RandomEngine(); RandomEngine(const RandomEngine&); RandomEngine& operator=(const RandomEngine&); protected: RandomEngineType* fEngine; friend class fwk::RandomEngineRegistry; }; } #endif // _utl_RandomEngine_h_ // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: