Skip the check for 10% extra LHE events in case of LHE-only jobs
Hi,
In preparing some LHE-only jobs with MG (e.g. !1462 (merged)) I hit the issue that this check https://gitlab.cern.ch/atlas-physics/pmg/mcjoboptions/-/blob/master/scripts/logParser.py#L307-316 demands "10% more" LHE events. Obviously, in an LHE-only job this can never be passed, as the number of events requested is the number of events in the LHE file. Can this check be disabled? I guess the condition would be sth like "--outputTXTFile" present and "--outputEVNTFile" absent.
Looking at this again, I wonder if skipping this check in case of externally supplied LHE files actually makes sense as stated in the comment # This check only makes sense if no external LHE inputs are used
- you'd normally want this to be checked also in this case?
Thanks, Jan
PS: for the above MR I circumvented the issue by hacking logParser locally to remove these lines(!)