CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
00001 // $Id 00002 // -*- C++ -*- 00003 // 00004 // ----------------------------------------------------------------------- 00005 // HEP Random 00006 // --- StaticRandomStates --- 00007 // class header file 00008 // ----------------------------------------------------------------------- 00009 // 00010 // It's a holder for methods to save and restore the full states of all 00011 // static random distribution generators, including engine and cached data. 00012 // 00013 // ======================================================================= 00014 // Mark Fischler - Created: Dec. 21, 2004 00015 // ======================================================================= 00016 00017 #ifndef StaticRandomStates_h 00018 #define StaticRandomStates_h 1 00019 00020 #include "CLHEP/Random/defs.h" 00021 #include <iostream> 00022 00023 namespace CLHEP { 00024 00028 class StaticRandomStates { 00029 00030 public: 00031 00032 static std::ostream & save (std::ostream & os); 00033 static std::istream & restore(std::istream & is); 00034 00035 }; 00036 00037 } // namespace CLHEP 00038 00039 #ifdef ENABLE_BACKWARDS_COMPATIBILITY 00040 // backwards compatibility will be enabled ONLY in CLHEP 1.9 00041 using namespace CLHEP; 00042 #endif 00043 00044 #endif