Add MadtRex tests to CI - #1058
Conversation
Make it 2% of the cross section.
Update repository to 1.01.00, in particular the MadGraph submodule got updated to v3.6.5.
The process run originally in the ref was different from the one included in the repository.
Reference samples have been generated using MadtRex on top of vanilla MadGraph and not on top of CUDACPP, so there is a slightly larger uncertainty when comparing those ref samples with the reweighted samples that start from CUDACPP-generated events. We are not interested to check theat they are digit-by-digit correct, but that they are almost correct with each other.
In some cases, the imported model during reweighting is still Python 2, so we need to setup autoconversion at the beginning of the launch card if the model is not trivial and it is not the Standard Model
|
After an exchange with @zeniheisser, we decided that it may be worth to generate the event samples in advance, so that tests go a bit faster. This would imply:
This can be done in another workflow file separated from |
|
would be nice to have to avoid something like #1090 :)))) |
|
Yes, thanks @zeniheisser for bringing this up, and thanks for fixing MadtRex interface after the latest PRs. The situation is: given we are moving fast to MadGraph7, and given both the CI and the interface to MadtRex there is still not finalised, I wanted to wait and implement everything only once there. |
|
Tests are passing. The reweighting procedure needs LHE event filesIn order to avoid to regenerate them during each CI (some processes take hours to finish), they have been pre-generated and saved into One of the main issues was the model used to generate the processGiven some of them are downloadable online and should be converted automatically to be usable within MadGraph (possible to do this by doing
In this way, the model can then be reimported from the reweighting command, launched from the |
Add a new step in
testsuite_oneprocessworkflow to check MadtRex according to validation tests running the reweighting on MC samples generated using the process folders obtained during thecodegenstep in the CI itself.Notice that the references files have been generated using vanilla MadGraph and not CUDACPP (like in this case) - except for
nobm_pp_ttWthat has been regenerated with CUDACPP - so we increased the maximum threshold for the results difference to 5%.