From fc68c5980b5e052dfd4b69c25d46be42a88f7a5a Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Thu, 15 Feb 2024 12:07:29 +0100 Subject: [PATCH] refactor: Set common initial covariance for vertex fitting (#2947) Values take from https://github.com/acts-project/acts/blob/19464fa0d24f031083ef3ad3108b74f2b5fa5454/Examples/Algorithms/Vertexing/src/AdaptiveMultiVertexFinderAlgorithm.cpp#L137 --- .../ActsExamples/Vertexing/VertexFitterAlgorithm.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Examples/Algorithms/Vertexing/include/ActsExamples/Vertexing/VertexFitterAlgorithm.hpp b/Examples/Algorithms/Vertexing/include/ActsExamples/Vertexing/VertexFitterAlgorithm.hpp index 4ef00347372..2abbe4aec89 100644 --- a/Examples/Algorithms/Vertexing/include/ActsExamples/Vertexing/VertexFitterAlgorithm.hpp +++ b/Examples/Algorithms/Vertexing/include/ActsExamples/Vertexing/VertexFitterAlgorithm.hpp @@ -68,10 +68,10 @@ class VertexFitterAlgorithm final : public IAlgorithm { Acts::Vector4 constraintPos = Acts::Vector4(0, 0, 0, 0); /// Vertex constraint covariance matrix Acts::SquareMatrix4 constraintCov = - Acts::Vector4(3 * Acts::UnitConstants::mm * Acts::UnitConstants::mm, - 3 * Acts::UnitConstants::mm * Acts::UnitConstants::mm, - 10 * Acts::UnitConstants::mm * Acts::UnitConstants::mm, - 1 * Acts::UnitConstants::ns * Acts::UnitConstants::ns) + Acts::Vector4(1e2 * Acts::UnitConstants::mm * Acts::UnitConstants::mm, + 1e2 * Acts::UnitConstants::mm * Acts::UnitConstants::mm, + 1e2 * Acts::UnitConstants::mm * Acts::UnitConstants::mm, + 1e8 * Acts::UnitConstants::mm * Acts::UnitConstants::mm) .asDiagonal(); };