Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F7878806
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
5 KB
Subscribers
None
View Options
Index: trunk/tests/qedtest_10.sh
===================================================================
--- trunk/tests/qedtest_10.sh (revision 0)
+++ trunk/tests/qedtest_10.sh (revision 5203)
@@ -0,0 +1,12 @@
+#!/bin/sh
+### Check WHIZARD for a simple test process
+echo "Running script $0"
+if test -f OCAML_FLAG; then
+ ./run_whizard.sh @script@ --no-logging --no-model
+ diff ref-output/`basename @script@`.ref `basename @script@`.log
+else
+ echo "|=============================================================================|"
+ echo "No O'Mega matrix elements available, test skipped"
+ exit 77
+fi
+
Index: trunk/share/tests/qedtest_10.sin
===================================================================
--- trunk/share/tests/qedtest_10.sin (revision 0)
+++ trunk/share/tests/qedtest_10.sin (revision 5203)
@@ -0,0 +1,37 @@
+# SINDARIN input for WHIZARD self-test
+# Process e- e+ -> mu- mu+
+
+?logging = true
+?openmp_logging = false
+?vis_history = false
+
+model = QED
+process qedtest_10_p = e1, E1 => e2, E2
+
+me = 0
+mmu = 0
+
+sqrts = 500 GeV
+!!! Tests should be run single-threaded
+openmp_num_threads = 1
+
+iterations = 3:1000, 3:1000
+integrate (qedtest_10_p)
+?read_raw = false
+?write_raw = false
+
+n_events = 0
+luminosity = 0
+simulate (qedtest_10_p)
+
+n_events = 10
+luminosity = 0
+simulate (qedtest_10_p)
+
+n_events = 0
+luminosity = 0.1
+simulate (qedtest_10_p)
+
+n_events = 100
+luminosity = 0.1
+simulate (qedtest_10_p)
Index: trunk/share/tests/ref-output/qedtest_10.ref
===================================================================
--- trunk/share/tests/ref-output/qedtest_10.ref (revision 0)
+++ trunk/share/tests/ref-output/qedtest_10.ref (revision 5203)
@@ -0,0 +1,92 @@
+?openmp_logging = false
+?vis_history = false
+| Process library 'qedtest_10_lib': recorded process 'qedtest_10_p'
+QED.me = 0.000000000000E+00
+QED.mmu = 0.000000000000E+00
+sqrts = 5.000000000000E+02
+openmp_num_threads = 1
+| Integrate: current process library needs compilation
+| Process library 'qedtest_10_lib': compiling ...
+| Process library 'qedtest_10_lib': writing makefile
+| Process library 'qedtest_10_lib': removing old files
+| Process library 'qedtest_10_lib': writing driver
+| Process library 'qedtest_10_lib': creating source code
+| Process library 'qedtest_10_lib': compiling sources
+| Process library 'qedtest_10_lib': linking
+| Process library 'qedtest_10_lib': loading
+| Process library 'qedtest_10_lib': ... success.
+| Integrate: compilation done
+| RNG: Initializing tao random-number generator
+| RNG: Setting seed for random-number generator to 0
+| Initializing integration for process qedtest_10_p:
+| Beam structure: [any particles]
+| Beam data (collision):
+| e- (mass = 0.0000000E+00 GeV)
+| e+ (mass = 0.0000000E+00 GeV)
+| sqrts = 5.000000000000E+02 GeV
+| Phase space: generating configuration ...
+| Phase space: ... success.
+| Phase space: writing configuration file 'qedtest_10_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 'qedtest_10_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 3.4721369E+02 3.08E-01 0.09 0.03* 0.00
+ 2 800 3.4797621E+02 3.15E-01 0.09 0.03 0.00
+ 3 800 3.4792064E+02 2.93E-01 0.08 0.02* 0.00
+|-----------------------------------------------------------------------------|
+ 3 2400 3.4770352E+02 4.25E-01 0.12 0.06 0.00 0.00 3
+|-----------------------------------------------------------------------------|
+ 4 800 3.4744803E+02 3.03E-01 0.09 0.02 0.00
+ 5 800 3.4732099E+02 3.03E-01 0.09 0.02 0.00
+ 6 800 3.4698639E+02 3.07E-01 0.09 0.02 0.00
+|-----------------------------------------------------------------------------|
+ 6 2400 3.4725180E+02 2.38E-01 0.07 0.03 0.00 0.00 3
+|=============================================================================|
+?read_raw = false
+?write_raw = false
+n_events = 0
+luminosity = 0.000000000000E+00
+| Starting simulation for process 'qedtest_10_p'
+| Simulate: using integration grids from file 'qedtest_10_p.vg'
+| RNG: Initializing tao random-number generator
+| RNG: Setting seed for random-number generator to 1
+| Generating 0 unweighted events ...
+| ... event sample complete.
+n_events = 10
+luminosity = 0.000000000000E+00
+| Starting simulation for process 'qedtest_10_p'
+| Simulate: using integration grids from file 'qedtest_10_p.vg'
+| RNG: Initializing tao random-number generator
+| RNG: Setting seed for random-number generator to 2
+| Generating 10 unweighted events ...
+| ... event sample complete.
+n_events = 0
+luminosity = 1.000000000000E-01
+| Starting simulation for process 'qedtest_10_p'
+| Simulate: using integration grids from file 'qedtest_10_p.vg'
+| RNG: Initializing tao random-number generator
+| RNG: Setting seed for random-number generator to 3
+| Simulation: using n_events as computed from luminosity value
+| Generating 35 unweighted events ...
+| ... event sample complete.
+n_events = 100
+luminosity = 1.000000000000E-01
+| Starting simulation for process 'qedtest_10_p'
+| Simulate: using integration grids from file 'qedtest_10_p.vg'
+| RNG: Initializing tao random-number generator
+| RNG: Setting seed for random-number generator to 4
+| Generating 100 unweighted events ...
+| ... event sample complete.
+| There were no errors and 1 warning(s).
+| WHIZARD run finished.
+|=============================================================================|
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Nov 19, 6:58 PM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3805708
Default Alt Text
(5 KB)
Attached To
rWHIZARDSVN whizardsvn
Event Timeline
Log In to Comment