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

WIP: rec_ordered(rec) and sim_ordered(sim) Delta ~ e0 - e1 - l1 - l2

parent 69633647
No related branches found
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.
...@@ -54,6 +54,10 @@ namespace util { ...@@ -54,6 +54,10 @@ namespace util {
double e = sqrt(px*px + py*py + pz*pz + mass*mass); double e = sqrt(px*px + py*py + pz*pz + mass*mass);
momenta[i].SetPxPyPzE(px, py, pz, e); momenta[i].SetPxPyPzE(px, py, pz, e);
} }
for(int i = 0 ; i < 7 ; i++){
cout<<Form("sim, idx = %d, P(px, py, pz, mass) = (%f, %f, %f, %f)", i, momenta[i].px(), momenta[i].py(), momenta[i].pz(), momenta[i].mass())<<endl;
}
cout<<"========================================="<<endl;
return momenta; return momenta;
} }
...@@ -124,6 +128,10 @@ namespace util { ...@@ -124,6 +128,10 @@ namespace util {
// dp = 10. - ptmp; // dp = 10. - ptmp;
//} //}
} }
for(int i = 0 ; i < 7 ; i++){
cout<<Form("dum, idx = %d, P(px, py, pz, mass) = (%f, %f, %f, %f)", i, momenta[i].px(), momenta[i].py(), momenta[i].pz(), momenta[i].mass())<<endl;
}
cout<<"========================================="<<endl;
return momenta; return momenta;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment