TRandom2.cxx File Reference

#include "TRandom2.h"
#include "TRandom3.h"

Go to the source code of this file.

Defines

#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


Define Documentation

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

Referenced by TRandom2::SetSeed().

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

Referenced by TRandom2::Rndm(), and TRandom2::RndmArray().


Function Documentation

ClassImp ( TRandom2   ) 

Definition at line 27 of file TRandom2.cxx.


Generated on Tue Jul 5 16:07:10 2011 for ROOT_528-00b_version by  doxygen 1.5.1