Skip to content

Commit

Permalink
fix: rename *SymMatrix to *SquareMatrix (v29.0.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Nov 6, 2023
1 parent 40834d1 commit 090d329
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/algorithms/tracking/CKFTracking.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/algorithms/tracking/TrackerMeasurementFromHits.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 090d329

Please sign in to comment.