Skip to content

Implement visitor for polymorphic magnetic field #1065

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stephenswat
Copy link
Member

This commit implements the visitor logic that I proposed for #1033, drastically reducing the amount of boilerplate we need to handle different magnetic field types and increasing the maintainability of the code significantly. This also paves the way for polymorphic detector types which we will need in the future.

@stephenswat stephenswat requested a review from krasznaa July 9, 2025 09:08
@stephenswat stephenswat added the refactor Change the structure of the code label Jul 9, 2025
@stephenswat stephenswat force-pushed the refactor/bfield_visitor branch from 3be3bd3 to b78a058 Compare July 9, 2025 09:21
This commit implements the visitor logic that I proposed for acts-project#1033,
drastically reducing the amount of boilerplate we need to handle
different magnetic field types and increasing the maintainability of the
code significantly. This also paves the way for polymorphic detector
types which we will need in the future.
@stephenswat stephenswat force-pushed the refactor/bfield_visitor branch from b78a058 to 21ce521 Compare July 9, 2025 11:35
Copy link

sonarqubecloud bot commented Jul 9, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Change the structure of the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant