Page MenuHomeHEPForge

No OneTemporary

Index: trunk/share/tests/event_weights_2.sin
===================================================================
--- trunk/share/tests/event_weights_2.sin (revision 5224)
+++ trunk/share/tests/event_weights_2.sin (revision 5225)
@@ -1,53 +1,54 @@
# SINDARIN input for WHIZARD self-test
model = "QED"
ee = 0.30286
me = 0
mmu = 0
?logging = true
+?openmp_logging = false
?vis_history = false
?integration_timer = false
$method = "omega"
process event_weights_2_p = "e-", "e+" => "mu-", "mu+"
compile ()
$phs_method = "wood"
$integration_method = "vamp"
iterations = 3:1000:"g", 3:1000
sqrts = 1000
!!! Tests should be run single-threaded
openmp_num_threads = 1
integrate (event_weights_2_p)
sample_format = weight_stream
?unweighted = false
n_events = 2
$sample_normalization = "auto"
$sample = "event_weights_2a"
seed = 0
simulate (event_weights_2_p)
$sample_normalization = "1"
$sample = "event_weights_2b"
seed = 0
simulate (event_weights_2_p)
$sample_normalization = "1/n"
$sample = "event_weights_2c"
seed = 0
simulate (event_weights_2_p)
$sample_normalization = "sigma"
$sample = "event_weights_2d"
seed = 0
simulate (event_weights_2_p)
$sample_normalization = "sigma/n"
$sample = "event_weights_2e"
seed = 0
simulate (event_weights_2_p)
Index: trunk/share/tests/event_weights_1.sin
===================================================================
--- trunk/share/tests/event_weights_1.sin (revision 5224)
+++ trunk/share/tests/event_weights_1.sin (revision 5225)
@@ -1,53 +1,54 @@
# SINDARIN input for WHIZARD self-test
model = "QED"
ee = 0.30286
me = 0
mmu = 0
?logging = true
+?openmp_logging = false
?vis_history = false
?integration_timer = false
$method = "omega"
process event_weights_1_p = "e-", "e+" => "mu-", "mu+"
compile ()
$phs_method = "wood"
$integration_method = "vamp"
iterations = 3:1000:"g", 3:1000
sqrts = 1000
!!! Tests should be run single-threaded
openmp_num_threads = 1
integrate (event_weights_1_p)
sample_format = weight_stream
?unweighted = true
n_events = 2
$sample_normalization = "auto"
$sample = "event_weights_1a"
seed = 0
simulate (event_weights_1_p)
$sample_normalization = "1"
$sample = "event_weights_1b"
seed = 0
simulate (event_weights_1_p)
$sample_normalization = "1/n"
$sample = "event_weights_1c"
seed = 0
simulate (event_weights_1_p)
$sample_normalization = "sigma"
$sample = "event_weights_1d"
seed = 0
simulate (event_weights_1_p)
$sample_normalization = "sigma/n"
$sample = "event_weights_1e"
seed = 0
simulate (event_weights_1_p)
Index: trunk/share/tests/ref-output/event_weights_1.ref
===================================================================
--- trunk/share/tests/ref-output/event_weights_1.ref (revision 5224)
+++ trunk/share/tests/ref-output/event_weights_1.ref (revision 5225)
@@ -1,138 +1,139 @@
+?openmp_logging = false
?vis_history = false
?integration_timer = false
$method = "omega"
| Process library 'event_weights_1_lib': recorded process 'event_weights_1_p'
| Process library 'event_weights_1_lib': compiling ...
| Process library 'event_weights_1_lib': writing makefile
| Process library 'event_weights_1_lib': removing old files
| Process library 'event_weights_1_lib': writing driver
| Process library 'event_weights_1_lib': creating source code
| Process library 'event_weights_1_lib': compiling sources
| Process library 'event_weights_1_lib': linking
| Process library 'event_weights_1_lib': loading
| Process library 'event_weights_1_lib': ... success.
$phs_method = "wood"
$integration_method = "vamp"
sqrts = 1.000000000000E+03
openmp_num_threads = 1
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Initializing integration for process event_weights_1_p:
| Beam structure: [any particles]
| Beam data (collision):
| e- (mass = 0.0000000E+00 GeV)
| e+ (mass = 0.0000000E+00 GeV)
| sqrts = 1.000000000000E+03 GeV
| Phase space: generating configuration ...
| Phase space: ... success.
| Phase space: writing configuration file 'event_weights_1_p_i1.phs'
| Phase space: 1 channels, 2 dimensions
| Phase space: found 1 channel, collected in 1 grove.
| Phase space: Using 1 equivalence between channels.
| Phase space: wood
Warning: No cuts have been defined.
| Starting integration for process 'event_weights_1_p'
| Integrator: 1 chains, 1 channels, 2 dimensions
| Integrator: Using VAMP channel equivalences
| Integrator: 1000 initial calls, 20 bins, stratified = T
| Integrator: VAMP
|=============================================================================|
| It Calls Integral[fb] Error[fb] Err[%] Acc Eff[%] Chi2 N[It] |
|=============================================================================|
1 800 8.6803424E+01 7.69E-02 0.09 0.03* 66.65
2 800 8.6983246E+01 6.03E-02 0.07 0.02* 60.65
3 800 8.6981187E+01 6.11E-02 0.07 0.02 79.69
|-----------------------------------------------------------------------------|
3 2400 8.6939773E+01 3.75E-02 0.04 0.02 79.69 2.06 3
|-----------------------------------------------------------------------------|
4 800 8.6888780E+01 6.21E-02 0.07 0.02 79.61
5 800 8.6803833E+01 6.21E-02 0.07 0.02 79.53
6 800 8.6821758E+01 6.15E-02 0.07 0.02* 79.55
|-----------------------------------------------------------------------------|
6 2400 8.6837998E+01 3.57E-02 0.04 0.02 79.55 0.52 3
|=============================================================================|
?unweighted = true
n_events = 2
$sample_normalization = "auto"
$sample = "event_weights_1a"
seed = 0
| Starting simulation for process 'event_weights_1_p'
| Simulate: using integration grids from file 'event_weights_1_p.vg'
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Events: writing to weight stream file 'event_weights_1a.weights.dat'
| Events: writing to raw file 'event_weights_1a.evx'
| Generating 2 unweighted events ...
| ... event sample complete.
| Events: closing weight stream file 'event_weights_1a.weights.dat'
| Events: closing raw file 'event_weights_1a.evx'
$sample_normalization = "1"
$sample = "event_weights_1b"
seed = 0
| Starting simulation for process 'event_weights_1_p'
| Simulate: using integration grids from file 'event_weights_1_p.vg'
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Events: writing to weight stream file 'event_weights_1b.weights.dat'
| Events: writing to raw file 'event_weights_1b.evx'
| Generating 2 unweighted events ...
| ... event sample complete.
| Events: closing weight stream file 'event_weights_1b.weights.dat'
| Events: closing raw file 'event_weights_1b.evx'
$sample_normalization = "1/n"
$sample = "event_weights_1c"
seed = 0
| Starting simulation for process 'event_weights_1_p'
| Simulate: using integration grids from file 'event_weights_1_p.vg'
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Events: writing to weight stream file 'event_weights_1c.weights.dat'
| Events: writing to raw file 'event_weights_1c.evx'
| Generating 2 unweighted events ...
| ... event sample complete.
| Events: closing weight stream file 'event_weights_1c.weights.dat'
| Events: closing raw file 'event_weights_1c.evx'
$sample_normalization = "sigma"
$sample = "event_weights_1d"
seed = 0
| Starting simulation for process 'event_weights_1_p'
| Simulate: using integration grids from file 'event_weights_1_p.vg'
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Events: writing to weight stream file 'event_weights_1d.weights.dat'
| Events: writing to raw file 'event_weights_1d.evx'
| Generating 2 unweighted events ...
| ... event sample complete.
| Events: closing weight stream file 'event_weights_1d.weights.dat'
| Events: closing raw file 'event_weights_1d.evx'
$sample_normalization = "sigma/n"
$sample = "event_weights_1e"
seed = 0
| Starting simulation for process 'event_weights_1_p'
| Simulate: using integration grids from file 'event_weights_1_p.vg'
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Events: writing to weight stream file 'event_weights_1e.weights.dat'
| Events: writing to raw file 'event_weights_1e.evx'
| Generating 2 unweighted events ...
| ... event sample complete.
| Events: closing weight stream file 'event_weights_1e.weights.dat'
| Events: closing raw file 'event_weights_1e.evx'
| There were no errors and 1 warning(s).
| WHIZARD run finished.
|=============================================================================|
Contents of event_weights_1a.weights.dat:
0 1.000000000000E+00 8.449480211153E-03 8.449480211153E-03 1 1 1
0 1.000000000000E+00 8.421558503054E-03 8.421558503054E-03 1 1 1
Contents of event_weights_1b.weights.dat:
0 1.000000000000E+00 1.568670791305E-02 1.568670791305E-02 1 1 1
0 1.000000000000E+00 1.068360387073E-02 1.068360387073E-02 1 1 1
Contents of event_weights_1c.weights.dat:
0 5.000000000000E-01 8.425025526299E-03 8.425025526299E-03 1 1 1
0 5.000000000000E-01 1.116418902890E-02 1.116418902890E-02 1 1 1
Contents of event_weights_1d.weights.dat:
0 8.683799829488E+01 1.066990921404E-02 1.066990921404E-02 1 1 1
0 8.683799829488E+01 1.090703766872E-02 1.090703766872E-02 1 1 1
Contents of event_weights_1e.weights.dat:
0 4.341899914744E+01 8.703720220410E-03 8.703720220410E-03 1 1 1
0 4.341899914744E+01 1.307990393947E-02 1.307990393947E-02 1 1 1
Index: trunk/share/tests/ref-output/event_weights_2.ref
===================================================================
--- trunk/share/tests/ref-output/event_weights_2.ref (revision 5224)
+++ trunk/share/tests/ref-output/event_weights_2.ref (revision 5225)
@@ -1,138 +1,139 @@
+?openmp_logging = false
?vis_history = false
?integration_timer = false
$method = "omega"
| Process library 'event_weights_2_lib': recorded process 'event_weights_2_p'
| Process library 'event_weights_2_lib': compiling ...
| Process library 'event_weights_2_lib': writing makefile
| Process library 'event_weights_2_lib': removing old files
| Process library 'event_weights_2_lib': writing driver
| Process library 'event_weights_2_lib': creating source code
| Process library 'event_weights_2_lib': compiling sources
| Process library 'event_weights_2_lib': linking
| Process library 'event_weights_2_lib': loading
| Process library 'event_weights_2_lib': ... success.
$phs_method = "wood"
$integration_method = "vamp"
sqrts = 1.000000000000E+03
openmp_num_threads = 1
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Initializing integration for process event_weights_2_p:
| Beam structure: [any particles]
| Beam data (collision):
| e- (mass = 0.0000000E+00 GeV)
| e+ (mass = 0.0000000E+00 GeV)
| sqrts = 1.000000000000E+03 GeV
| Phase space: generating configuration ...
| Phase space: ... success.
| Phase space: writing configuration file 'event_weights_2_p_i1.phs'
| Phase space: 1 channels, 2 dimensions
| Phase space: found 1 channel, collected in 1 grove.
| Phase space: Using 1 equivalence between channels.
| Phase space: wood
Warning: No cuts have been defined.
| Starting integration for process 'event_weights_2_p'
| Integrator: 1 chains, 1 channels, 2 dimensions
| Integrator: Using VAMP channel equivalences
| Integrator: 1000 initial calls, 20 bins, stratified = T
| Integrator: VAMP
|=============================================================================|
| It Calls Integral[fb] Error[fb] Err[%] Acc Eff[%] Chi2 N[It] |
|=============================================================================|
1 800 8.6803424E+01 7.69E-02 0.09 0.03* 66.65
2 800 8.6983246E+01 6.03E-02 0.07 0.02* 60.65
3 800 8.6981187E+01 6.11E-02 0.07 0.02 79.69
|-----------------------------------------------------------------------------|
3 2400 8.6939773E+01 3.75E-02 0.04 0.02 79.69 2.06 3
|-----------------------------------------------------------------------------|
4 800 8.6888780E+01 6.21E-02 0.07 0.02 79.61
5 800 8.6803833E+01 6.21E-02 0.07 0.02 79.53
6 800 8.6821758E+01 6.15E-02 0.07 0.02* 79.55
|-----------------------------------------------------------------------------|
6 2400 8.6837998E+01 3.57E-02 0.04 0.02 79.55 0.52 3
|=============================================================================|
?unweighted = false
n_events = 2
$sample_normalization = "auto"
$sample = "event_weights_2a"
seed = 0
| Starting simulation for process 'event_weights_2_p'
| Simulate: using integration grids from file 'event_weights_2_p.vg'
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Events: writing to weight stream file 'event_weights_2a.weights.dat'
| Events: writing to raw file 'event_weights_2a.evx'
| Generating 2 weighted events ...
| ... event sample complete.
| Events: closing weight stream file 'event_weights_2a.weights.dat'
| Events: closing raw file 'event_weights_2a.evx'
$sample_normalization = "1"
$sample = "event_weights_2b"
seed = 0
| Starting simulation for process 'event_weights_2_p'
| Simulate: using integration grids from file 'event_weights_2_p.vg'
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Events: writing to weight stream file 'event_weights_2b.weights.dat'
| Events: writing to raw file 'event_weights_2b.evx'
| Generating 2 weighted events ...
| ... event sample complete.
| Events: closing weight stream file 'event_weights_2b.weights.dat'
| Events: closing raw file 'event_weights_2b.evx'
$sample_normalization = "1/n"
$sample = "event_weights_2c"
seed = 0
| Starting simulation for process 'event_weights_2_p'
| Simulate: using integration grids from file 'event_weights_2_p.vg'
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Events: writing to weight stream file 'event_weights_2c.weights.dat'
| Events: writing to raw file 'event_weights_2c.evx'
| Generating 2 weighted events ...
| ... event sample complete.
| Events: closing weight stream file 'event_weights_2c.weights.dat'
| Events: closing raw file 'event_weights_2c.evx'
$sample_normalization = "sigma"
$sample = "event_weights_2d"
seed = 0
| Starting simulation for process 'event_weights_2_p'
| Simulate: using integration grids from file 'event_weights_2_p.vg'
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Events: writing to weight stream file 'event_weights_2d.weights.dat'
| Events: writing to raw file 'event_weights_2d.evx'
| Generating 2 weighted events ...
| ... event sample complete.
| Events: closing weight stream file 'event_weights_2d.weights.dat'
| Events: closing raw file 'event_weights_2d.evx'
$sample_normalization = "sigma/n"
$sample = "event_weights_2e"
seed = 0
| Starting simulation for process 'event_weights_2_p'
| Simulate: using integration grids from file 'event_weights_2_p.vg'
| RNG: Initializing tao random-number generator
| RNG: Setting seed for random-number generator to 0
| Events: writing to weight stream file 'event_weights_2e.weights.dat'
| Events: writing to raw file 'event_weights_2e.evx'
| Generating 2 weighted events ...
| ... event sample complete.
| Events: closing weight stream file 'event_weights_2e.weights.dat'
| Events: closing raw file 'event_weights_2e.evx'
| There were no errors and 1 warning(s).
| WHIZARD run finished.
|=============================================================================|
Contents of event_weights_2a.weights.dat:
0 1.042771530950E+02 8.449480211153E-03 8.449480211153E-03 1 1 1
-0 9.063168519075E+01 9.126825174184E-03 9.126825174184E-03 1 1 1
+0 9.063168519076E+01 9.126825174184E-03 9.126825174184E-03 1 1 1
Contents of event_weights_2b.weights.dat:
0 8.952125302980E-01 9.985597133112E-03 9.985597133112E-03 1 1 1
0 1.094556031076E+00 1.407949083757E-02 1.407949083757E-02 1 1 1
Contents of event_weights_2c.weights.dat:
0 5.621551270283E-01 1.568670791305E-02 1.568670791305E-02 1 1 1
0 5.997396749405E-01 8.440018661539E-03 8.440018661539E-03 1 1 1
Contents of event_weights_2d.weights.dat:
0 1.035633579308E+02 1.663956459664E-02 1.663956459664E-02 1 1 1
0 7.804123750126E+01 1.504836354829E-02 1.504836354829E-02 1 1 1
Contents of event_weights_2e.weights.dat:
-0 3.925592204645E+01 1.116418902890E-02 1.116418902890E-02 1 1 1
+0 3.925592204646E+01 1.116418902890E-02 1.116418902890E-02 1 1 1
0 4.861204629025E+01 1.562103239183E-02 1.562103239183E-02 1 1 1

File Metadata

Mime Type
text/x-diff
Expires
Tue, Nov 19, 7:00 PM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3805726
Default Alt Text
(16 KB)

Event Timeline