Skip to content

Herwig7_i: Add a Herwig7 config checker

Lukas Kretschmann requested to merge (removed):herwig_JO_checker into main

As part of this QT all historic jO fragments / config scripts from Herwig7.0.x were removed and jO fragments for Herwig7.1.x and 7.2.x were harmonised where possible (see this).

While working with diffrent Herwig7 config-files we discovered, that there are some cases, where we set some parameters with the Athena implementation or in the JO, but then there is a config-snippet read in from Herwig, where this command is overwritten. So it can happen, that parameters do not have the values that they should have (e.g. wrong PDF). To mitigate this I have created a script which is automatically executed after the "Herwig read" step where the config file is converted into a run-card. This script checks if commands are used twice and if they have diffrent values. It prints a warning if this is the case. It also saves the problematic commands to a file.

All the other commands are also written to an easy to read file, which will be used for the technical validation of Herwig in JEM. With this we can compare if default settings have changed between Herwig versions.

The syntax of the Herwig config files is quite compicated (with cd commands etc.) therefore the script is not so easy to understand, but it was tested with all validation JOs for the Herwig setup and it worked without problems.

Edited by Lukas Kretschmann

Merge request reports

Loading