From e8b249cdadb115021c7df15da7046afa02add9d3 Mon Sep 17 00:00:00 2001 From: Andreas Salzburger Date: Mon, 24 Jun 2024 01:13:28 +0300 Subject: [PATCH] fix: GeoModelHelper update to remove of detail namespace (#3324) The GeoModelPlugin needed an update to the `detail::` removal from the axis. This is it. --- Plugins/GeoModel/src/detail/GeoModelBinningHelper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/GeoModel/src/detail/GeoModelBinningHelper.cpp b/Plugins/GeoModel/src/detail/GeoModelBinningHelper.cpp index 1df9bbae182..6723f602d8d 100644 --- a/Plugins/GeoModel/src/detail/GeoModelBinningHelper.cpp +++ b/Plugins/GeoModel/src/detail/GeoModelBinningHelper.cpp @@ -24,10 +24,10 @@ Acts::detail::GeoModelBinningHelper::toProtoBinning( "GeoModelBinningHelper: Invalid number of binning details, at least " "the axis boundary type and the number of bins are needed."); } - detail::AxisBoundaryType boundaryType = detail::AxisBoundaryType::Bound; + AxisBoundaryType boundaryType = AxisBoundaryType::Bound; std::string axisBoundaryToken = binningDetails[0]; if (axisBoundaryToken == "closed") { - boundaryType = detail::AxisBoundaryType::Closed; + boundaryType = AxisBoundaryType::Closed; } else if (axisBoundaryToken != "bound") { throw std::invalid_argument( "GeoModelBinningHelper: Axis boundary type needs to be closed or " @@ -46,7 +46,7 @@ Acts::detail::GeoModelBinningHelper::toProtoBinning( ActsScalar rangeMin = 0.; ActsScalar rangeMax = 0.; if (bValue == BinningValue::binPhi && - boundaryType == detail::AxisBoundaryType::Closed) { + boundaryType == AxisBoundaryType::Closed) { rangeMin = -M_PI; rangeMax = M_PI; } else {