Changes between Version 8 and Version 9 of LOEventGenerationBias


Ignore:
Timestamp:
08/23/16 03:06:00 (4 years ago)
Author:
Valentin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LOEventGenerationBias

    v8 v9  
    5555The directory '{{{PY8_CKKW}}}' must then minimally contain the two files '{{{PY8_CKKW/PY8_CKKW.f}}}' and '{{{PY8_CKKW/makefile}}}'. The optional file '{{{PY8_CKKW/bias_dependencies}}}' can also be present.
    5656On top of these files, the user is of course free to include any additional resource that its module will use, but these will not play a role in the interface of the module to MG5_aMC.
     57
     58Notice however that if you want your module to be working in the cluster mode of MadEvent, you must make sure that your module does not depend on any external file (typically parameter settings that would be read at run-time) since these external files would by default of course not be available on the worker nodes. So you must make sure that everything you will need at run time is already compiled in the library (this is the point of the targets '{{{*_card.h}}}' of the [https://cp3.irmp.ucl.ac.be/projects/madgraph/attachment/wiki/LOEventGenerationBias/makefile makefile] given in example).
    5759
    5860=== Mandatory file : '{{{<BIAS_MODULE_NAME>/<BIAS_MODULE_NAME>.f}}}'
     
    113115}}}
    114116
    115 One variable in particular defined in this include files is '{{{character*(maxEventLength) event_record}}}' which stores the full current event record in the LHE format.
    116 There are also other include files that you can add to access other information like the cuts values, the run card parameters, etc...
     117In particular, one variable defined in this include file is '{{{character*(maxEventLength) event_record}}}' which stores the full current event record in the LHE format.
     118There are also other include files that you can add to access more information like the cuts values, the run card parameters, etc...
    117119
    118120The illustrative example file '[https://cp3.irmp.ucl.ac.be/projects/madgraph/attachment/wiki/LOEventGenerationBias/PY8_CKKW.f PY8_CKKW.f]' highlights the use of this additional information.