Belle II Software  release-06-02-00
PhotosDebugRandom.h
1 #ifndef _PhotosDebugRandom_included_
2 #define _PhotosDebugRandom_included_
20 #include "PhotosRandom.h"
21 
22 namespace Photospp {
23 
25  public:
26  /* Save current state */
27  static void saveState();
28 
29  /* Restore state from save */
30  static void restoreState();
31 
32  /* Set current state provided by user */
33  static void setState(int i, int j, double c, double list[97]);
34 
35  /* Save state provided by user */
36  static void setSaveState(int i, int j, double c, double list[97]);
37 
38  /* Print state in a form that can be easily copied into the code */
39  static void print();
40 
41  private:
42  static int i97_saved;
43  static int j97_saved;
44  static double uran_saved[97];
45  static double cran_saved;
46  };
47 
48 } // namespace Photospp
49 #endif