MadSpin spinmode option inconsistency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello
I'm running MadGraph + MadSpin to study spin correlations in ttbar events.
I prepared an command card (mg_settings.cmd [1]) to set the process card, run card, and madspin card with different options (which I am modifying in my shell script).
I'm executing the following lines on lxplus (using the latest MG version):
source /cvmfs/
bin/mg5_aMC mg_settings.txt
Unfortunately, the madspin option on/off it is not working due to mismatch between the expected and requested settings (probably in MadSpin/
When I run with "set spinmode madspin" I get the following error:
InvalidCmd : spinmode can only take one of those 3 value: full/onshell/none
If I run with "set spinmode full" I get the following warning:
value 'full' for entry 'spinmode' is not valid. Preserving previous value: 'madspin'.
allowed values are madspin, none, onshell
I can use:
#set spinmode none
to run with correct spin correlations, but it is less convenient for me.
Another question is how to set up other madspin settings in my mg_settings.cmd file?
I'm running in lxplus7, with a large number of events. Madspin fails to handle with the default folder (full_me), with the following error:
OSError : [Errno 39] Directory not empty: '/afs/cern.
I followed the solution proposed in https:/
set ms_dir TEST
but this option is not working when I set it in my mg_settings.cmd file.
Can the other Madspin options be readable from the mg_settings.cmd file?
Thank you in advance,
Michael
[1] mg_settings.cmd:
generate p p > t t~
launch
madspin=on
set nevents 100000
#madspin options:
set spinmode madspin
set ms_dir TEST # to allow large number of generated events
decay t > w+ b, w+ > l+ vl
decay t~ > w- b~, w- > l- vl~
done
Changed in mg5amcnlo: | |
status: | Fix Committed → Fix Released |
Hi,
You will find the patch (and download of the nightly build) here: /bazaar. launchpad. net/~mg5core1/ mg5amcnlo/ 2.7.3/revision/ 306
https:/
For editting the madspin card, the only option (but for the decay mode and the spinmode)
is to use the "edit" command
for example:
edit madspin_card --replace_line='set ms_dir' --after_line=banner set ms_dir TEST_XX
(the after_line argument is only use if they are no line starting by "set ms_dir" in your file)
Therefore your script can be:
generate p p > t t~
launch
madspin=full
set nevents 100000
edit madspin_card --replace_line='set ms_dir' --after_line=banner set ms_dir TEST_XX
decay t > w+ b, w+ > l+ vl
decay t~ > w- b~, w- > l- vl~
Note that you can not use the same TEST_XX for the three mode of madspin.
Cheers,
Olivier