Geant4 Cross Reference |
1 // -*- C++ -*- 1 // -*- C++ -*- 2 // 2 // 3 // ------------------------------------------- 3 // ----------------------------------------------------------------------- 4 // HEP Random 4 // HEP Random 5 // --- EngineFactory --- 5 // --- EngineFactory --- 6 // class header file 6 // class header file 7 // ------------------------------------------- 7 // ----------------------------------------------------------------------- 8 8 9 // Class generating new engines from streamed 9 // Class generating new engines from streamed saves. 10 10 11 // =========================================== 11 // ======================================================================= 12 // M Fischler - Created: 12/21/04 12 // M Fischler - Created: 12/21/04 13 // =========================================== 13 // ======================================================================= 14 14 15 #ifndef EngineFactory_h 15 #ifndef EngineFactory_h 16 #define EngineFactory_h 1 16 #define EngineFactory_h 1 17 17 18 #include "CLHEP/Random/RandomEngine.h" 18 #include "CLHEP/Random/RandomEngine.h" 19 19 20 namespace CLHEP { 20 namespace CLHEP { 21 21 22 class EngineFactory { 22 class EngineFactory { 23 public: 23 public: 24 static HepRandomEngine* newEngine(std::istre 24 static HepRandomEngine* newEngine(std::istream & is); 25 static HepRandomEngine* newEngine(std::vecto 25 static HepRandomEngine* newEngine(std::vector<unsigned long> const & v); 26 }; 26 }; 27 27 28 } // namespace CLHEP 28 } // namespace CLHEP 29 29 30 #endif 30 #endif 31 31 32 32