Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: Remove deprecated API #3591

Merged
merged 3 commits into from
Sep 6, 2024

Conversation

andiwand
Copy link
Contributor

@andiwand andiwand commented Sep 3, 2024

Removes deprecated API

  • PlaneSurface(const Vector3& center, const Vector3& normal); is replaced by CurvilinearSurface(const Vector3& center, const Vector3& normal).planeSurface()
  • Intersection::operator bool() is replaced by Intersection::isValid()
  • ObjectIntersection::operator bool() is replaced by ObjectIntersection::isValid()
  • Vertex::setPosition(const Vector3& position, ActsScalar time) is removed and can be replaced by setPosition and setTime or setFullPosition

@andiwand andiwand added this to the next milestone Sep 3, 2024
@andiwand andiwand mentioned this pull request Sep 3, 2024
Copy link

github-actions bot commented Sep 3, 2024

📊: Physics performance monitoring for 095e937

Full contents

physmon summary

@acts-project-service acts-project-service added the Breaks Athena build This PR breaks the Athena build label Sep 3, 2024
Copy link
Contributor

@AJPfleger AJPfleger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On a side-note: I think we didn't include #include "Acts/Surfaces/CurvilinearSurface.hpp" in each affected file? Also some #include "Acts/Surfaces/PlaneSurface.hpp" might be unused. I hope we manage a reliable IWYU-solution one day :3

@andiwand andiwand marked this pull request as ready for review September 6, 2024 07:41
@acts-project-service acts-project-service added the Fails Athena tests This PR causes a failure in the Athena tests label Sep 6, 2024
Copy link

sonarcloud bot commented Sep 6, 2024

@kodiakhq kodiakhq bot merged commit 0f48e3b into acts-project:main Sep 6, 2024
44 checks passed
@github-actions github-actions bot removed the automerge label Sep 6, 2024
@andiwand andiwand deleted the remove-deprecated-api branch September 6, 2024 11:56
@paulgessinger paulgessinger modified the milestones: next, v37.0.0 Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaks Athena build This PR breaks the Athena build Component - Core Affects the Core module Component - Fatras Affects the Fatras module Component - Plugins Affects one or more Plugins Event Data Model Fails Athena tests This PR causes a failure in the Athena tests Track Finding Track Fitting Vertexing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants