From e78ff298f8584ea22b1afd6812327786323fa641 Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Fri, 15 Nov 2024 15:18:23 +0100 Subject: [PATCH] revert existing est changes --- Core/include/Acts/Seeding/EstimateTrackParamsFromSeed.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/include/Acts/Seeding/EstimateTrackParamsFromSeed.hpp b/Core/include/Acts/Seeding/EstimateTrackParamsFromSeed.hpp index 8e32b67511b..d555657f661 100644 --- a/Core/include/Acts/Seeding/EstimateTrackParamsFromSeed.hpp +++ b/Core/include/Acts/Seeding/EstimateTrackParamsFromSeed.hpp @@ -165,7 +165,7 @@ std::optional estimateTrackParamsFromSeed( // The global positions of the bottom, middle and space points std::array spGlobalPositions = {Vector3::Zero(), Vector3::Zero(), Vector3::Zero()}; - std::array, 3> spGlobalTimes = { + std::array, 3> spGlobalTimes = { std::nullopt, std::nullopt, std::nullopt}; // The first, second and third space point are assumed to be bottom, middle // and top space point, respectively @@ -228,7 +228,7 @@ std::optional estimateTrackParamsFromSeed( int sign = ia > 0 ? -1 : 1; const ActsScalar R = circleCenter.norm(); ActsScalar invTanTheta = - local2.z() / (2 * R * std::asin(local2.head<2>().norm() / (2 * R))); + local2.z() / (2.f * R * std::asin(local2.head<2>().norm() / (2.f * R))); // The momentum direction in the new frame (the center of the circle has the // coordinate (-1.*A/(2*B), 1./(2*B))) ActsScalar A = -circleCenter(0) / circleCenter(1);