-
Notifications
You must be signed in to change notification settings - Fork 173
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(geo): Teach ProtoLayer to respect local coordinate system #3697
Merged
kodiakhq
merged 6 commits into
acts-project:main
from
paulgessinger:refactor/proto-layer-rotation
Oct 7, 2024
Merged
refactor(geo): Teach ProtoLayer to respect local coordinate system #3697
kodiakhq
merged 6 commits into
acts-project:main
from
paulgessinger:refactor/proto-layer-rotation
Oct 7, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Open
asalzburger
approved these changes
Oct 7, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes a lot of sense, indeed.
Quality Gate passedIssues Measures |
acts-project-service
added
the
Breaks Athena build
This PR breaks the Athena build
label
Oct 7, 2024
Rosie-Hasan
pushed a commit
to Rosie-Hasan/acts
that referenced
this pull request
Nov 13, 2024
…cts-project#3697) Needed for acts-project#3502 --- This pull request introduces several enhancements and new features to the `ProtoLayer` struct and its associated tests in the `Core` and `Tests` directories. The key changes include the addition of a local transform, multiple constructors, and new test cases to validate the functionality. ### Enhancements to `ProtoLayer` struct: * Added a new member `transform` to the `ProtoLayer` struct and updated its constructors to accept a `Transform3` parameter with a default value of `Transform3::Identity()`. (`Core/include/Acts/Geometry/ProtoLayer.hpp`, `Core/src/Geometry/ProtoLayer.cpp`) [[1]](diffhunk://#diff-1451530599ae50cdf187f035045a620fe857ff4abcb25c7a0eefc33189ef3260R36-R38) [[2]](diffhunk://#diff-1451530599ae50cdf187f035045a620fe857ff4abcb25c7a0eefc33189ef3260R47-R50) [[3]](diffhunk://#diff-1451530599ae50cdf187f035045a620fe857ff4abcb25c7a0eefc33189ef3260R60-R76) [[4]](diffhunk://#diff-4d780d37fe19501d1f964a2d67f4a654c4365f31f736d0c9653a169f1637f29eL16-R43) [[5]](diffhunk://#diff-4d780d37fe19501d1f964a2d67f4a654c4365f31f736d0c9653a169f1637f29eL81-R95) * Implemented a friend function for the output stream operator to facilitate easy printing of `ProtoLayer` objects. (`Core/include/Acts/Geometry/ProtoLayer.hpp`) ### Codebase simplification: * Removed unused `#include` directives from `ProtoLayer.cpp` to clean up the code. (`Core/src/Geometry/ProtoLayer.cpp`) ### Enhancements to unit tests: * Added new test cases in `ProtoLayerTests.cpp` to validate the behavior of `ProtoLayer` with different transformations. These changes enhance the flexibility and functionality of the `ProtoLayer` struct and ensure that the new features are thoroughly tested.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Needed for #3502
This pull request introduces several enhancements and new features to the
ProtoLayer
struct and its associated tests in theCore
andTests
directories. The key changes include the addition of a local transform, multiple constructors, and new test cases to validate the functionality.Enhancements to
ProtoLayer
struct:transform
to theProtoLayer
struct and updated its constructors to accept aTransform3
parameter with a default value ofTransform3::Identity()
. (Core/include/Acts/Geometry/ProtoLayer.hpp
,Core/src/Geometry/ProtoLayer.cpp
) [1] [2] [3] [4] [5]ProtoLayer
objects. (Core/include/Acts/Geometry/ProtoLayer.hpp
)Codebase simplification:
#include
directives fromProtoLayer.cpp
to clean up the code. (Core/src/Geometry/ProtoLayer.cpp
)Enhancements to unit tests:
ProtoLayerTests.cpp
to validate the behavior ofProtoLayer
with different transformations.These changes enhance the flexibility and functionality of the
ProtoLayer
struct and ensure that the new features are thoroughly tested.