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: and fix new detector geometry #2027

Merged

Conversation

andiwand
Copy link
Contributor

  • detector volumes now also have a volume finder delegate
  • detector volume inside method will not check against its subvolumes
  • detector will not add subvolumes of its volumes to its list

@andiwand andiwand added Component - Core Affects the Core module Component - Examples Affects the Examples module labels Apr 12, 2023
@andiwand andiwand added this to the next milestone Apr 12, 2023
@andiwand andiwand requested a review from asalzburger April 12, 2023 15:19
@andiwand andiwand added the 🚧 WIP Work-in-progress label Apr 12, 2023
@codecov
Copy link

codecov bot commented Apr 12, 2023

Codecov Report

Merging #2027 (a5f0697) into main (00e64ea) will decrease coverage by 0.06%.
The diff coverage is 53.36%.

@@            Coverage Diff             @@
##             main    #2027      +/-   ##
==========================================
- Coverage   49.87%   49.82%   -0.06%     
==========================================
  Files         421      420       -1     
  Lines       23898    23955      +57     
  Branches    10843    10857      +14     
==========================================
+ Hits        11920    11935      +15     
- Misses       4357     4388      +31     
- Partials     7621     7632      +11     
Impacted Files Coverage Δ
Core/include/Acts/Detector/Portal.hpp 100.00% <ø> (+9.09%) ⬆️
Core/include/Acts/EventData/Measurement.hpp 80.00% <ø> (ø)
Core/src/Detector/PortalHelper.cpp 0.00% <0.00%> (ø)
Core/src/Detector/ProtoDetector.cpp 33.08% <ø> (ø)
Core/src/Detector/DetectorVolume.cpp 48.71% <50.00%> (ø)
Core/src/Detector/Detector.cpp 56.71% <52.77%> (+3.38%) ⬆️
Core/src/Detector/PortalGenerators.cpp 54.05% <54.05%> (ø)
.../include/Acts/Navigation/DetectorVolumeFinders.hpp 68.29% <69.23%> (-8.99%) ⬇️
Core/include/Acts/Detector/DetectorVolume.hpp 44.00% <77.77%> (-22.67%) ⬇️
Core/src/Detector/Portal.cpp 75.40% <84.61%> (+2.86%) ⬆️

... and 2 files with indirect coverage changes

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

@andiwand andiwand force-pushed the refactor-and-fix-new-detector-geometry branch from ec1b1c4 to 2fd8882 Compare April 12, 2023 19:20
@github-actions
Copy link

github-actions bot commented Apr 12, 2023

📊 Physics performance monitoring for a5f0697

Full report
Seeding: seeded, truth estimated, orthogonal
CKF: seeded, truth smeared, truth estimated, orthogonal
IVF: seeded, truth smeared, truth estimated, orthogonal
Ambiguity resolution: seeded, orthogonal
Truth tracking
Truth tracking (GSF)

Vertexing

Vertexing vs. mu
IVF seeded

IVF truth_smeared

IVF truth_estimated

IVF orthogonal

Seeding

Seeding seeded

Seeding truth_estimated

Seeding orthogonal

CKF

CKF seeded

CKF truth_smeared

CKF truth_estimated

CKF orthogonal

Ambiguity resolution

seeded

Truth tracking (Kalman Filter)

Truth tracking

Truth tracking (GSF)

Truth tracking

Copy link
Contributor

@asalzburger asalzburger left a comment

Choose a reason for hiding this comment

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

I think the changes improve the concept quite a bit, the only thing I would like to see is how I can get access to all contained volumes of a detector via a single entry point, this is usually needed for displaying, etc.

@andiwand andiwand removed the 🚧 WIP Work-in-progress label Apr 18, 2023
@andiwand andiwand requested a review from asalzburger April 18, 2023 15:52
@andiwand
Copy link
Contributor Author

handled your comments @asalzburger - thanks!

Copy link
Contributor

@asalzburger asalzburger left a comment

Choose a reason for hiding this comment

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

Alright then, let's move this in.

@kodiakhq kodiakhq bot merged commit 8c837ad into acts-project:main Apr 20, 2023
@andiwand andiwand deleted the refactor-and-fix-new-detector-geometry branch April 20, 2023 07:49
asalzburger added a commit that referenced this pull request Apr 20, 2023
with #2027 I removed the
ability to have multiple root volumes. this functionality is brought
back in this PR because it is necessary for the KDT detector builder

---------

Co-authored-by: Andreas Salzburger <[email protected]>
@paulgessinger paulgessinger modified the milestones: next, v25.0.0 Apr 21, 2023
paulgessinger pushed a commit to paulgessinger/acts that referenced this pull request Apr 25, 2023
- detector volumes now also have a volume finder delegate
- detector volume inside method will not check against its subvolumes
- detector will not add subvolumes of its volumes to its list
paulgessinger pushed a commit to paulgessinger/acts that referenced this pull request Apr 25, 2023
with acts-project#2027 I removed the
ability to have multiple root volumes. this functionality is brought
back in this PR because it is necessary for the KDT detector builder

---------

Co-authored-by: Andreas Salzburger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Core Affects the Core module Component - Examples Affects the Examples module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants