-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Bin adjustment for rectangluar bounds (#705)
* Added a function adjustBinUtility() for rectangle bounds to BinAdjustment.hpp and modified BinUtility adjustBinUtility(const BinUtility& bu, const Surface& surface) accordingly. This is to make material mapping on renctangle layers possible. Modified the envelope from 1 mm to 0 mm in the TGeoLayerBuilder.hpp (otherwise I get a Radialbounds error when executing ActsExampleGeometryTGeo). * added a check to the plane surface in adjustBinUtility(const BinUtility& bu, const Surface& surface) for rectangular bounds. * added a unit test for the BinAdjustment of the rectangular plane. also split the if that checks for a plane surface and rectangular bounds in two. * changed the envelope of r and z in the TGeoLayerBuilder back to 1 mm. * commit after running ./CI/check_format_local Co-authored-by: Bernadette Kolbinger <bernadette.kolbinger@cern.ch> Co-authored-by: Paul Gessinger <paul.gessinger@cern.ch>
- Loading branch information
1 parent
b1fc4e7
commit 1e69ac6
Showing
2 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters