How can I add particles and lagrangians?
Hello!
I'm a beginner, so I can't do some things I need.
I need to add a particle and a vertice into sm model. I found a foulder ./models/sm and there are necessary files. But I can't understand what some of the parameters mean. There is a photon in particles.py:
a = Particle(pdg_code = 22,
name = 'a',
spin = 3,
color = 1,
mass = Param.ZERO,
width = Param.ZERO,
charge = 0,
Y = 0)
What is pdg_code? Why is spin 3 instead of 0 for a photon? Where can I find a tutorial with an explanation of this parameters and model addition guide?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: