From 59ffb9bd4231a7b01af8cfa40bdd92779225a31d Mon Sep 17 00:00:00 2001 From: Ziyue Zhang <Ziyue_Zhang@localhost.localdomain> Date: Thu, 25 Feb 2021 11:16:28 -0600 Subject: [PATCH] WIP: debug rcparticles usage when calling members --- include/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/util.h b/include/util.h index 92316a01..b948b2a1 100644 --- a/include/util.h +++ b/include/util.h @@ -88,7 +88,7 @@ namespace util { const double py = 0.; const double pz = 0.; const double mass = 0.;*/ - return ROOT::Math::PxPyPzMVector{part.p().x(), part.p().y(), part.p().z(), part.mass()}; + return ROOT::Math::PxPyPzMVector{part.p().x, part.p().y, part.p().z, part.mass()}; }); return momenta; } -- GitLab