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

Add utility for constructing SD "force_volumes" option #825

Merged
merged 6 commits into from
Jun 26, 2023

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented Jun 22, 2023

With this enhancement, you can add SDs by name in the setup for accel:

options.sd.force_volumes = FindVolumes({"foo", "bar"});

We discovered that the HGCal seems to create several intermediate G4LVs that have attached detectors but are not part of the world tree hierarchy. Such volumes are listed in an error message because the equivalent VecGeom volumes aren't created.

@sethrj sethrj added enhancement New feature or request external Dependencies and framework-oriented features labels Jun 22, 2023
@sethrj sethrj requested a review from whokion June 22, 2023 11:54
@sethrj sethrj added this to the v0.3.1 milestone Jun 22, 2023
@sethrj sethrj requested a review from amandalund June 25, 2023 12:17
@sethrj sethrj merged commit 8db9197 into celeritas-project:develop Jun 26, 2023
@sethrj sethrj deleted the find-volumes branch June 26, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request external Dependencies and framework-oriented features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants