From 46a9cc604946c23847936468b805b56acc78b9ab Mon Sep 17 00:00:00 2001 From: Ziyue Zhang <Ziyue_Zhang@localhost.localdomain> Date: Thu, 25 Feb 2021 10:56:51 -0600 Subject: [PATCH] WIP: Try out Dummy --- include/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/util.h b/include/util.h index f9e5685b..7d5ed9e6 100644 --- a/include/util.h +++ b/include/util.h @@ -83,7 +83,7 @@ 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) { - eic::VectorXYZ p = part.p; + eic::VectorXYZ p = part.p(); const double px = 0.; const double py = 0.; const double pz = 0.; -- GitLab