-
Notifications
You must be signed in to change notification settings - Fork 45
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
Change forward Hcal insert's readout to a hexagonal grid #496
Comments
Any input on where to push the files? If in the epic repository, should I put it somewhere specific to separate it from the detector files? |
This should really go into DD4hep, not ePIC. It is generally applicable. |
Sure, I'll try doing that. I've never made changes to DD4hep before so I might need some help but I'll ask about that in the Helpdesk channel. |
Changing issue to adjusting the readout style of the insert, rather than implementing the segmentation class. |
Dependent on the creation of the hexagonal grid segmentation class in DD4hep. This completion of this issue is blocked until then. |
It is probably a good idea to just implement hexagonal tiles as volumes. Segmentations in DD4hep are well applicable to fine grids or preliminary designs. Design of the forward insert is already very mature. The only tricky part with volumes is that you'd need to use binary operations on volumes to create truncated tiles for the edges. |
Upstream PR AIDASoft/DD4hep#1161 |
Hexagonal (and staggered cartesian) grids are now in jug_xl> wdconinc@menelaos:~/git/epic$ ls /usr/local/include/DDSegmentation/HexGrid.h
/usr/local/include/DDSegmentation/HexGrid.h Thanks to @sebouh137 for the upstream contribution. |
Apologies for the delay on this. Working on implementing it now. Additionally, the latest insert design has 10 tungsten layers instead of the 4 that are currently in the simulation, so I'll correct this. |
Feel free to make two PRs so they can be reviewed independently. |
Layer numbering changed to Issue #546 . |
### Briefly, what does this PR introduce? Change the forward Hcal insert's readout to a hexagonal grid with hexagons of side size 1.889 cm and staggering between the layers. Test data was generated and it ran smoothly through EICrecon. ### What kind of change does this PR introduce? - [ ] Bug fix (issue #__) - [X] New feature (issue #496 ) - [ ] Documentation update - [ ] Other: __ ### Please check if this PR fulfills the following: - [ ] Tests for the changes have been added - [X] Documentation has been added / updated - [X] Changes have been communicated to collaborators ### Does this PR introduce breaking changes? What changes might users need to make to their code? No breaking changes, no changes needed. ### Does this PR change default behavior? Only changes the default readout of the insert.
Is your feature request related to a problem? Please describe.
The forward HCal insert currently uses a square segmentation (CartesianGridXY) but should actually use a hexagonal grid segmentation.
Describe the solution you'd like
Create a hexagonal grid segmentation class and push it to ePIC. It would be similar to CartesianGridXY but would use hexagons instead of squares.
Describe alternatives you've considered
Push the segmentation class to the official DD4hep repository instead of to ePIC.
Additional context
The hexagon readout class currently does not exist in DDCore.
The text was updated successfully, but these errors were encountered: