PandaRoot
PhotosDebugRandom.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef _PhotosDebugRandom_included_
14 #define _PhotosDebugRandom_included_
15 
32 #include "PhotosRandom.h"
33 
34 namespace Photospp {
35 
37  public:
38  /* Save current state */
39  static void saveState();
40 
41  /* Restore state from save */
42  static void restoreState();
43 
44  /* Set current state provided by user */
45  static void setState(int i, int j, double c, double list[97]);
46 
47  /* Save state provided by user */
48  static void setSaveState(int i, int j, double c, double list[97]);
49 
50  /* Print state in a form that can be easily copied into the code */
51  static void print();
52 
53  private:
54  static int i97_saved;
55  static int j97_saved;
56  static double uran_saved[97];
57  static double cran_saved;
58 };
59 
60 } // namespace Photospp
61 #endif
unsigned int i
Definition: P4_F32vec4.h:33
static void setState(int i, int j, double c, double list[97])
Definition: Log.h:54
static void setSaveState(int i, int j, double c, double list[97])