how to run MadAnalysis5 in a script file?

Asked by Debashis Pachhar

I have two version of MadAnalysis (4 & 5) in MadGraph. while I am using a script file to generate events , it automatically generates with MadAnalysis4. But I want MadAnalysis5. How to implement / instruct in the Script file?

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jack Y. Araz (jackaraz) said :
#1

Hi

When you launch mg5 it asks you which extensions to use.

cheers


Jack Y. Araz

> On Apr 21, 2021, at 4:30 PM, Debashis Pachhar <email address hidden> wrote:
>
> [EXTERNAL EMAIL]
>
> New question #696675 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/696675
>
> I have two version of MadAnalysis (4 & 5) in MadGraph. while I am using a script file to generate events , it automatically generates with MadAnalysis4. But I want MadAnalysis5. How to implement / instruct in the Script file?
>
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Debashis Pachhar (debashispachhar) said :
#2

It actually asks nothing? I just run the txt file and , it started analysing and producing result

Revision history for this message
Jack Y. Araz (jackaraz) said :
#3

Hi

First of all this is a madgraph issue not madanalysis. Secondly when you run mg5 either from main interface by typing launch or through your analysis folder typing ./bin/generate_events you will see following;

```
The following switches determine which programs are run:
/=================== Description ===================|============= values ==============|======== other options ========\
| 1. Choose the shower/hadronization program | shower = Pythia8 | OFF |
| 2. Choose the detector simulation program | detector = Not Avail. | Please install module |
| 3. Choose an analysis package (plot/convert) | analysis = Not Avail. | Please install module |
| 4. Decay onshell particles | madspin = OFF | ON|onshell|full |
| 5. Add weights to events for new hypp. | reweight = OFF | ON |
\=======================================================================================================================/
Either type the switch number (1 to 5) to change its setting,
```

From there you can choose which modules to be used given that the modules are installed through mg5 interface.

cheers


Jack Y. Araz

> On Apr 21, 2021, at 4:45 PM, Debashis Pachhar <email address hidden> wrote:
>
> [EXTERNAL EMAIL]
>
> Question #696675 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/696675
>
> Debashis Pachhar posted a new comment:
> It actually asks nothing? I just run the txt file and , it started
> analysing and producing result
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Can you help with this problem?

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

To post a message you must log in.