StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PhotosDebugRandom.h
1 #ifndef _PhotosDebugRandom_included_
2 #define _PhotosDebugRandom_included_
3 
20 #include "PhotosRandom.h"
21 
22 namespace Photospp
23 {
24 
26 {
27 public:
28  /* Save current state */
29  static void saveState();
30 
31  /* Restore state from save */
32  static void restoreState();
33 
34  /* Set current state provided by user */
35  static void setState(int i, int j, double c, double list[97]);
36 
37  /* Save state provided by user */
38  static void setSaveState(int i, int j, double c, double list[97]);
39 
40  /* Print state in a form that can be easily copied into the code */
41  static void print();
42 
43 private:
44  static int i97_saved;
45  static int j97_saved;
46  static double uran_saved[97];
47  static double cran_saved;
48 };
49 
50 } // namespace Photospp
51 #endif