Changes between Version 4 and Version 5 of LOEventGenerationBias


Ignore:
Timestamp:
Aug 20, 2016, 4:12:00 AM (8 years ago)
Author:
Valentin Hirschi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LOEventGenerationBias

    v4 v5  
    4444== Writing your own bias module
    4545
    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}}}'.
     46In 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
    4753You can also have a look at the structure of the much simpler implementation of the '{{{ptj_bias}}}' module in '{{{<MG5aMC_distrib_path>/Template/LO/Source/BIAS/ptj_bias}}}'.
    4854