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

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
2019-09-03
Last query:
2019-09-03
Last reply:
2019-07-17

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

Igna (thir13ten-ghost) said : #2

Thanks Olivier Mattelaer, that solved my question.