lp:~maddevelopers/mg5amcnlo/MadSpin
Usage
******
the way to use MadSpin is to lauch either the madevent interface
or the aMCatNLO interface and to type decay_events.
The user is asked to provide
- the path to the input lhe file,
- the set of particles which should be decayed
and enter the corresponding decay channel,
- the maximum weight (if unknown, it is calculated)
- the overal branching fraction
Output file
***********
If the input file is of the type
Events/
then the output file is
Events/
The banner of this new event file contains
extra following lines of the type
<DECAY>
# p p > t t~ H , ( t > b w+ , w+ > mu+ vm ) , ( t~ > b~ w- , w- > mu- vm~ ) , h > b b~
# branching fraction: 1.0
# estimate of the maximum weight: 3.5928221952e-10
</DECAY>
- "branching fraction" is the real number by which the weight
of each event is rescaled (provided by the user)
- "estimate of the maximum weight" is the max. weight that has been
used for the unweighting procedure (keep record of this number
in case the user wants to decay another set of tt~H events and skip
the evaluation of the max. weight)
Limitations
***********
There are currently several limitations, which are brought to the attention
of the user when decay_events is launched:
MGME5>decay_events
INFO: This functionality allows for the decay of resonances
INFO: in a .lhe file, keeping track of the spin correlation effets.
INFO: BE AWARE OF THE CURRENT LIMITATIONS:
INFO: (1) exclusive decay channel only,
INFO: YOU CANNOT USE MULTI-PARTICLE TAG
INFO: (2) the overall branching fraction must
INFO: specified by the user (otherwise the
INFO: is not rescaled)
INFO: (3) only decay channels with splitting of the type
INFO: A -> B(stable) + C(unstable)
INFO: have been tested so far
INFO: (4) when entering the decay chain structure,
INFO: please note that the reading module is
INFO: CASE SENSITIVE
tests
*****
I added a directory madspin inside tests/unit_tests
There are currently two tests:
- a test to check that the banner is read correctly,
- a test to check that the matrix elements are correctly evaluated.
Validations
***********
decay_events seems to work fine for single-top, tt~ and tt~h events.
(I plan to check other processes as well)
I had no failure with the unit tests.
I also lauched the acceptance tests, but I had the following errors
BOTH in the MadSpin version and in the primary aMCatNLO version:
F......
F
=======
ERROR: test_creating_
test that the creation of matched plot works
-------
Traceback (most recent call last):
File "/Users/
self.
File "/Users/
raise Exception, 'root is require for this test'
Exception: root is require for this test
=======
ERROR: test_width_
test the param_card created is correct
-------
Traceback (most recent call last):
File "/Users/
self.
File "/Users/
raise Exception, 'root is require for this test'
Exception: root is require for this test
=======
FAIL: test_config (tests.
check that configuration file is at default value
-------
Traceback (most recent call last):
File "/Users/
self.
AssertionError: {'web_browser': None, 'text_editor': None, 'cluster_
{'auto_update': 7,
'automatic_
'cluster_queue': None,
'cluster_
'cluster_type': 'condor',
'complex_
'eps_viewer': None,
'fastjet': 'fastjet-config',
+ 'fks_mode': 'real',
'fortran_
'gauge': 'unitary',
'group_
'ignore_
'lhapdf': 'lhapdf-config',
- 'loop_optimized
? ^^^
+ 'loop_optimized
? ^^^^
'nb_core': None,
'run_mode': 2,
'text_editor': None,
'timeout': 60,
'web_browser': None}
=======
FAIL: test_all (tests.
test all the files
-------
Traceback (most recent call last):
File "/Users/
self.
File "/Users/
self.
AssertionError: False is not true
-------
Ran 35 tests in 298.052s
FAILED (failures=2, errors=2)
- Get this branch:
- bzr branch lp:~maddevelopers/mg5amcnlo/MadSpin
Branch merges
- Valentin Hirschi: Needs Fixing
- Johan Alwall (community): Needs Fixing
- Olivier Mattelaer: Approve
- marco zaro: Pending requested
- Diff: 313397 lines (has conflicts)
Related bugs
Bug #1090067: directory does not exist (bug in path) --fixed | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 559. By Rikkert Frederix
-
Changed the question when executing the launch command (and added a
warning when user does not run the shower straight away). - 558. By marco zaro
-
bug in MCatNLO_
MadFKS. inputs fixed.
The number of events was overwritten
Now it should be working - 557. By Rikkert Frederix
-
1. converted many of the INFO to DEBUG messages
2. "chmod -x" for MadSpin/src/*
3. Removed a CRITICAL message that didn't do anything (was there only
for debug purposes. - 555. By marco zaro
-
added acceptance tests for the scripts in the bin directory
and check of file size for the stdhep files
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~madteam/mg5amcnlo/trunk