Skip to content
Snippets Groups Projects
Commit 69ebd75c authored by Johannes Schumann's avatar Johannes Schumann
Browse files

Fix energy units when applying energy from PROPOSAL

parent 5c40e619
No related branches found
No related tags found
1 merge request!47Resolve "Muon Propagation"
This commit is part of merge request !47. Comments created here will be created in the context of that merge request.
......@@ -112,7 +112,7 @@ class Propagator(object):
def _addparticles(dct, particle_infos):
for prtcl in particle_infos:
dct['barcode'].append(prtcl.type)
dct['E'].append(prtcl.energy)
dct['E'].append(prtcl.energy / 1e3)
dct['x'].append(prtcl.position.x / M_TO_CM)
dct['y'].append(prtcl.position.y / M_TO_CM)
dct['z'].append(prtcl.position.z / M_TO_CM)
......
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