How to output a check?

Asked by Benjamin Velin

Hi,

I would like to output a check. However I don't seem to be able to do it as the "check" command does not count as a generated process. Is this possible? Below are the commands I have done:

"
import model Tutorial_UFO
define new = uv uv~ ev ev~ p1 p2
check p p > new new
output
"

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Benjamin Velin
Solved:
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

the check command are using RAM for the computation (via pure python code), this is quite convenient for checking (no compilation) but super slow in term of evaluating the function. So we refrain ourself to produce that python code on disk since early adopter of MG5 was planning to use that matrix-elelement directly which was a terrible idea.

If you want to evaluate the amplitude for some specific phase-space points (but this does not include the exact check from the check command) you can look at the associated FAQ.

Cheers,

Olivier
FAQ #2746: “Can I just calculate the amplitudes for a (sub)process and check them point-by-point in phase space points (in fortran/C++/Python)”.

Revision history for this message
Benjamin Velin (bvelin) said :
#2

Hi,

I actually found the solution. When you have done your "check [process]", you just have to press "s" which tells you to save the file. Then you write what the file is called and it is saved to your ".../MG5_aMC_vX/bin" folder

This is what I wanted.

Cheers,

Benjamin