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

Fix energy units when applying energy from PROPOSAL

parent 38a74e23
No related branches found
No related tags found
1 merge request!47Resolve "Muon Propagation"
Pipeline #38804 failed
......@@ -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