34 #define INCLXX_IN_GEANT4_MODE 1
53 i1(0), i2(0), i3(0), iz(0),
54 uscale(1.0/2.147483563e9),
55 m1(2147483563),
m2(2147483399),
m3(2147482739),
56 a1(40014), a2(40692), a3(45742),
57 q1(m1/a1), q2(
m2/a2), q3(
m3/a3),
58 r1(m1%a1), r2(
m2%a2), r3(
m3%a3)
63 i1(0), i2(0), i3(0), iz(0),
64 uscale(1.0/2.147483563e9),
65 m1(2147483563),
m2(2147483399),
m3(2147482739),
66 a1(53668), a2(52774), a3(46947),
67 q1(m1/a1), q2(
m2/a2), q3(
m3/a3),
68 r1(m1%a1), r2(
m2%a2), r3(
m3%a3)
78 iseed1=a1*(iseed1-i1*q1)-i1*r1;
79 if(iseed1 < 0) iseed1 = iseed1 + m1;
82 iseed2=a2*(iseed2-i2*q2)-i2*r2;
83 if(iseed2 < 0) iseed2 = iseed2 + m2;
86 iseed3=a3*(iseed3-i3*q3)-i3*r3;
87 if(iseed3 < 0) iseed3 = iseed3 + m3;
89 iz = iseed1 - iseed2 + iseed3;
90 if(iz < 1) iz = iz + 2147483562;
void setSeeds(const Random::SeedVector &sv)
static constexpr double m3
static constexpr double m2