EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
simpleRandom.cc File Reference
#include "simpleRandom.h"
#include <math.h>
#include <bstring.h>
+ Include dependency graph for simpleRandom.cc:

Go to the source code of this file.

Macros

#define F1(x, y, z)   (z ^ (x & (y ^ z)))
 
#define F2(x, y, z)   F1(z, x, y)
 
#define F3(x, y, z)   (x ^ y ^ z)
 
#define F4(x, y, z)   (y ^ (x | ~z))
 
#define MD5STEP(f, w, x, y, z, in, s)   (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x)
 
#define BIGNUMBER   100000
 

Macro Definition Documentation

#define BIGNUMBER   100000

Referenced by simpleRandom::gauss().

#define F1 (   x,
  y,
  z 
)    (z ^ (x & (y ^ z)))

Definition at line 122 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 122 of file simpleRandom.cc

Referenced by kdfinder::CircleFit< T >::CircleFitByChernovHoussam(), and simpleRandom::xMD5Transform().

#define F2 (   x,
  y,
  z 
)    F1(z, x, y)
#define F3 (   x,
  y,
  z 
)    (x ^ y ^ z)

Definition at line 124 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 124 of file simpleRandom.cc

Referenced by twoPhotonLuminosity::radmul(), and simpleRandom::xMD5Transform().

#define F4 (   x,
  y,
  z 
)    (y ^ (x | ~z))

Definition at line 125 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 125 of file simpleRandom.cc

Referenced by simpleRandom::xMD5Transform().

#define MD5STEP (   f,
  w,
  x,
  y,
  z,
  in,
  s 
)    (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x)

Definition at line 128 of file simpleRandom.cc.

View newest version in sPHENIX GitHub at line 128 of file simpleRandom.cc

Referenced by simpleRandom::xMD5Transform().