From eeaa3aa69e7351405950a08c7ce00d2b84146c7d Mon Sep 17 00:00:00 2001 From: Ziyue Zhang <Ziyue_Zhang@localhost.localdomain> Date: Thu, 25 Feb 2021 11:13:44 -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 3460bbc2..92316a01 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