-
Notifications
You must be signed in to change notification settings - Fork 174
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: Changed the GeoModelToDetectorVolume to be able to return Acts::Volumes #3576
Conversation
Co-authored-by: Benjamin Huth <[email protected]>
Co-authored-by: Benjamin Huth <[email protected]>
…ers.hpp Co-authored-by: Andreas Stefl <[email protected]>
Co-authored-by: Andreas Stefl <[email protected]>
…rSurfaceFactory.hpp Co-authored-by: Andreas Stefl <[email protected]>
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.
Thanks!
Plugins/GeoModel/include/Acts/Plugins/GeoModel/GeoModelToDetectorVolume.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.
Changes look good to me and all comments have been addressed. Approving.
Quality Gate passedIssues Measures |
This PR breaks the
GeoModelToDetectorVolume
up in apackage
function that finds the correctvolumeBounds
depending on the passedGeoModel
shape and returns an appropriateActs::Volume
object, containing the bounds and transform. TheconvertVolume
function calls thispackage
function to obtain the bounds needed for the conversion toActs::DetectorVolume
such that the functionality ofconvertVolume
is unchanged.In addition this PR adds a dedicated unit test for
GeoSimplePolygonBrep
toSensitiveSurface
conversion and unit tests forGeoBox
,GeoTube
andGeoTrd
toDetectorVolume
.