Define new propogator
Hi MadTeam,
I am trying to define a new propagator for fermions. For this purpose, I started with a simple test. I directly copied the definition of PSlash in aloha_object.py (line 245) and then pasted it in the same file at line 1651. Then, in the UFO directory, I add a new kind of propagator to propagators.py:
HN = Propagator(name = "HN",
).
I also changed the heavy neutrino's propagator in particles.py as
N1 = Particle(pdg_code = 9900012,
name = 'N1',
spin = 2,
color = 1,
mass = Param.mN1,
width = Param.WN1,
Y = 0,
When I ran Madgraph, it didn't work, and the output was:
Command "output HN_no_s_test" interrupted with error:
UnboundLocalError : local variable 'text' referenced before assignment
However, if I changed the propagator definition as:
HN = Propagator(name = "HN",
)
It worked. That's strange since their definitions in the aloha_object.py are almost the same, I just changed the name.
Can you provide some suggestions?
Yin-Fa
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: