Skip to content
Snippets Groups Projects
Commit c58c2835 authored by Ziyue Zhang's avatar Ziyue Zhang
Browse files

WIP: Test on PID instead of pmass

parent 6d5bb30f
Branches
No related tags found
1 merge request!39Replacing nu with y
This commit is part of merge request !39. Comments created here will be created in the context of that merge request.
......@@ -45,9 +45,9 @@ namespace util {
int order_map[7] = {0, 3, 2, 6, 5, 7, 8};
//for(int i = 0 ; i < 7 ; i++) order_map[i] = -1;//-1 by default, meaning absense
for(int i = 0 ; i < 7 ; i++){
double px = parts[order_map[i]].p.x;
double py = parts[order_map[i]].p.y;
double pz = parts[order_map[i]].p.z;
double px = parts[order_map[i]].psx;
double py = parts[order_map[i]].psy;
double pz = parts[order_map[i]].psz;
double mass = parts[order_map[i]].mass;
double e = sqrt(px*px + py*py + pz*pz + mass*mass);
momenta[i].SetPxPyPzE(px, py, pz, e);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment