Setting width of a user-defined particle to Auto using a script
Hi,
I have a FeynRules model with N user-defined particles in it. I am using a script to generate events and output to a directory. For eg., for N = 5, I have the contents of the script look like the following:
import model new_UFO
define n = ns1 ns2 ns3 ns4 ns5
generate p p > n e-
output ppNe_5
launch
set wns1 Auto
set wns2 Auto
set wns3 Auto
set wns4 Auto
set wns5 Auto
where ns1, ns2, ns3, ns4 and ns5 are the new particles. I used wns1, wns2 etc. to refer to the widths of my particles, following the naming scheme used for the other SM particles. When I run ./bin/mg5_aMC script.sh, I get errors that say:
set wns1 Auto
WARNING: invalid set command wns1 Auto
I am guessing the error is that the width of my new particle is not referred to by the variable "wns1".
I don't want to go and manually change the widths in the parameter cards, as I plan to have a larger N and it will be tedious to do so by hand. I need a way to set widths of my new particles to Auto using my script. (I have another shell script that writes out scripts of this form when given the value of N). How do I figure out the variable names referring to the widths of my new particles?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: