Skip to content
Snippets Groups Projects

Add J/psi resolution; re-write RC with Dummy instead of rc tracks

Merged Ziyue Zhang requested to merge ziyue_work_branch into master
1 file
+ 4
3
Compare changes
  • Side-by-side
  • Inline
+ 4
3
@@ -83,9 +83,10 @@ namespace util {
std::vector<ROOT::Math::PxPyPzMVector> momenta{parts.size()};
// transform our raw tracker info into proper 4-momenta
std::transform(parts.begin(), parts.end(), momenta.begin(), [](const auto& part) {
const double px = part.p.x();
const double py = part.p.y();
const double pz = part.p.z();
eic::VectorXYZ p = part.p;
const double px = 0.;
const double py = 0.;
const double pz = 0.;
const double mass = 0.;
return ROOT::Math::PxPyPzMVector{px, py, pz, mass};
});
Loading