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

Issue a warning G4OpticalPhysics is not compatible with materials #452

Open
nkrah opened this issue Sep 12, 2024 · 0 comments
Open

Issue a warning G4OpticalPhysics is not compatible with materials #452

nkrah opened this issue Sep 12, 2024 · 0 comments

Comments

@nkrah
Copy link
Collaborator

nkrah commented Sep 12, 2024

Issue a warning if G4OpticalPhysics is activated and materials are present in the simulation for which no optical properties are provided.

This would provide the user with helpful information. Reason: if an optical photon enters a volume with a material for which G4 does not have any optical properties, G4 cannot track the photon. The user should be made aware of this.

Note: Check how G4 handles the above case in detail in the stepping action. Does G4 kill the photon? In which part of the step - pre, post?

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

No branches or pull requests

1 participant