From 33d71195d3839c93cad9a2eecbfbeed95e20187d Mon Sep 17 00:00:00 2001 From: Ziyue Zhang <Ziyue_Zhang@localhost.localdomain> Date: Thu, 25 Feb 2021 10:55:18 -0600 Subject: [PATCH] WIP: Try out Dummy --- include/util.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/util.h b/include/util.h index eebf80d5..f9e5685b 100644 --- a/include/util.h +++ b/include/util.h @@ -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}; }); -- GitLab