Comment 4 for bug 2046152

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Hi,

OK thanks I can reproduce the problem now.
The problem seems related to the writting of the lhefile where a truncation occurs when writting the banner of the lhef file (the separate banner file is actually untrucated).

> I now also wonder, how can it be that the systematics weights are fine if the LHE file doesn't contain the correct line? Does the python systematics module access the run card?

Indeed, The systematics.py script does not parse the banner of the events file to get the parameters used by systematics.py
(as you can see the code is called via command line with many argument:)
/usr/bin/python3 -O /home/hmildner/HEP/MG5_aMC_v3_5_2/test/bin/internal/systematics.py events.lhe.gz ./tmp_2_events.lhe.gz --pdf=NNPDF30_nnlo_as_0118_hessian,PDF4LHC21_40,NNPDF31_nnlo_as_0118_hessian@0 --muf=0.5,1,2 --mur=0.5,1,2 --dyn=-1 --start_event=5000 --stop_event=7500 --result=./log_sys_2.txt --lhapdf_config=lhapdf-config

So this bug is mainly a problem that the lhef is not correctly documented, I do not think that this is going to lead to any crash/wrong physical modelling.

Cheers,

Olivier