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
No related branches found
No related tags found
1 merge request!39Replacing nu with y
......@@ -55,8 +55,8 @@ namespace util {
return momenta;
}
inline double test_jpsi_pt(const std::vector<ROOT::Math::PxPyPzMVector>& momenta){
double px = momenta[4].px;
double py = momenta[4].py;
double px = momenta[4].px();
double py = momenta[4].py();
double pt = sqrt(px*px + py*py);
return pt;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment