Class Reference for E1039 Core & Analysis Software
PHRandomSeed.h
Go to the documentation of this file.
1 #ifndef PHRANDOMSEED_H
2 #define PHRANDOMSEED_H
3 
10 {
11  public:
13  virtual ~PHRandomSeed() {}
15  operator unsigned int() const
16  {
17  return GetSeed();
18  }
19 
21  static unsigned int GetSeed();
22  static void LoadSeed(const unsigned int iseed);
23  static void Verbosity(const int iverb);
24 
25  protected:
26  static void InitSeed();
27  static bool fFixed;
28  static bool fInitialized;
29  static int verbose;
30 };
31 
32 #endif
static bool fFixed
Definition: PHRandomSeed.h:27
static int verbose
Definition: PHRandomSeed.h:29
static void InitSeed()
Definition: PHRandomSeed.cc:50
static unsigned int GetSeed()
get a seed
Definition: PHRandomSeed.cc:19
static bool fInitialized
Definition: PHRandomSeed.h:28
static void LoadSeed(const unsigned int iseed)
Definition: PHRandomSeed.cc:64
virtual ~PHRandomSeed()
Definition: PHRandomSeed.h:13
static void Verbosity(const int iverb)
Definition: PHRandomSeed.cc:69