How to get STDHEP file after multi_run

Asked by hsun

I am new to MG-Pythia-PGS(Delphes), my question may be stupid.... The thing is I do these:

generate p p > e+ e-
output ppee
exit

cd ppee
./bin/madevent multi_run 2
I choose to run pythia, I set 1000 nevents ;
Then in /Event , we get /run_01, /run_01_0 and /run_01_1 ;

run_01_0: 1000 events, events.lhe.gz and unweighted_events.lhe.gz, it's OK.
run_01_1: 1000 events, events.lhe.gz and unweighted_events.lhe.gz, it's OK.

run_01: combine of run_01_0 and run_01_1, 2000 events, it's OK, but only unweighted_events.lhe.gz.

My question is in the "multi_run",
how to get the output STDHEP file like "tag_1_pythia_events.hep.gz", so that I can pass it to Delphes ?

Thank you very much!

==============================================================================

OK, please let me improve:
I try this:

cd /Event
../bin/madgraph
pythia run_01
1 (choose 1 to run Pythia)
0

Then I got:

Command "pythia run_01" interrupted with error:
KeyError : 'mgruncard'
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in '/home/sunhao/madgraph/madgraph2.2.3/MG5_aMC_v2_2_3/bin/ppee/run_01_tag_2_debug.log'.
Please attach this file to your report.

Can anyone help me to see what happens?
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:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Dear Hsun,

Actually we are not able to do that.
On the other hand, if you run Delphes by hand, you can input more than one file.

Finally you can also run them separately and then combine the Delphes3 root file output.

Cheers,

Olivier

On 22 May 2015, at 03:51, hsun <email address hidden> wrote:

> Question #267236 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/267236
>
> Description changed to:
> I am new to MG-Pythia-PGS(Delphes), my question may be stupid.... The
> thing is I do these:
>
> generate p p > e+ e-
> output ppee
> exit
>
> cd ppee
> ./bin/madevent multi_run 2
> I choose to run pythia, I set 1000 nevents ;
> Then in /Event , we get /run_01, /run_01_0 and /run_01_1 ;
>
> run_01_0: 1000 events, events.lhe.gz and unweighted_events.lhe.gz, it's OK.
> run_01_1: 1000 events, events.lhe.gz and unweighted_events.lhe.gz, it's OK.
>
> run_01: combine of run_01_0 and run_01_1, 2000 events, it's OK, but
> only unweighted_events.lhe.gz.
>
> My question is in the "multi_run",
> how to get the output STDHEP file like "tag_1_pythia_events.hep.gz", so that I can pass it to Delphes ?
>
> Thank you very much!
>
>
> ==============================================================================
>
> OK, please let me improve:
> I try this:
>
> cd /Event
> ../bin/madgraph
> pythia run_01
> 1 (choose 1 to run Pythia)
> 0
>
> Then I got:
>
> Command "pythia run_01" interrupted with error:
> KeyError : 'mgruncard'
> Please report this bug on https://bugs.launchpad.net/madgraph5
> More information is found in '/home/sunhao/madgraph/madgraph2.2.3/MG5_aMC_v2_2_3/bin/ppee/run_01_tag_2_debug.log'.
> Please attach this file to your report.
>
>
> Can anyone help me to see what happens?
> Thank you very much!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
hsun (haosun) said :
#2

Dear Oliver,

Thank you for your reply.

So that if I want to calculate one process with 1,000,000 nevents,
I can multi_run 10, each one has 100,000 nevents, choose to use pythia in a single run, for example, run_01_0,
put all these 10 STDHEP file into Delphes and create one root file to analysis, am I right?

Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#3

Yes,

Please contact Delphes author if you have any problem with using more than one input file.

Cheers,

Olivier
On 22 May 2015, at 09:51, hsun <email address hidden> wrote:

> Question #267236 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/267236
>
> Status: Answered => Open
>
> hsun is still having a problem:
> Dear Oliver,
>
> Thank you for your reply.
>
> So that if I want to calculate one process with 1,000,000 nevents,
> I can multi_run 10, each one has 100,000 nevents, choose to use pythia in a single run, for example, run_01_0,
> put all these 10 STDHEP file into Delphes and create one root file to analysis, am I right?
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
hsun (haosun) said :
#4

Thanks Olivier Mattelaer, that solved my question.