|
||||
File indexing completed on 2025-01-18 09:54:37
0001 // $Id 0002 // -*- C++ -*- 0003 // 0004 // ----------------------------------------------------------------------- 0005 // HEP Random 0006 // --- EngineFactory --- 0007 // class header file 0008 // ----------------------------------------------------------------------- 0009 0010 // Class generating new engines from streamed saves. 0011 0012 // ======================================================================= 0013 // M Fischler - Created: 12/21/04 0014 // ======================================================================= 0015 0016 #ifndef EngineFactory_h 0017 #define EngineFactory_h 1 0018 0019 #include "CLHEP/Random/defs.h" 0020 #include "CLHEP/Random/RandomEngine.h" 0021 0022 namespace CLHEP { 0023 0024 class EngineFactory { 0025 public: 0026 static HepRandomEngine* newEngine(std::istream & is); 0027 static HepRandomEngine* newEngine(std::vector<unsigned long> const & v); 0028 }; 0029 0030 } // namespace CLHEP 0031 0032 #ifdef ENABLE_BACKWARDS_COMPATIBILITY 0033 // backwards compatibility will be enabled ONLY in CLHEP 1.9 0034 using namespace CLHEP; 0035 #endif 0036 0037 0038 #endif 0039
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |