Use scan twice

Asked by Igna on 2019-07-16

Hi! I'd like to generate a couple of processes with the Z' boson, giving different masses to the Z'. For this I use:

Set MZp scan:[1,2,3]

For each mass, there is a different corresponding width, according to a formula. If I use:

Set WZp scan:[value1, value2, value3]

it generates all combinations possible (so 3x3). If I use:

Set WZp sqrt(MZp)/pi + 0.01**2 (this is not the formula but it includes the operations used)

I get the WARNING: invalid set command param_card decay 26 (failed to identify LHA information).

Do you know how I can set the width correctly?
is there a way to have variables and functions in madgraph?

Thank you very much!

Question information

English Edit question
MadGraph5_aMC@NLO Edit question
No assignee Edit question
Last query:
Last reply:

Olivier Mattelaer suggests this article as an answer to your question:
FAQ #2735: “How to make a parameter scan.”.

Can you help with this problem?

Provide an answer of your own, or ask Igna for more information if necessary.

To post a message you must log in.