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

Allow geometry material selection from rml #108

Open
lobis opened this issue May 9, 2023 · 0 comments
Open

Allow geometry material selection from rml #108

lobis opened this issue May 9, 2023 · 0 comments
Assignees
Labels
development enhancement New feature or request

Comments

@lobis
Copy link
Member

lobis commented May 9, 2023

After talking with @cmargalejo offline we thought it might be a good idea to be able to modify the sensitive volume material from an RML (use xenon instead of argon, etc.). This could apply to any volume.

I guess the appropiate place to handle this would be the detector section, we could have something like:

<detector>
    <volume name="gasVolume" sensitive="true" maxStepSize="0.05mm" material="NewMaterial"/>
</detector>

The material would then be replaced in the gdml and all required additions to the <materials/> tag would also be automatically made. The new material could be available in the gdml already or we could use the default materials file.

@lobis lobis added enhancement New feature or request development labels May 9, 2023
@lobis lobis self-assigned this May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development enhancement New feature or request
Projects
None yet
Development

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

1 participant