Problem converting lhe file to root file

Asked by Heng-Yu Chen

Dear Sir :
I use the website to generate the code and run the process.
In the past, I would get a file named unweighted_events.lhe in the events.
Then I use ExRooTLHEFConverter to convert it to root file.
It works pretty well before.
But since today, it fails and shows the following message no matter which process I try.

"terminate called after throwing an instance of 'std::runtime_error'
  what(): Tried to read a LesHouchesEvents file which is not version 1.0.
Aborted"

I really can't figure out why.
I can't find LesHouchesEvents file it mentions and its relation with converting.
Could you give me some suggestions how to cure this issue?
I really appreciate your help.
Thanks!

Best!

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Heng-Yu Chen
Solved:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Looks like the root converter needs to be update for the new LHEF v3 format.
In the meantime, you can go back to the previous output format by setting lhe_version to 1 in the run_card.

Cheers,

Olivier

Revision history for this message
Heng-Yu Chen (ponpon-o) said :
#2

Hi, Olivier!
Thanks for your help.
The problem is solved!
I really appreciate it.

Best!

Revision history for this message
Bonnie J. Ferguson (senweigson8) said :
#3

There could be a number of reasons why the conversion is failing. Without more information, it's difficult to say for sure what the issue might be. Here are a few things you could try:

Check the error messages: When the conversion fails, ExRootLHEFConverter should give you some error messages. These messages could give you a clue as to what's going wrong. Make sure to read them carefully and try to understand what they're telling you. https://aboutcelebinfo.com/

Check the LHE file: It's possible that there's something wrong with the LHE file itself. Try opening the file in a text editor and making sure that the format is correct and that there are no obvious errors.

Check the version of ExRootLHEFConverter: Make sure that you're using the most up-to-date version of ExRootLHEFConverter. It's possible that there's a bug in an older version that's causing the issue.

Try a different converter: If all else fails, you could try using a different program to convert the LHE file to a ROOT file. There are a number of programs out there that can do this, so it might be worth exploring some alternatives.

I hope this helps! If you provide more details about the error message or the LHE file, I may be able to offer more specific advice.