Changes between Version 2 and Version 3 of FaQ


Ignore:
Timestamp:
Apr 12, 2012, 10:53:02 AM (12 years ago)
Author:
Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FaQ

    v2 v3  
    44
    55===== ''How do I implement my own cuts in MadEvent ?''  =====
    6 To do this you need to download the code (either after process generation or from our Download page) and run locally. If you just want to hard-code a cut, all you need to do is modify the file !SubProcesses/cuts.f, where all external particle 4-momenta are given in the P(0:3,nexternal) array (energy in P(0,I) and 3-momenta in P(1:3,I)). The order of the external particles depends on the subprocess, and can be guessed from the name of the subprocess Pxxxxxxx directory or can be seen from the Pxxxxxxx/leshouche.inc file.<br/>
     6To do this you need to download the code (either after process generation or from our Download page) and run locally. If you just want to hard-code a cut, all you need to do is modify the file !SubProcesses/cuts.f, where all external particle 4-momenta are given in the P(0:3,nexternal) array (energy in P(0,I) and 3-momenta in P(1:3,I)). The order of the external particles depends on the subprocess, and can be guessed from the name of the subprocess Pxxxxxxx directory or can be seen from the Pxxxxxxx/leshouche.inc file.[[br]]
    77If you want to be able to set the cut using the run_card.dat, you need to modify the files Source/setrun.f (which reads the run_card.dat), !SubProcesses/setcuts.f and !SubProcesses/cuts.f.
    88