-
Notifications
You must be signed in to change notification settings - Fork 176
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: Rework detector handling in Examples #3498
Conversation
3e4851f
to
d32383b
Compare
d32383b
to
3f1b961
Compare
Important Review skippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 39 files out of 121 files are above the max files limit of 75. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
- With the new namespaces, should the be mirrored by Python submodules?
- Does the tuple return in Python even make sense anymore if you can just call the dedicated methods?
Examples/Detectors/Common/include/ActsExamples/DetectorCommons/Detector.hpp
Outdated
Show resolved
Hide resolved
...les/Detectors/ContextualDetector/include/ActsExamples/ContextualDetector/AlignedDetector.hpp
Outdated
Show resolved
Hide resolved
Examples/Detectors/DD4hepDetector/include/ActsExamples/DD4hepDetector/DD4hepDetector.hpp
Outdated
Show resolved
Hide resolved
Examples/Detectors/Geant4Detector/include/ActsExamples/Geant4Detector/Geant4Detector.hpp
Outdated
Show resolved
Hide resolved
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.
Only remaining aspect for me is how we obtain the nominal context.
This PR currently has a merge conflict. Please resolve this and then re-add the |
I put fixes for all but one of the Sonar issues here: #3968 |
|
Blocked by: - #3498 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced safety in the `DD4hepDetector` class by using const references in loop iterations. - Updated sorting mechanism for several vectors to utilize modern C++ practices. - **Bug Fixes** - Adjusted data types in the `Config` struct of the `AlignedDetector` class for better performance and accuracy. - Removed obsolete member variable from the `Config` struct in the `AlignedDetector` class. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Andreas Stefl <[email protected]>
This was removed in acts-project#3498, but we do need it.
This was removed in #3498, but we do need it.
DD4hepGeometryService
unique_ptr
for DD4hep detector with dedicated nameGeant4Mapping
instance for conversion