diff --git a/src/algorithms/tracking/CKFTracking.cc b/src/algorithms/tracking/CKFTracking.cc index 54357c29b9..7389cc2295 100644 --- a/src/algorithms/tracking/CKFTracking.cc +++ b/src/algorithms/tracking/CKFTracking.cc @@ -113,7 +113,7 @@ namespace eicrecon { loc[Acts::eBoundLoc1] = meas2D.getLoc().b; - Acts::SymMatrix2 cov = Acts::SymMatrix2::Zero(); + Acts::SquareMatrix2 cov = Acts::SquareMatrix2::Zero(); cov(0, 0) = meas2D.getCovariance().xx; cov(1, 1) = meas2D.getCovariance().yy; cov(0, 1) = meas2D.getCovariance().xy; @@ -137,7 +137,7 @@ namespace eicrecon { double charge = track_parameter.getCharge(); - Acts::BoundSymMatrix cov = Acts::BoundSymMatrix::Zero(); + Acts::BoundSquareMatrix cov = Acts::BoundSquareMatrix::Zero(); cov(Acts::eBoundLoc0, Acts::eBoundLoc0) = std::pow( track_parameter.getLocError().xx ,2)*Acts::UnitConstants::mm*Acts::UnitConstants::mm; cov(Acts::eBoundLoc1, Acts::eBoundLoc1) = std::pow( track_parameter.getLocError().yy,2)*Acts::UnitConstants::mm*Acts::UnitConstants::mm; cov(Acts::eBoundTheta, Acts::eBoundTheta) = std::pow( track_parameter.getMomentumError().xx,2); diff --git a/src/algorithms/tracking/TrackerMeasurementFromHits.cc b/src/algorithms/tracking/TrackerMeasurementFromHits.cc index 9b288be4cb..a1abdeacb5 100644 --- a/src/algorithms/tracking/TrackerMeasurementFromHits.cc +++ b/src/algorithms/tracking/TrackerMeasurementFromHits.cc @@ -58,7 +58,7 @@ namespace eicrecon { // For now, one hit = one measurement. for (const auto *hit: trk_hits) { - Acts::SymMatrix2 cov = Acts::SymMatrix2::Zero(); + Acts::SquareMatrix2 cov = Acts::SquareMatrix2::Zero(); cov(0, 0) = hit->getPositionError().xx * mm_acts * mm_acts; // note mm = 1 (Acts) cov(1, 1) = hit->getPositionError().yy * mm_acts * mm_acts; cov(0, 1) = 0.0;