Skip to content

Break Pythia8B Infinite Loop

Charles Burton requested to merge cburton/athena:21.6-Pythia8B-LHE into 21.6

There was an issue in Pythia 8B where, if the call to Pythia's next() function failed repeatedly, the Gen_tf script would enter an infinite loop. This would happen, for example, if the input LHE file ran out of events. Here, I've added some checks so that the script will throw an exception if a) the input LHE file runs out of events or, b) there are MaxFailures (a JO property) consecutive failures of next() for any reason.

Merge request reports