ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <online_distribution/blob/master/newbasic/simpleRandom.h>
Public Member Functions | |
simpleRandom () | |
simpleRandom (const int iseed) | |
float | gauss (const float mean, const float sigma) |
float | rnd (int low, int high) |
Private Member Functions | |
void | byteSwap (word32 *buf, unsigned words) |
void | xMD5Init (struct xMD5Context *ctx) |
void | xMD5Update (struct xMD5Context *ctx, xbyte const *buf, unsigned int len) |
void | xMD5Final (xbyte digest[16], struct xMD5Context *ctx) |
void | xMD5Transform (word32 buf[4], word32 const in[16]) |
void | MD5 (xbyte *dest, const xbyte *orig, unsigned int len) |
void | load_seed () |
Private Attributes | |
unsigned int | digest [4] |
Definition at line 66 of file simpleRandom.h.
View newest version in sPHENIX GitHub at line 66 of file simpleRandom.h
simpleRandom::simpleRandom | ( | ) |
Definition at line 232 of file simpleRandom.cc.
View newest version in sPHENIX GitHub at line 232 of file simpleRandom.cc
References digest.
simpleRandom::simpleRandom | ( | const int | iseed | ) |
Definition at line 242 of file simpleRandom.cc.
View newest version in sPHENIX GitHub at line 242 of file simpleRandom.cc
References digest.
Definition at line 15 of file simpleRandom.cc.
View newest version in sPHENIX GitHub at line 15 of file simpleRandom.cc
Referenced by xMD5Final(), and xMD5Update().
float simpleRandom::gauss | ( | const float | mean, |
const float | sigma | ||
) |
Definition at line 251 of file simpleRandom.cc.
View newest version in sPHENIX GitHub at line 251 of file simpleRandom.cc
References BIGNUMBER, rnd(), x, y, and z.
Referenced by testEventiterator::getNextEvent().
|
private |
Definition at line 221 of file simpleRandom.cc.
View newest version in sPHENIX GitHub at line 221 of file simpleRandom.cc
References xMD5Final(), xMD5Init(), and xMD5Update().
Referenced by rnd().
Definition at line 276 of file simpleRandom.cc.
View newest version in sPHENIX GitHub at line 276 of file simpleRandom.cc
References digest, mask, MD5(), num, and r.
Referenced by gauss().
|
private |
Definition at line 87 of file simpleRandom.cc.
View newest version in sPHENIX GitHub at line 87 of file simpleRandom.cc
References xMD5Context::buf, xMD5Context::bytes, byteSwap(), if(), xMD5Context::in, int(), and xMD5Transform().
Referenced by MD5().
|
private |
Definition at line 31 of file simpleRandom.cc.
View newest version in sPHENIX GitHub at line 31 of file simpleRandom.cc
References xMD5Context::buf, and xMD5Context::bytes.
Referenced by MD5().
Definition at line 137 of file simpleRandom.cc.
View newest version in sPHENIX GitHub at line 137 of file simpleRandom.cc
References a, b, c, d, F1, F2, F3, F4, and MD5STEP.
Referenced by xMD5Final(), and xMD5Update().
|
private |
Definition at line 47 of file simpleRandom.cc.
View newest version in sPHENIX GitHub at line 47 of file simpleRandom.cc
References xMD5Context::buf, xMD5Context::bytes, byteSwap(), xMD5Context::in, t, and xMD5Transform().
Referenced by MD5().
|
private |
Definition at line 84 of file simpleRandom.h.
View newest version in sPHENIX GitHub at line 84 of file simpleRandom.h
Referenced by rnd(), and simpleRandom().