Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
pbutti committed Jan 29, 2025
1 parent 0bc3034 commit 29675fe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Tests/IntegrationTests/PropagationTests.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ inline Acts::Transform3 makeCurvilinearTransform(
rotation.col(1) = unitV;
rotation.col(2) = unitW;
Acts::Translation3 offset(params.position(geoCtx));
Acts::Transform3 toGlobal = offset * rotation;
Acts::Transform3 toGlobal = offset * Eigen::Isometry3d(rotation);

return toGlobal;
}
Expand Down
4 changes: 2 additions & 2 deletions Tests/UnitTests/Alignment/Kernel/AlignmentTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ struct TelescopeDetector {
for (unsigned int i = 0; i < nLayers; ++i) {
// The transform
Translation3 trans(0., 0., positions[i]);
Transform3 trafo(rotation * trans);
Transform3 trafo(Eigen::Isometry3d(rotation) * trans);
auto detElement = std::make_shared<DetectorElementStub>(
trafo, rBounds, 1._um, surfaceMaterial);
// The surface is not right!!!
Expand All @@ -142,7 +142,7 @@ struct TelescopeDetector {

// The volume transform
Translation3 transVol(0, 0, 0);
Transform3 trafoVol(rotation * transVol);
Transform3 trafoVol(Eigen::Isometry3d(rotation) * transVol);
auto boundsVol = std::make_shared<CuboidVolumeBounds>(
rBounds->halfLengthX() + 10._mm, rBounds->halfLengthY() + 10._mm,
length + 10._mm);
Expand Down
2 changes: 1 addition & 1 deletion Tests/UnitTests/Plugins/ActSVG/LayerSvgConverterTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ std::shared_ptr<Acts::Layer> generateDiscLayer(double rInner, double rOuter,
rotation.col(0) = localX;
rotation.col(1) = localY;
rotation.col(2) = localZ;
Acts::Transform3 placement(Acts::Translation3(center) * rotation);
Acts::Transform3 placement(Acts::Translation3(center) * Eigen::Isometry3d(rotation));
// Create the module surface
auto dModule =
Acts::Surface::makeShared<Acts::PlaneSurface>(placement, tBounds);
Expand Down
4 changes: 2 additions & 2 deletions Tests/UnitTests/Plugins/ActSVG/SurfaceSvgConverterTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ BOOST_AUTO_TEST_CASE(PlanarSurfaces) {
rotation.col(0) = localX;
rotation.col(1) = localY;
rotation.col(2) = localZ;
transform = Acts::Transform3(Acts::Translation3(center) * rotation);
transform = Acts::Transform3(Acts::Translation3(center) * Eigen::Isometry3d(rotation));
// Create the module surface
auto trapeozidPlaneTransformed =
Acts::Surface::makeShared<Acts::PlaneSurface>(transform, trapezoidBounds);
Expand All @@ -126,7 +126,7 @@ BOOST_AUTO_TEST_CASE(PlanarSurfaces) {
frotation.col(0) = flocalX;
frotation.col(1) = localY;
frotation.col(2) = flocalZ;
auto ftransform = Acts::Transform3(Acts::Translation3(center) * frotation);
auto ftransform = Acts::Transform3(Acts::Translation3(center) * Eigen::Isometry3d(frotation));
// Create the module surface
auto ftrapeozidPlaneTransformed =
Acts::Surface::makeShared<Acts::PlaneSurface>(ftransform,
Expand Down

0 comments on commit 29675fe

Please sign in to comment.