Skip to content

fix: added GeoShapeSubtraction converter for the failing conversion of RPCs to SensitiveSurface #3592

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

Merged
merged 222 commits into from
Sep 26, 2024

Conversation

Berggren-Jonas
Copy link
Contributor

Doing some tests I have realized that not all RPCs in the ATLAS database are described by GeoBox. Some are described by GeoShapeSubtraction, for which no converters existed. Therefor I added a GeoSubtractionConverter that recursively works through the subtractions until a shape is found for which a different converter exists. Now all RPCs can be converted by the GeoModelDetectorObjectFactory with the command python3 geomodel_vol.py -i ~/ATLAS-R3-MUONTEST_v3.db -q Muon --output-obj -o muons -ml RPCgas -n RpcGasGap RPC
all_rpcs00

Matthew Harris and others added 30 commits June 3, 2024 08:14
Co-authored-by: Benjamin Huth <37871400+benjaminhuth@users.noreply.github.com>
Co-authored-by: Benjamin Huth <37871400+benjaminhuth@users.noreply.github.com>
…ers.hpp

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
…rSurfaceFactory.hpp

Co-authored-by: Andreas Stefl <stefl.andreas@gmail.com>
dimitra97
dimitra97 previously approved these changes Sep 20, 2024
Copy link
Contributor

@dimitra97 dimitra97 left a comment

Choose a reason for hiding this comment

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

looks good from my side!

@noemina noemina added this to the next milestone Sep 20, 2024
@acts-policybot acts-policybot bot dismissed dimitra97’s stale review September 20, 2024 17:18

Invalidated by push of 1ca0df3

Copy link

@kodiakhq kodiakhq bot merged commit 0f8add2 into acts-project:main Sep 26, 2024
42 checks passed
@acts-project-service acts-project-service added the Fails Athena tests This PR causes a failure in the Athena tests label Sep 26, 2024
@paulgessinger paulgessinger modified the milestones: next, v37.0.0 Oct 4, 2024
njacazio pushed a commit to njacazio/acts that referenced this pull request Jun 13, 2025
…f RPCs to SensitiveSurface (acts-project#3592)

Doing some tests I have realized that not all RPCs in the ATLAS database are described by `GeoBox`. Some are described by `GeoShapeSubtraction`, for which no converters existed. Therefor I added a `GeoSubtractionConverter` that recursively works through the subtractions until a shape is found for which a different converter exists. Now all RPCs can be converted by the `GeoModelDetectorObjectFactory` with the command `python3 geomodel_vol.py -i ~/ATLAS-R3-MUONTEST_v3.db -q Muon --output-obj -o muons -ml RPCgas -n RpcGasGap RPC`
![all_rpcs00](https://github.com/user-attachments/assets/4bfbcfe5-5585-41dc-b11b-6b201cb36161)
njacazio pushed a commit to njacazio/acts that referenced this pull request Jun 13, 2025
…f RPCs to SensitiveSurface (acts-project#3592)

Doing some tests I have realized that not all RPCs in the ATLAS database are described by `GeoBox`. Some are described by `GeoShapeSubtraction`, for which no converters existed. Therefor I added a `GeoSubtractionConverter` that recursively works through the subtractions until a shape is found for which a different converter exists. Now all RPCs can be converted by the `GeoModelDetectorObjectFactory` with the command `python3 geomodel_vol.py -i ~/ATLAS-R3-MUONTEST_v3.db -q Muon --output-obj -o muons -ml RPCgas -n RpcGasGap RPC`
![all_rpcs00](https://github.com/user-attachments/assets/4bfbcfe5-5585-41dc-b11b-6b201cb36161)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Plugins Affects one or more Plugins Fails Athena tests This PR causes a failure in the Athena tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants