Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
039b1338
Commit
039b1338
authored
Jul 05, 2009
by
Lynn Garren
Browse files
bug fix for Ranlux64Engine::setSeeds()
parent
f20d3fe2
Changes
7
Hide whitespace changes
Inline
Sidebyside
Random/ChangeLog
View file @
039b1338
20090630 Mark Fischler <mf@fnal.gov>
* src/Ranlux64Engine.cc: Fix bug #24689. setSeeds() now
uses all seeds passed to it instead of only the first one.
==============================
18.11.08 Release CLHEP2.0.4.2
==============================
...
...
Random/configure.in
View file @
039b1338
...
...
@@ 185,8 +185,11 @@ g++)
case "$target" in
**linux*)
AM_CXXFLAGS="O ansi pedantic Wall D_GNU_SOURCE"
MY_SHFLAGS="fPIC DPIC"; MY_SHLINK="shared"; SHEXT=so
MY_SHNAME="Wl,soname,"; MY_LD="Wl,rpath Wl,"
MY_SHFLAGS="fPIC DPIC"
MY_SHLINK="shared Wl,noundefined"
MY_SHNAME="Wl,soname,"
MY_LD="Wl,rpath Wl,"
SHEXT=so
AR="ar"; ARFLAGS="cru"
;;
**darwin*)
...
...
@@ 207,30 +210,42 @@ g++)
;;
*)
AM_CXXFLAGS="O ansi pedantic Wall"
MY_SHFLAGS="fPIC DPIC"; MY_SHLINK="shared"; SHEXT=so
MY_SHNAME="Wl,soname,"; MY_LD="Wl,rpath Wl,"
MY_SHFLAGS="fPIC DPIC"
MY_SHLINK="shared Wl,noundefined"
MY_SHNAME="Wl,soname,"
MY_LD="Wl,rpath Wl,"
SHEXT=so
AR="ar"; ARFLAGS="cru"
esac;;
g++4)
case "$target" in
**linux*)
AM_CXXFLAGS="O ansi pedantic Wall D_GNU_SOURCE"
MY_SHFLAGS="fPIC DPIC"; MY_SHLINK="shared"; SHEXT=so
MY_SHNAME="Wl,soname,"; MY_LD="Wl,rpath Wl,"
MY_SHFLAGS="fPIC DPIC"
MY_SHLINK="shared Wl,noundefined"
MY_SHNAME="Wl,soname,"
MY_LD="Wl,rpath Wl,"
SHEXT=so
AR="ar"; ARFLAGS="cru"
;;
*)
AM_CXXFLAGS="O ansi pedantic Wall"
MY_SHFLAGS="fPIC DPIC"; MY_SHLINK="shared"; SHEXT=so
MY_SHNAME="Wl,soname,"; MY_LD="Wl,rpath Wl,"
MY_SHFLAGS="fPIC DPIC"
MY_SHLINK="shared Wl,noundefined"
MY_SHNAME="Wl,soname,"
MY_LD="Wl,rpath Wl,"
SHEXT=so
AR="ar"; ARFLAGS="cru"
esac;;
c++)
case "$target" in
**linux*)
AM_CXXFLAGS="O ansi pedantic Wall D_GNU_SOURCE"
MY_SHFLAGS="fPIC DPIC"; MY_SHLINK="shared"; SHEXT=so
MY_SHNAME="Wl,soname,"; MY_LD="Wl,rpath Wl,"
MY_SHFLAGS="fPIC DPIC"
MY_SHLINK="shared Wl,noundefined"
MY_SHNAME="Wl,soname,"
MY_LD="Wl,rpath Wl,"
SHEXT=so
AR="ar"; ARFLAGS="cru"
;;
**darwin*)
...
...
@@ 251,8 +266,11 @@ c++)
;;
*)
AM_CXXFLAGS="O ansi pedantic Wall"
MY_SHFLAGS="fPIC DPIC"; MY_SHLINK="shared"; SHEXT=so
MY_SHNAME="Wl,soname,"; MY_LD="Wl,rpath Wl,"
MY_SHFLAGS="fPIC DPIC"
MY_SHLINK="shared Wl,noundefined"
MY_SHNAME="Wl,soname,"
MY_LD="Wl,rpath Wl,"
SHEXT=so
AR="ar"; ARFLAGS="cru"
esac;;
icc)
...
...
@@ 334,6 +352,14 @@ AC_SUBST(SHEXT)
AC_SUBST(AR)
AC_SUBST(ARFLAGS)
# 
# Check for supported link flags
# 
AC_CHECK_LIB([c Wl,asneeded],open,[MY_SHEXTRA="Wl,asneeded"])
AC_SUBST(MY_SHEXTRA)
# 
# Set systemdependent options:
# 
...
...
Random/src/Makefile.am
View file @
039b1338
...
...
@@ 57,7 +57,7 @@ else
lib_shared
=
libCLHEPRandom@VERSION@.
$(SHEXT)
endif
SHFLAGS
=
@MY_SHFLAGS@
SHLINK
=
@MY_SHLINK@
SHLINK
=
@MY_SHLINK@
@MY_SHEXTRA@
SHNAME
=
@MY_SHNAME@
endif
if
BUILD_STATIC
...
...
Random/src/Ranlux64Engine.cc
View file @
039b1338
// $Id: Ranlux64Engine.cc,v 1.4.4.2.2.
1
200
8/11/13 21:35:23
garren Exp $
// $Id: Ranlux64Engine.cc,v 1.4.4.2.2.
2
200
9/07/05 00:02:30
garren Exp $
// * C++ *
//
// 
...
...
@@ 430,8 +430,79 @@ void Ranlux64Engine::setSeed(long seed, int lux) {
}
// setSeed()
void
Ranlux64Engine
::
setSeeds
(
const
long
*
seeds
,
int
lux
)
{
setSeed
(
*
seeds
?
*
seeds
:
32767
,
lux
);
theSeeds
=
seeds
;
// old code only uses the first long in seeds
// setSeed( *seeds ? *seeds : 32767, lux );
// theSeeds = seeds;
// using code from Ranlux  even those are 32bit seeds,
// that is good enough to completely differentiate the sequences
twoToMinus_32
=
ldexp
(
1.0
,

32
);
twoToMinus_48
=
ldexp
(
1.0
,

48
);
twoToMinus_49
=
ldexp
(
1.0
,

49
);
const
int
ecuyer_a
=
53668
;
const
int
ecuyer_b
=
40014
;
const
int
ecuyer_c
=
12211
;
const
int
ecuyer_d
=
2147483563
;
const
int
lux_levels
[
3
]
=
{
109
,
202
,
397
};
const
long
*
seedptr
;
theSeeds
=
seeds
;
seedptr
=
seeds
;
if
(
seeds
==
0
){
setSeed
(
theSeed
,
lux
);
theSeeds
=
&
theSeed
;
return
;
}
theSeed
=
*
seeds
;
// number of additional random numbers that need to be 'thrown away'
// every 24 numbers is set using luxury level variable.
if
(
(
lux
>
2
)

(
lux
<
0
)
){
pDiscard
=
(
lux
>=
12
)
?
(
lux

12
)
:
lux_levels
[
1
];
}
else
{
pDiscard
=
lux_levels
[
luxury
];
}
pDozens
=
pDiscard
/
12
;
endIters
=
pDiscard
%
12
;
long
init_table
[
24
];
long
next_seed
=
*
seeds
;
long
k_multiple
;
int
i
;
for
(
i
=
0
;(
i
!=
24
)
&&
(
*
seedptr
!=
0
);
i
++
){
init_table
[
i
]
=
*
seedptr
&
0xffffffff
;
seedptr
++
;
}
if
(
i
!=
24
){
next_seed
=
init_table
[
i

1
];
for
(;
i
!=
24
;
i
++
){
k_multiple
=
next_seed
/
ecuyer_a
;
next_seed
=
ecuyer_b
*
(
next_seed

k_multiple
*
ecuyer_a
)

k_multiple
*
ecuyer_c
;
if
(
next_seed
<
0
)
{
next_seed
+=
ecuyer_d
;
}
init_table
[
i
]
=
next_seed
&
0xffffffff
;
}
}
for
(
i
=
0
;
i
<
12
;
i
++
){
randoms
[
i
]
=
(
init_table
[
2
*
i
]
)
*
2.0
*
twoToMinus_32
+
(
init_table
[
2
*
i
+
1
]
>>
15
)
*
twoToMinus_48
;
}
carry
=
0.0
;
if
(
randoms
[
11
]
==
0.
)
carry
=
twoToMinus_48
;
index
=
11
;
}
void
Ranlux64Engine
::
saveStatus
(
const
char
filename
[]
)
const
...
...
Random/test/testRandDists.cc
View file @
039b1338
// * C++ *
// $Id: testRandDists.cc,v 1.5.4.3.2.
1
200
8
/0
8
/05
18:55:22
garren Exp $
// $Id: testRandDists.cc,v 1.5.4.3.2.
2
200
9
/0
7
/05
00:02:31
garren Exp $
// 
// 
...
...
@@ 54,6 +54,7 @@ using std::cout;
using
std
::
cerr
;
using
std
::
endl
;
using
std
::
abs
;
using
std
::
setprecision
;
using
namespace
CLHEP
;
//#ifndef _WIN32
//using std::exp;
...
...
@@ 204,6 +205,8 @@ bool gaussianTest ( HepRandom & dist, double mu,
ncounts
[
ciu
]
=
0
;
}
int
oldprecision
=
cout
.
precision
();
cout
.
precision
(
5
);
// hack so that gcc 4.3 puts x and u into memory instead of a register
volatile
double
x
;
volatile
double
u
;
...
...
@@ 310,10 +313,12 @@ bool gaussianTest ( HepRandom & dist, double mu,
for
(
int
m
=
0
;
m
<
11
;
m
++
)
{
double
expect
=
table
[
m
]
*
nNumbers
;
double
sig
=
sqrt
(
table
[
m
]
*
(
1.0

table
[
m
])
*
nNumbers
);
cout
.
precision
(
oldprecision
);
cout
<<
"Between "
<<
m
/
2.0
<<
" sigma and "
<<
m
/
2.0
+
.5
<<
" sigma (should be about "
<<
expect
<<
"):
\n
"
<<
" "
<<
ncounts
[
m
]
<<
" negative and "
<<
counts
[
m
]
<<
" positive "
<<
"
\n
"
;
cout
.
precision
(
5
);
double
negSigs
=
abs
(
ncounts
[
m
]

expect
)
/
sig
;
double
posSigs
=
abs
(
counts
[
m
]

expect
)
/
sig
;
cout
<<
" These represent "
<<
...
...
@@ 329,6 +334,8 @@ bool gaussianTest ( HepRandom & dist, double mu,
cout
<<
"
\n
The worst deviation encountered (out of about 25) was "
<<
worstSigma
<<
" sigma
\n\n
"
;
cout
.
precision
(
oldprecision
);
return
good
;
}
// gaussianTest()
...
...
Random/test/testRandDists.output
View file @
039b1338
...
...
@@ 23,49 +23,49 @@ Instantiating distribution utilizing TripleRand engine...
400008
450009
Mean (should be close to 20): 20.004
Second moment (should be close to 16): 15.95
04
Third moment (should be close to zero): 0.012332
1
Fourth moment (should be close to 768): 762.39
2
Fifth moment (should be close to zero): 11.23
77
Sixth moment (should be close to 61440): 60359
.1
These represent 0.71506
1
, 1.551
16
, 0.055624
5
,
1.581
04
, 0.289
199
, 1.8504
1
Second moment (should be close to 16): 15.95
Third moment (should be close to zero): 0.012332
Fourth moment (should be close to 768): 762.39
Fifth moment (should be close to zero): 11.23
8
Sixth moment (should be close to 61440): 60359
These represent 0.71506, 1.551
2
, 0.055624,
1.581, 0.289
2
, 1.8504
standard deviations from expectations
Between 0 sigma and 0.5 sigma (should be about 95731):
96022 negative and 96081 positive
These represent 1.04
59
6 and 1.258
03
sigma from expectations
These represent 1.046 and 1.258 sigma from expectations
Between 0.5 sigma and 1 sigma (should be about 74941):
74975 negative and 74625 positive
These represent 0.1347
04
and 1.25
195
sigma from expectations
These represent 0.1347 and 1.25
2
sigma from expectations
Between 1 sigma and 1.5 sigma (should be about 45924):
45803 negative and 45982 positive
These represent 0.592
497
and 0.2840
07
sigma from expectations
These represent 0.592
5
and 0.2840
1
sigma from expectations
Between 1.5 sigma and 2 sigma (should be about 22028.5):
21851 negative and 22064 positive
These represent 1.223
18
and 0.2446
36
sigma from expectations
These represent 1.223
2
and 0.2446
4
sigma from expectations
Between 2 sigma and 2.5 sigma (should be about 8270):
8218 negative and 8154 positive
These represent 0.576
597
and 1.286
25
sigma from expectations
These represent 0.576
6
and 1.286
3
sigma from expectations
Between 2.5 sigma and 3 sigma (should be about 2430):
2426 negative and 2514 positive
These represent 0.081342 and 1.708
18
sigma from expectations
These represent 0.081342 and 1.708
2
sigma from expectations
Between 3 sigma and 3.5 sigma (should be about 558.5):
525 negative and 541 positive
These represent 1.4183
3
and 0.7409
16
sigma from expectations
These represent 1.4183 and 0.7409
2
sigma from expectations
Between 3.5 sigma and 4 sigma (should be about 100.5):
102 negative and 92 positive
These represent 0.14964
1
and 0.8479
68
sigma from expectations
These represent 0.14964 and 0.8479
7
sigma from expectations
Between 4 sigma and 4.5 sigma (should be about 14.15):
15 negative and 10 positive
These represent 0.2259
68
and 1.103
26
sigma from expectations
These represent 0.2259
7
and 1.103
3
sigma from expectations
Between 4.5 sigma and 5 sigma (should be about 1.555):
0 negative and 0 positive
These represent 1.247 and 1.247 sigma from expectations
Between 5 sigma and 5.5 sigma (should be about 0.1935):
0 negative and 0 positive
These represent 0.4398
86
and 0.4398
86
sigma from expectations
These represent 0.4398
9
and 0.4398
9
sigma from expectations
The worst deviation encountered (out of about 25) was 1.8504
1
sigma
The worst deviation encountered (out of about 25) was 1.8504 sigma

...
...
@@ 91,50 +91,50 @@ Instantiating distribution utilizing DualRand engine...
700007
800008
900009
Mean (should be close to 0): 0.00024951
3
Second moment (should be close to 1): 0.99963
5
Third moment (should be close to zero): 0.0023588
4
Fourth moment (should be close to 3): 3.002
5
6
Fifth moment (should be close to zero): 0.019
7996
Sixth moment (should be close to 15): 15.047
1
These represent 0.24951
3
, 0.25834
1
, 0.96299,
0.26104, 0.7378
86
, 0.46688
1
Mean (should be close to 0): 0.00024951
Second moment (should be close to 1): 0.99963
Third moment (should be close to zero): 0.0023588
Fourth moment (should be close to 3): 3.0026
Fifth moment (should be close to zero): 0.019
8
Sixth moment (should be close to 15): 15.047
These represent 0.24951, 0.25834, 0.96299,
0.26104, 0.7378
9
, 0.46688
standard deviations from expectations
Between 0 sigma and 0.5 sigma (should be about 191462):
191300 negative and 191581 positive
These represent 0.41174 and 0.30245
1
sigma from expectations
These represent 0.41174 and 0.30245 sigma from expectations
Between 0.5 sigma and 1 sigma (should be about 149882):
150248 negative and 150025 positive
These represent 1.0253
4
and 0.40061 sigma from expectations
These represent 1.0253 and 0.40061 sigma from expectations
Between 1 sigma and 1.5 sigma (should be about 91848):
91705 negative and 91584 positive
These represent 0.49513
3
and 0.91409
2
sigma from expectations
These represent 0.49513 and 0.91409 sigma from expectations
Between 1.5 sigma and 2 sigma (should be about 44057):
43780 negative and 44290 positive
These represent 1.349
76
and 1.135
36
sigma from expectations
These represent 1.349
8
and 1.135
4
sigma from expectations
Between 2 sigma and 2.5 sigma (should be about 16540):
16691 negative and 16391 positive
These represent 1.1839
4
and 1.168
26
sigma from expectations
These represent 1.1839 and 1.168
3
sigma from expectations
Between 2.5 sigma and 3 sigma (should be about 4860):
4898 negative and 4777 positive
These represent 0.5464
16
and 1.193
49
sigma from expectations
These represent 0.5464
2
and 1.193
5
sigma from expectations
Between 3 sigma and 3.5 sigma (should be about 1117):
1110 negative and 1143 positive
These represent 0.20956
3
and 0.7783
76
sigma from expectations
These represent 0.20956 and 0.7783
8
sigma from expectations
Between 3.5 sigma and 4 sigma (should be about 201):
206 negative and 208 positive
These represent 0.3527
08
and 0.49379
2
sigma from expectations
These represent 0.3527
1
and 0.49379 sigma from expectations
Between 4 sigma and 4.5 sigma (should be about 28.3):
34 negative and 25 positive
These represent 1.071
49
and 0.6203
36
sigma from expectations
These represent 1.071
5
and 0.6203
4
sigma from expectations
Between 4.5 sigma and 5 sigma (should be about 3.11):
2 negative and 2 positive
These represent 0.62942
4
and 0.62942
4
sigma from expectations
These represent 0.62942 and 0.62942 sigma from expectations
Between 5 sigma and 5.5 sigma (should be about 0.387):
0 negative and 0 positive
These represent 0.62209
3
and 0.62209
3
sigma from expectations
These represent 0.62209 and 0.62209 sigma from expectations
The worst deviation encountered (out of about 25) was 1.349
76
sigma
The worst deviation encountered (out of about 25) was 1.349
8
sigma

...
...
@@ 160,50 +160,50 @@ Instantiating distribution utilizing TripleRand engine...
700007
800008
900009
Mean (should be close to 10): 10.007
3
Second moment (should be close to 25): 24.99
47
Third moment (should be close to zero): 0.33843
4
Fourth moment (should be close to 1875): 1872.
5
6
Fifth moment (should be close to zero): 153.0
18
Sixth moment (should be close to 2343
7
5): 23322
3
These represent 1.4634
1
, 0.15033
2
, 1.1053
2
,
0.3990
35
, 1.8248
5
, 0.7309
08
Mean (should be close to 10): 10.007
Second moment (should be close to 25): 24.99
5
Third moment (should be close to zero): 0.33843
Fourth moment (should be close to 1875): 1872.6
Fifth moment (should be close to zero): 153.0
2
Sixth moment (should be close to 2
.
343
8e+0
5): 2
.
3322
e+05
These represent 1.4634, 0.15033, 1.1053,
0.3990
4
, 1.8248, 0.7309
1
standard deviations from expectations
Between 0 sigma and 0.5 sigma (should be about 191462):
191661 negative and 191168 positive
These represent 0.50578 and 0.74723
3
sigma from expectations
These represent 0.50578 and 0.74723 sigma from expectations
Between 0.5 sigma and 1 sigma (should be about 149882):
150041 negative and 150074 positive
These represent 0.44543
3
and 0.53788
2
sigma from expectations
These represent 0.44543 and 0.53788 sigma from expectations
Between 1 sigma and 1.5 sigma (should be about 91848):
91449 negative and 91915 positive
These represent 1.3815
3
and 0.2319
85
sigma from expectations
These represent 1.3815 and 0.2319
9
sigma from expectations
Between 1.5 sigma and 2 sigma (should be about 44057):
43899 negative and 44317 positive
These represent 0.769
89
9 and 1.2669
2
sigma from expectations
These represent 0.7699 and 1.2669 sigma from expectations
Between 2 sigma and 2.5 sigma (should be about 16540):
16439 negative and 16617 positive
These represent 0.7919
09
and 0.60373
3
sigma from expectations
These represent 0.7919
1
and 0.60373 sigma from expectations
Between 2.5 sigma and 3 sigma (should be about 4860):
4895 negative and 4895 positive
These represent 0.5032
7
8 and 0.5032
7
8 sigma from expectations
These represent 0.50328 and 0.50328 sigma from expectations
Between 3 sigma and 3.5 sigma (should be about 1117):
1124 negative and 1042 positive
These represent 0.20956
3
and 2.2453
2
sigma from expectations
These represent 0.20956 and 2.2453 sigma from expectations
Between 3.5 sigma and 4 sigma (should be about 201):
229 negative and 180 positive
These represent 1.975
17
and 1.481
37
sigma from expectations
These represent 1.975
2
and 1.481
4
sigma from expectations
Between 4 sigma and 4.5 sigma (should be about 28.3):
19 negative and 26 positive
These represent 1.7482
2
and 0.4323
55
sigma from expectations
These represent 1.7482 and 0.4323
6
sigma from expectations
Between 4.5 sigma and 5 sigma (should be about 3.11):
3 negative and 6 positive
These represent 0.062375
4
and 1.638
77
sigma from expectations
These represent 0.062375 and 1.638
8
sigma from expectations
Between 5 sigma and 5.5 sigma (should be about 0.387):
1 negative and 0 positive
These represent 0.98538
3
and 0.62209
3
sigma from expectations
These represent 0.98538 and 0.62209 sigma from expectations
The worst deviation encountered (out of about 25) was 2.2453
2
sigma
The worst deviation encountered (out of about 25) was 2.2453 sigma

...
...
@@ 217,7 +217,7 @@ Enter nBins for stepwise pdf test: 10000
Instantiating distribution utilizing Ranlux64 engine...
Sample fire():
0.4
513
0.4
408
Testing operator() ...
0
50001
...
...
@@ 229,55 +229,55 @@ Instantiating distribution utilizing Ranlux64 engine...
350007
400008
450009
Mean (should be close to 0.5): 0.499
995
Second moment (should be close to 0.0036): 0.003
61231
Third moment (should be close to zero):
2.00365
e07
Fourth moment (should be close to 3.888e05): 3.9
1688
e05
Fifth moment (should be close to zero):
9.43315
e0
9
Sixth moment (should be close to 6.9984e07): 7.
08857
e07
These represent
0.0557294, 1.71038, 0.26778
,
1.
6082
3, 0.
319683, 1.35513
Mean (should be close to 0.5): 0.499
88
Second moment (should be close to 0.0036): 0.003
5996
Third moment (should be close to zero):
5.2049
e07
Fourth moment (should be close to 3.888e05): 3.9
082
e05
Fifth moment (should be close to zero):
2.4841
e0
8
Sixth moment (should be close to 6.9984e07): 7.
1025
e07
These represent
1.3553, 0.056148, 0.69561
,
1.
126
3, 0.
84186, 1.5638
standard deviations from expectations
Between 0 sigma and 0.5 sigma (should be about 95731):
95
730
negative and 95
242
positive
These represent 0.
00359438 and 1.75765
sigma from expectations
95
879
negative and 95
631
positive
These represent 0.
53197 and 0.35944
sigma from expectations
Between 0.5 sigma and 1 sigma (should be about 74941):
7
5036
negative and 7
4757
positive
These represent 0.3
76378 and 0.728985
sigma from expectations
7
4863
negative and 7
5293
positive
These represent 0.3
0903 and 1.3946
sigma from expectations
Between 1 sigma and 1.5 sigma (should be about 45924):
4
5874
negative and 4
6224
positive
These represent 0.
24483
4 and
1
.4
69
sigma from expectations
4
6032
negative and 4
5416
positive
These represent 0.
5288
4 and
2
.4
875
sigma from expectations
Between 1.5 sigma and 2 sigma (should be about 22028.5):
220
68
negative and 2
2141
positive
These represent 0.
2722 and 0.775254
sigma from expectations
220
20
negative and 2
1866
positive
These represent 0.
058575 and 1.1198
sigma from expectations
Between 2 sigma and 2.5 sigma (should be about 8270):
83
26
negative and 8
240
positive
These represent
0.62095
and 0.
332652
sigma from expectations
83
81
negative and 8
344
positive
These represent
1.2308
and 0.
82054
sigma from expectations
Between 2.5 sigma and 3 sigma (should be about 2430):
24
57
negative and 2
513
positive
These represent 0.
549058 and 1.68785
sigma from expectations
24
23
negative and 2
472
positive
These represent 0.
14235 and 0.85409
sigma from expectations
Between 3 sigma and 3.5 sigma (should be about 558.5):
5
95
negative and 55
5
positive
These represent
1.5453
4 and 0.1
48183
sigma from expectations
5
74
negative and 55
6
positive
These represent
0.6562
4 and 0.1
0585
sigma from expectations
Between 3.5 sigma and 4 sigma (should be about 100.5):
89
negative and 11
9
positive
These represent
1.14725
and 1.
8455
8 sigma from expectations
101
negative and 11
4
positive
These represent
0.04988
and 1.
346
8 sigma from expectations
Between 4 sigma and 4.5 sigma (should be about 14.15):
1
9
negative and 1
1
positive
These represent 1.
28935 and 0.837411
sigma from expectations
1
0
negative and 1
9
positive
These represent 1.
1033 and 1.2893
sigma from expectations
Between 4.5 sigma and 5 sigma (should be about 1.555):
3
negative and 1 positive
These represent 1.
15879
and 0.44507 sigma from expectations
4
negative and 1 positive
These represent 1.
9607
and 0.44507 sigma from expectations
Between 5 sigma and 5.5 sigma (should be about 0.1935):
0
negative and 0 positive
These represent
0.439886
and 0.4398
86
sigma from expectations
1
negative and 0 positive
These represent
1.8334
and 0.4398
9
sigma from expectations
The worst deviation encountered (out of about 25) was
1.84558
sigma
The worst deviation encountered (out of about 25) was
2.4875
sigma
Enter nBins for linearized pdf test: 1000
Sample operator():
0.4
56593
0.4
63128
Testing operator() ...
0
50001
...
...
@@ 289,50 +289,50 @@ Enter nBins for linearized pdf test: 1000
350007
400008
450009
Mean (should be close to 0.5): 0.
499963
Second moment (should be close to 0.0036): 0.00360
046
Third moment (should be close to zero):
9.05934
e07
Fourth moment (should be close to 3.888e05): 3.8
8233
e05
Fifth moment (should be close to zero):
3.8593
1e08
Sixth moment (should be close to 6.9984e07): 6.9
6311
e07
These represent 0.
437691, 0.064491, 1.21074
,
0.
315891, 1.30789, 0.530318
Mean (should be close to 0.5): 0.
50006
Second moment (should be close to 0.0036): 0.00360
28
Third moment (should be close to zero):
4.7605
e07
Fourth moment (should be close to 3.888e05): 3.8
957
e05
Fifth moment (should be close to zero):
2.149
1e08
Sixth moment (should be close to 6.9984e07): 6.9
999
e07
These represent 0.
6852, 0.39504, 0.63622
,
0.
42945, 0.72832, 0.02247
standard deviations from expectations
Between 0 sigma and 0.5 sigma (should be about 95731):
95
809
negative and 9
5698
positive
These represent
0.280361 and 0.118614
sigma from expectations
95
333
negative and 9
6081
positive
These represent
1.4306 and 1.258
sigma from expectations
Between 0.5 sigma and 1 sigma (should be about 74941):
74
841
negative and 7
489
5 positive
These represent 0.
396187
and 0.
182246
sigma from expectations
74
969
negative and 7
507
5 positive
These represent 0.
11093
and 0.
53089
sigma from expectations
Between 1 sigma and 1.5 sigma (should be about 45924):
4
6094
negative and 45
834
positive
These represent 0.
832434
and 0.
440
7 sigma from expectations
4
5820
negative and 45
766
positive
These represent 0.
50925
and 0.
7736
7 sigma from expectations
Between 1.5 sigma and 2 sigma (should be about 22028.5):
2
2093
negative and 220
09
positive
These represent 0.
444479
and 0.
134377
sigma from expectations
2
1895
negative and 220
76
positive
These represent 0.
91997
and 0.
32733
sigma from expectations
Between 2 sigma and 2.5 sigma (should be about 8270):
8
282
negative and 8
258
positive
These represent 0.
133061 and 0.133061
sigma from expectations
8
310
negative and 8
421
positive
These represent 0.
44354 and 1.6743
sigma from expectations
Between 2.5 sigma and 3 sigma (should be about 2430):
24
38
negative and 24
20
positive
These represent 0.
162684
and 0.2
03355
sigma from expectations
24
75
negative and 24
43
positive
These represent 0.
9151
and 0.2
6436
sigma from expectations
Between 3 sigma and 3.5 sigma (should be about 558.5):
5
13
negative and 5
90
positive
These represent
1.92638 and 1.33365
sigma from expectations
5
60
negative and 5
45
positive
These represent
0.063507 and 0.57156
sigma from expectations
Between 3.5 sigma and 4 sigma (should be about 100.5):
95
negative and
10
1 positive
These represent 0.
5
48
685
and 0.
0498805
sigma from expectations
108
negative and
9
1 positive
These represent 0.
7
48
21
and 0.
94773
sigma from expectations
Between 4 sigma and 4.5 sigma (should be about 14.15):
1
5
negative and 1
2
positive
These represent 0.
225968
and 0.57
15
66 sigma from expectations
1
1
negative and 1
7
positive
These represent 0.
83741
and 0.
7
5766 sigma from expectations
Between 4.5 sigma and 5 sigma (should be about 1.555):
2 negative and
1
positive
These represent 0.3568
58
and 0.
44507
sigma from expectations
2 negative and
2
positive
These represent 0.3568
6
and 0.
35686
sigma from expectations
Between 5 sigma and 5.5 sigma (should be about 0.1935):
0 negative and 0 positive
These represent 0.4398
86
and 0.4398
86
sigma from expectations
These represent 0.4398
9
and 0.4398
9
sigma from expectations
The worst deviation encountered (out of about 25) was 1.
92638
sigma
The worst deviation encountered (out of about 25) was 1.
6743
sigma

...
...