From 7ce030547c469b7462d258ba2fefe7a9aebc603e Mon Sep 17 00:00:00 2001 From: ssdetlab Date: Thu, 21 Nov 2024 12:56:20 +0200 Subject: [PATCH] fixing 1am mistakes --- .../Acts/Plugins/Json/TrackParametersJsonConverter.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Plugins/Json/include/Acts/Plugins/Json/TrackParametersJsonConverter.hpp b/Plugins/Json/include/Acts/Plugins/Json/TrackParametersJsonConverter.hpp index f8683006fb5..b2453978cd8 100644 --- a/Plugins/Json/include/Acts/Plugins/Json/TrackParametersJsonConverter.hpp +++ b/Plugins/Json/include/Acts/Plugins/Json/TrackParametersJsonConverter.hpp @@ -10,6 +10,7 @@ #include "Acts/Definitions/PdgParticle.hpp" #include "Acts/EventData/detail/TrackParametersUtils.hpp" +#include "Acts/EventData/GenericBoundTrackParameters.hpp" #include "Acts/Plugins/Json/SurfaceJsonConverter.hpp" #include @@ -85,7 +86,7 @@ struct adl_serializer { // Bound track parameters have // reference surface attached // and position takes a geometry context - if constexpr (Acts::detail::isBoundOrFreeTrackParams) { + if constexpr (Acts::detail::isGenericBoundTrackParams) { Acts::GeometryContext gctx; j["position"] = t.fourPosition(gctx); @@ -136,7 +137,7 @@ struct adl_serializer { // reference surface attached // and constructor is hidden // behind a factory method - if constexpr (Acts::detail::isBoundOrFreeTrackParams) { + if constexpr (Acts::detail::isGenericBoundTrackParams) { Acts::GeometryContext gctx; auto referenceSurface = Acts::SurfaceJsonConverter::fromJson(j.at("referenceSurface"));