![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/EcoMug.h>
Public Member Functions | |
| EMRandom () | |
| void | SetSeed (uint64_t seed) |
| double | GenerateRandomDouble () |
| double | GenerateRandomDouble (double x1, double x2) |
| int64_t | rotl (const uint64_t x, int k) |
| uint64_t | next () |
| double | to_double (uint64_t x) |
Public Attributes | |
| uint64_t | s [2] |
Fast generation of random numbers This class is based on the xoroshiro128+ generator. https://prng.di.unimi.it/
Definition at line 34 of file EcoMug.h.
View newest version in sPHENIX GitHub at line 34 of file EcoMug.h
|
inline |
|
inline |
Definition at line 52 of file EcoMug.h.
View newest version in sPHENIX GitHub at line 52 of file EcoMug.h
References next(), to_double(), and ambiguity_solver_full_chain::x.
Referenced by EcoMug::Generate(), EcoMug::GenerateFromCustomJ(), EcoMug::GenerateMomentumF1(), EcoMug::GeneratePositionCylinder(), EcoMug::GeneratePositionSky(), GenerateRandomDouble(), EMMaximization::Init(), and EMMaximization::Move().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 58 of file EcoMug.h.
View newest version in sPHENIX GitHub at line 58 of file EcoMug.h
References GenerateRandomDouble().
Here is the call graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 79 of file EcoMug.h.
View newest version in sPHENIX GitHub at line 79 of file EcoMug.h
References i, and physmon_ckf_tracking::u.
Referenced by GenerateRandomDouble().
Here is the caller graph for this function:| uint64_t EMRandom::s[2] |