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

feat: Geometry ID Generator aka ODD light part3 #2462

Merged
merged 7 commits into from
Sep 20, 2023

Conversation

asalzburger
Copy link
Contributor

This PR introduces:

  • an interface of a Acts::Experimental::IGeometryIdGenerator tool
  • a standard Acts::Experimental::GeometryIdGenerator implementation
  • slots in the detector building to attach those generators
  • a check in the Acts::Detector class that surfaces have unique geometry ids
  • a Acts::GeometryHierarchyMap<Surface> for the detector
  • unit tests for all of those
  • finally the ODD light with geometry id settings as the ODD standard

This is a squashed version of #2439 - It sits on top of #2424 and #2436 and will wait until those are merged.

@asalzburger asalzburger added this to the next milestone Sep 19, 2023
@asalzburger
Copy link
Contributor Author

I made a squashed versions of the part3 for the ODD because I had to bounce back and forth for the debug CI to be fixed.

@asalzburger asalzburger changed the title Acts odd light part3 feat: Geometry ID Generator aka ODD light part3 Sep 19, 2023
@github-actions github-actions bot added Component - Core Affects the Core module Component - Examples Affects the Examples module Component - Plugins Affects one or more Plugins Component - Documentation Affects the documentation labels Sep 19, 2023
niermann999
niermann999 previously approved these changes Sep 19, 2023
@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Merging #2462 (c3a6257) into main (15eb6b3) will increase coverage by 0.03%.
The diff coverage is 50.89%.

@@            Coverage Diff             @@
##             main    #2462      +/-   ##
==========================================
+ Coverage   49.78%   49.81%   +0.03%     
==========================================
  Files         461      464       +3     
  Lines       26023    26135     +112     
  Branches    11921    11982      +61     
==========================================
+ Hits        12955    13019      +64     
  Misses       4616     4616              
- Partials     8452     8500      +48     
Files Changed Coverage Δ
...lude/Acts/Detector/CylindricalContainerBuilder.hpp 100.00% <ø> (ø)
Core/include/Acts/Detector/DetectorBuilder.hpp 100.00% <ø> (ø)
Core/include/Acts/Detector/DetectorVolume.hpp 74.28% <ø> (ø)
...re/include/Acts/Detector/DetectorVolumeBuilder.hpp 100.00% <ø> (ø)
Core/src/Detector/Detector.cpp 55.68% <38.88%> (-4.32%) ⬇️
Core/src/Detector/DetectorVolumeBuilder.cpp 45.00% <40.00%> (-0.72%) ⬇️
Core/src/Detector/GeometryIdGenerator.cpp 42.37% <42.37%> (ø)
Core/src/Detector/DetectorBuilder.cpp 54.54% <57.14%> (+1.21%) ⬆️
Core/src/Detector/CylindricalContainerBuilder.cpp 51.28% <63.63%> (+2.02%) ⬆️
Core/include/Acts/Detector/GeometryIdGenerator.hpp 100.00% <100.00%> (ø)
... and 4 more

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@asalzburger
Copy link
Contributor Author

Has been already approved, clang-tidy fix afterwards.

@asalzburger
Copy link
Contributor Author

Hey @niermann999 - I had to do some clang-tidy and CI fixing, which invalidated your approval.

@kodiakhq kodiakhq bot merged commit 43fab5c into acts-project:main Sep 20, 2023
58 checks passed
@acts-project-service
Copy link
Collaborator

🔴 Athena integration test results

Build job with this PR failed!

Please investigate the build job for the pipeline!

@acts-project-service acts-project-service added the Breaks Athena build This PR breaks the Athena build label Sep 20, 2023
@paulgessinger paulgessinger modified the milestones: next, v30.0.0 Sep 20, 2023
AJPfleger pushed a commit to AJPfleger/acts that referenced this pull request Sep 29, 2023
This PR introduces:

- an interface of a `Acts::Experimental::IGeometryIdGenerator` tool
- a standard `Acts::Experimental::GeometryIdGenerator` implementation
- slots in the detector building to attach those generators
- a check in the `Acts::Detector` class that surfaces have unique geometry ids
- a `Acts::GeometryHierarchyMap<Surface>` for the detector
- unit tests for all of those
- finally the ODD light with geometry id settings as the ODD standard

This is a squashed version of acts-project#2439 -  It sits on top of acts-project#2424 and acts-project#2436 and will wait until those are merged.
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 - Documentation Affects the documentation Component - Examples Affects the Examples module Component - Plugins Affects one or more Plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants