IAP GITLAB

Skip to content
Snippets Groups Projects
Commit c8cf082e authored by Felix Riehn's avatar Felix Riehn
Browse files

no particle has lifetime = 0

parent 5652db26
No related branches found
No related tags found
1 merge request!515Resolve "particles with lifetime zero get stuck in infinite loop"
......@@ -53,7 +53,9 @@ def parsePythia(filename):
float(particle.attrib['mWidth']) * 1e-15 * 1000.0 # mm / s
# those are certainly not stable....
elif pdg_id in (0, 423, 433, 4312, 4322, 5112, 5222):
ctau = 0.
print("missing ctau0 or width for: " + str(pdg_id) + " " + str(name))
print("setting ctau to arbitrary small value..")
ctau = 1.e-15
else:
print("missing lifetime: " + str(pdg_id) + " " + str(name))
sys.exit(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment