Extract information from index.html

Asked by Maksym Ovchynnikov

Hi! I have simulated many events for the same process, with the difference being only the beam energy. I am interested only in the total cross section for all of these events. These cross sections are reported in index.html.

Could you please tell me whether there is a simple way to extract this data from the .HTML file?

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said (last edit ):
#1

That's included within this FAQ.

Cheers,

Olivier
FAQ #2186: “How to script MG5 run?”.

more exactly you can run the command
print_results --path=./cross_section_top.txt --format=short

Revision history for this message
Maksym Ovchynnikov (name-xxx) said :
#2

Dear Olivier,

Thanks, it makes most of the work, but the output does not contain the beam energy.

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

then maybe without the --format=short.
if not then you will need the hack that function to add such information.

Cheers,

Olivier

Can you help with this problem?

Provide an answer of your own, or ask Maksym Ovchynnikov for more information if necessary.

To post a message you must log in.