-
Notifications
You must be signed in to change notification settings - Fork 168
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 generation for detector - ODD light part 3 #2439
feat: geometry id generation for detector - ODD light part 3 #2439
Conversation
Tests/CommonHelpers/Acts/Tests/CommonHelpers/DetectorElementStub.hpp
Outdated
Show resolved
Hide resolved
…2451) Prompted through comments in #2439 This PR harmonies the constructor signature for surfaces with detector elements and bounds, it fixes also a bug in the cylinder surface that a `shared_ptr` is first moved then assert checked, if this was the sole occurrence, e.g. by construction `Constructor(std::make_shared<Foo>` the assert would have always fired.
Invalidated by push of ae5d56a
Codecov Report
@@ Coverage Diff @@
## main #2439 +/- ##
==========================================
+ Coverage 49.78% 49.81% +0.03%
==========================================
Files 461 464 +3
Lines 26015 26121 +106
Branches 11921 11980 +59
==========================================
+ Hits 12952 13013 +61
+ Misses 4610 4608 -2
- Partials 8453 8500 +47
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Will be superseded by a squashed version. |
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.
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.
This PR introduces:
Acts::Experimental::IGeometryIdGenerator
toolActs::Experimental::GeometryIdGenerator
implementationActs::Detector
class that surfaces have unique geometry idsActs::GeometryHierarchyMap<Surface>
for the detectorIt sits on top of #2424 and #2436 and will wait until those are merged.