Skip to content
Snippets Groups Projects

Replacing nu with y

Merged Ziyue Zhang requested to merge ziyue_work_branch into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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;
}
}
Loading