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 Geant4 EM model wrappers for Celeritas interactions #1396

Open
sethrj opened this issue Sep 9, 2024 · 0 comments
Open

Add Geant4 EM model wrappers for Celeritas interactions #1396

sethrj opened this issue Sep 9, 2024 · 0 comments
Labels
enhancement New feature or request external Dependencies and framework-oriented features physics Particles, processes, and stepping algorithms

Comments

@sethrj
Copy link
Member

sethrj commented Sep 9, 2024

One way we could improve our V&V process (and start integrating into frameworks) would be to define a G4VEmModel classes that would individually replace those in Geant4 and call the Celeritas interactors. It would be straightforward to pass our particle parameters, define a wrapper function for the CLHEP RNG, and convert the "interaction" result to a "particle change".

This could be especially useful for the muon capture/fusion models, where it might be a long time before we can start validating an entire muon beam simulation. (@stognini )

One difficulty is that we might need to subclass the corresponding Geant4 model so that we can rely on its cross section generation (and our import process), and then switch out its "SampleSecondaries" functionality at runtime.

This would sort of be the reverse of the "pull G4HepEm into Celeritas" approach: but since our samplers are more general/flexible it might be easier to do.

@sethrj sethrj added enhancement New feature or request physics Particles, processes, and stepping algorithms external Dependencies and framework-oriented features labels Sep 9, 2024
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 physics Particles, processes, and stepping algorithms
Projects
None yet
Development

No branches or pull requests

1 participant