Scripting in MadGraph

Asked by amine shady

Hi,

I am writing a long script for different processes that I need to study.
I didn't figure out how to switch pythia=ON and delphes=ON in the script.
I want also to edit dephes card to be a CMS card.
How could I do that?

Cheers,
Amine

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

Hi Amine,

After the line “launch” you can put the lines “pythia=ON” / “delphes=ON”.

> I want also to edit dephes card to be a CMS card.

The only option here is to set the path to the card that you want.

so here is one example setup

launch PATH_TO_DIRECTORY
pythia=ON
delphes=ON
set mt 150
set wt Auto
set nevents 50000
PATH_TO_DELPHES_CARD
launch
pythia=ON
delphes=ON
set mt 160
set wt Auto
set nevents 50000
PATH_TO_DELPHES_CARD

Cheers,

Olivier

On 12 Apr 2015, at 00:11, amine shady <email address hidden> wrote:

> New question #265022 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/265022
>
> Hi,
>
> I am writing a long script for different processes that I need to study.
> I didn't figure out how to switch pythia=ON and delphes=ON in the script.
> I want also to edit dephes card to be a CMS card.
> How could I do that?
>
> Cheers,
> Amine
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
amine shady (amine-benaichouche) said :
#2

Thanks Olivier Mattelaer, that solved my question.

Revision history for this message
amine shady (amine-benaichouche) said :
#3

Hi Olivier,

My mistake is that I was writing
set pythia=ON
set delphes=ON

Thanks a lot.
Cheers,
Amine