ROOT  6.06/09
Reference Guide
Macros | Functions
TRandom2.cxx File Reference
#include "TRandom2.h"
#include "TRandom3.h"
#include "TUUID.h"
+ Include dependency graph for TRandom2.cxx:

Go to the source code of this file.

Macros

#define TAUSWORTHE(s, a, b, c, d)   (((s &c) <<d) & 0xffffffffUL ) ^ ((((s <<a) & 0xffffffffUL )^s) >>b)
 
#define LCG(n)   ((69069 * n) & 0xffffffffUL)
 

Functions

 ClassImp (TRandom2) TRandom2
 *-*-*-*-*-*-*-*-*-*-*default constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* =================== More...
 

Macro Definition Documentation

#define LCG (   n)    ((69069 * n) & 0xffffffffUL)

Referenced by TRandom2::SetSeed().

#define TAUSWORTHE (   s,
  a,
  b,
  c,
 
)    (((s &c) <<d) & 0xffffffffUL ) ^ ((((s <<a) & 0xffffffffUL )^s) >>b)

Function Documentation

ClassImp ( TRandom2  )

*-*-*-*-*-*-*-*-*-*-*default constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ===================

Definition at line 31 of file TRandom2.cxx.