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

Enable Mie scattering in gemc #235

Merged
merged 5 commits into from
Jul 18, 2024

Conversation

cpecar
Copy link
Collaborator

@cpecar cpecar commented May 17, 2024

We would like to incorporate Mie/forward scattering effects in the RICH aerogel, but Mie scattering parameters are not currently handled in the gemc material definition. This PR will aim to add the Mie scattering parameters to the list of optical parameters loaded for a material, and add Mie scattering to the optical physics list.

@cpecar
Copy link
Collaborator Author

cpecar commented May 17, 2024

I'll open a PR in gemc/api for setting these variables, and test how much computation time this adds with my estimates of the forward scattering parameters for the RICH aerogel.

@cpecar
Copy link
Collaborator Author

cpecar commented May 30, 2024

Testing with 1000 electrons in the RICH, opticalPhysics->Configure(kMieHG, false); vs opticalPhysics->Configure(kMieHG, true); , 15cm Mie scattering length in all aerogel:

Mie on: > Total gemc time: 1657.97 seconds. Events only time: 1569.04 seconds
Mie off: > Total gemc time: 1685.51 seconds. Events only time: 1601.11 seconds

@cpecar cpecar marked this pull request as ready for review May 30, 2024 20:27
@maureeungaro maureeungaro merged commit c5b0ed9 into gemc:main Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants