Skip to content
Snippets Groups Projects
Commit 1ffb01bf authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'topLeftCorner.ActsEventCnv-20240304' into 'main'

ActsEventCnv: Fix use of topLeftCorner().

See merge request atlas/athena!69471
parents 3d27d77d 6b8e89f0
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
#include "ActsToTrkConverterTool.h"
......@@ -232,7 +232,7 @@ ActsTrk::ActsToTrkConverterTool::actsTrackParametersToTrkParameters(
std::optional<AmgSymMatrix(5)> cov = std::nullopt;
if (actsParameter.covariance()) {
AmgSymMatrix(5)
newcov(actsParameter.covariance()->topLeftCorner<5, 5>(0, 0));
newcov(actsParameter.covariance()->topLeftCorner<5, 5>());
// Convert the covariance matrix to GeV
for (int i = 0; i < newcov.rows(); i++) {
newcov(i, 4) = newcov(i, 4) * 1_MeV;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment