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

WIP: Test on PID instead of pmass

parent 8571f5ca
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.
...@@ -55,8 +55,8 @@ namespace util { ...@@ -55,8 +55,8 @@ namespace util {
return momenta; return momenta;
} }
inline double test_jpsi_pt(const std::vector<ROOT::Math::PxPyPzMVector>& momenta){ inline double test_jpsi_pt(const std::vector<ROOT::Math::PxPyPzMVector>& momenta){
double px = momenta[4].px; double px = momenta[4].px();
double py = momenta[4].py; double py = momenta[4].py();
double pt = sqrt(px*px + py*py); double pt = sqrt(px*px + py*py);
return pt; return pt;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment