ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/framework/phool/PHRandomSeed.h>
Public Member Functions | |
PHRandomSeed () | |
virtual | ~PHRandomSeed () |
operator unsigned int () const | |
conversion operator for unsigned int seed = PHRandomSeed(); | |
Static Public Member Functions | |
static unsigned int | GetSeed () |
get a seed | |
static void | LoadSeed (const unsigned int iseed) |
static void | Verbosity (const int iverb) |
Static Protected Member Functions | |
static void | InitSeed () |
Static Protected Attributes | |
static bool | fFixed |
static bool | fInitialized |
static int | verbose |
standard way to get a random seed: unsigned int seed = PHRandomSeed();
It return fix seed sequence if recoConsts RANDOMSEED is set. If values are preloaded via PHRandomSeed::LoadSeed, they are returned in loaded order otherwise it return a random seed from std::random_device rdev
Definition at line 9 of file PHRandomSeed.h.
View newest version in sPHENIX GitHub at line 9 of file PHRandomSeed.h
|
inline |
Definition at line 12 of file PHRandomSeed.h.
View newest version in sPHENIX GitHub at line 12 of file PHRandomSeed.h
|
inlinevirtual |
Definition at line 13 of file PHRandomSeed.h.
View newest version in sPHENIX GitHub at line 13 of file PHRandomSeed.h
|
static |
get a seed
Definition at line 18 of file PHRandomSeed.cc.
View newest version in sPHENIX GitHub at line 18 of file PHRandomSeed.cc
References fDistribution, fRandomGenerator, and seedqueue.
Referenced by operator unsigned int().
|
staticprotected |
Definition at line 49 of file PHRandomSeed.cc.
View newest version in sPHENIX GitHub at line 49 of file PHRandomSeed.cc
References PHFlag::FlagExist(), fRandomGenerator, PHFlag::get_IntFlag(), recoConsts::instance(), and seed.
Definition at line 63 of file PHRandomSeed.cc.
View newest version in sPHENIX GitHub at line 63 of file PHRandomSeed.cc
References seedqueue.
|
inline |
conversion operator for unsigned int seed = PHRandomSeed();
Definition at line 15 of file PHRandomSeed.h.
View newest version in sPHENIX GitHub at line 15 of file PHRandomSeed.h
References GetSeed().
Definition at line 68 of file PHRandomSeed.cc.
View newest version in sPHENIX GitHub at line 68 of file PHRandomSeed.cc
Referenced by Fun4All_AnaTutorial_sPHENIX(), Fun4All_AnaTutorial_sPHENIX_Jets(), Fun4All_G4_sPHENIX(), and Fun4All_photonDispersion().
|
staticprotected |
Definition at line 27 of file PHRandomSeed.h.
View newest version in sPHENIX GitHub at line 27 of file PHRandomSeed.h
|
staticprotected |
Definition at line 28 of file PHRandomSeed.h.
View newest version in sPHENIX GitHub at line 28 of file PHRandomSeed.h
|
staticprotected |
Definition at line 29 of file PHRandomSeed.h.
View newest version in sPHENIX GitHub at line 29 of file PHRandomSeed.h