Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHRandomSeed.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHRandomSeed.h
1 #ifndef PHOOL_PHRANDOMSEED_H
2 #define PHOOL_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  static int Verbosity() {return verbose;};
25 
26  protected:
27  static void InitSeed();
28  static bool fFixed;
29  static bool fInitialized;
30  static int verbose;
31 };
32 
33 #endif