User defined form factor written in functions.f is not working, always returning the value 1.0
Hello,
I am writing a form factor for my model where the form factor depends on the speed of a final particle. The speed of the final particle is defined as sqrt(1 - m^2/ (p^2+m^2)) where m is the mass of the final particle and p is the three momentum of the final particle.
To achieve this, I follow the prescription here (Method 2: Fortran Way):
https:/
I modify the lorentz.py structure here:
https:/
'MMM' is the mass of the final particle defined in the parameters.py here:
https:/
I define the functions.f file here:
https:/
The MadGraph code is compiling fine and computing the cross-section. But strangely I see that the cross-section value is the same as what I was getting without the form factor. It seems the form factor value is taken to be 1, even though it has different functional structure.
Is there any problem with the Fortran compiler? What is the way out? Any help is appreciated.
Thank you,
Arka
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: