46 | | In order to develop your custom bias module, you must create a directory that bears the name of the module. For the sake of simplicity, we will illustrate the requirements for a custom bias module with the example of a module that applies on each event a CKKW-L type of merging weight obtained from Pythia8. We will call this bias module '{{{PY8_CKKW}}}'. |
| 46 | In order to develop your custom bias module, you must create a directory that bears the name of the module. For the sake of simplicity, we will illustrate the requirements for a custom bias module with the example of a module that applies on each event a CKKW-L type of merging weight obtained from Pythia8. This bias module module consists in a directory called '{{{PY8_CKKW}}}' containing the following four files: |
| 47 | |
| 48 | [wiki:makefile makefile] (mandatory) |
| 49 | [wiki:PY8_CKKW.f PY8_CKKW.f] (mandatory) |
| 50 | [wiki:bias_dependencies bias_dependencies] (optional) |
| 51 | [wiki:py8_mg5amc_bias_interface.cc py8_mg5amc_bias_interface.cc] (irrelevant to MadEvent, internal file of the bias module) |
| 52 | |