Skip to content
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

Check each detector subsystem with its assigned envelope #518

Open
Chao1009 opened this issue Sep 6, 2023 · 0 comments
Open

Check each detector subsystem with its assigned envelope #518

Chao1009 opened this issue Sep 6, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request topic: simulation

Comments

@Chao1009
Copy link
Contributor

Chao1009 commented Sep 6, 2023

Is your feature request related to a problem? Please describe.
A tool (ideally with visualization) to check if each detector subsystem is within its assigned envelope.
It should (descending priority):

  1. Report the extrusion of the envelope for each detector subsystem.
  2. Automatically scan all the detector subsystems.
  3. Visualize the extrusion to help one locate the parameters that would resolve the extrusion.

Describe the solution you'd like
Many existing visualization tools should be able to check overlaps, which could be utilized for this envelope check.
For example, DAWN can highlight the overlaps (right figure):
https://geant4.kek.jp/~tanaka/
The goal of this PR is to identify a proper tool to do this check and develop a script to automate this procedure for all subdetectors.

Describe alternatives you've considered
Export simulation geometry to GDML files and do the check with pyg4ometry.
http://www.pp.rhul.ac.uk/bdsim/pyg4ometry/validating.html#overlap-checking

Additional context
No.

@Chao1009 Chao1009 added the enhancement New feature or request label Sep 6, 2023
@Chao1009 Chao1009 self-assigned this Sep 6, 2023
@Chao1009 Chao1009 changed the title Detector Geometry Checks Check each detector subsystem with its assigned envelope Sep 6, 2023
@Chao1009 Chao1009 moved this from Todo to In Progress in ePIC Software and Computing Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request topic: simulation
Projects
Status: In Progress
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants