|
||||
File indexing completed on 2025-01-18 09:54:38
0001 // $Id 0002 // -*- C++ -*- 0003 // 0004 // ----------------------------------------------------------------------- 0005 // HEP Random 0006 // --- StaticRandomStates --- 0007 // class header file 0008 // ----------------------------------------------------------------------- 0009 // 0010 // It's a holder for methods to save and restore the full states of all 0011 // static random distribution generators, including engine and cached data. 0012 // 0013 // ======================================================================= 0014 // Mark Fischler - Created: Dec. 21, 2004 0015 // ======================================================================= 0016 0017 #ifndef StaticRandomStates_h 0018 #define StaticRandomStates_h 1 0019 0020 #include "CLHEP/Random/defs.h" 0021 #include <iostream> 0022 0023 namespace CLHEP { 0024 0025 /** 0026 * @author <mf@fnal.gov> 0027 */ 0028 class StaticRandomStates { 0029 0030 public: 0031 0032 static std::ostream & save (std::ostream & os); 0033 static std::istream & restore(std::istream & is); 0034 0035 }; 0036 0037 } // namespace CLHEP 0038 0039 #ifdef ENABLE_BACKWARDS_COMPATIBILITY 0040 // backwards compatibility will be enabled ONLY in CLHEP 1.9 0041 using namespace CLHEP; 0042 #endif 0043 0044 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |