Skip to content
Snippets Groups Projects
Commit 6b8e89f0 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

ActsEventCnv: Fix use of topLeftCorner().

topLeftCorner shouldn't take any function arguments if the size is specified
by template parameters.
parent c61daa03
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