On script running of madgraph

Asked by von

Hello

I am trying to run madgraph automatically by a written script,as
 http://indico.cern.ch/event/239005/material/slides/0.pdf
page22,Exercise V: scripting
and I create a file:

import mssm_v4
generate p p > go go , go > t t~ n1 , go > t t~ n1
output
launch
set Mn1 250
done
launch

but the param_card.dat file do not change at all,then,how can I set the mass of the LSP ? And is there any complete reference to this?

best regards

von

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

The easiest way to have all the possible command for the set command
is to use the auto-completion.

in this case and for this model the safest is to use the lengthy syntax:
set mass 1000022 250

which correspond to
set BLOCKNAME PDG_CODE VALUE

Cheers,

Olivier
On Sep 9, 2014, at 1:13 AM, von <email address hidden> wrote:

> New question #254234 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/254234
>
> Hello
>
> I am trying to run madgraph automatically by a written script,as
> http://indico.cern.ch/event/239005/material/slides/0.pdf
> page22,Exercise V: scripting
> and I create a file:
>
> import mssm_v4
> generate p p > go go , go > t t~ n1 , go > t t~ n1
> output
> launch
> set Mn1 250
> done
> launch
>
> but the param_card.dat file do not change at all,then,how can I set the mass of the LSP ? And is there any complete reference to this?
>
> best regards
>
> von
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
von (cosmopart2012) said :
#2

that is great,thank you,Olivier Mattelaer

best regards

von

Revision history for this message
von (cosmopart2012) said :
#3

Thanks Olivier Mattelaer, that solved my question.