I want set random number for parameters

Asked by Rouzbeh

Hello,

I am using MadGraph3.4.2, and I have three new parameters for BSM model. Is it possible to give them random values?

Thank you so much for your consideration.

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:
Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

With the scan functionality it is possible

for example this script does work:
generate p p > t t~
output
launch
set mt scan1:[100+100*random.random() for i in range(10)]
set mb scan1:[2+6*random.random() for i in range(10)]

(it runs sequentially 10 run with random value for the mass of the top and the mass of the bottom)

Cheers,

Olvier

Revision history for this message
Rouzbeh (rouzbehi) said :
#2

Thanks Olivier Mattelaer, that solved my question.