printing many runs results to one file

Asked by John Doe

Hi MG5 developers. I would like to ask a question on the usage of the command print_results. I've just run the example
MG5 script in FAQ 2186. As I expected from my own experience, the command print_results at the end of the script
prints only the result of the last run:
> $ cat cross_section_top.txt
> === Results Summary for run: run_03 tag: tag_1 process: example ===
> Cross-section : 274.1 +- 0.8424 pb
> Nb of events : 10000
I would like to know how to have the results of the three runs in that example collected in one text file.

Thanks in advance for your help.

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 john,

By running the examples (just running tt~ and not tt~j to gain time). I get:

# run_name tag cross error Nb_event cross_after_matching nb_event_after matching
run_01 tag_1 547.667 0.494672675716 10000
run_02 tag_1 478.096 0.630660540545 10000
run_03 tag_1 419.387 0.539553851433 10000

This is with version 2.3

Cheers,

Olivier

On 20 Apr 2015, at 15:31, John Doe <email address hidden> wrote:

> New question #265519 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/265519
>
> Hi MG5 developers. I would like to ask a question on the usage of the command print_results. I've just run the example
> MG5 script in FAQ 2186. As I expected from my own experience, the command print_results at the end of the script
> prints only the result of the last run:
>> $ cat cross_section_top.txt
>> === Results Summary for run: run_03 tag: tag_1 process: example ===
>> Cross-section : 274.1 +- 0.8424 pb
>> Nb of events : 10000
> I would like to know how to have the results of the three runs in that example collected in one text file.
>
> Thanks in advance for your help.
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
John Doe (kwcpsn) said :
#2

HI Olivier, thanks for your prompt reply. I was using 2.2.3, but after switching to 2.3.0
it works just as you say. (By the way, congrats for the new version with loop-induced
processes. gg>h takes about a couple of minutes in my box. Quite impressive.)

Revision history for this message
John Doe (kwcpsn) said :
#3

Thanks Olivier Mattelaer, that solved my question.