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

Remove the St_geant_Maker dependencies in the event generator to starsim bridge #616

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

klendathu2k
Copy link
Contributor

@klendathu2k klendathu2k commented Oct 30, 2023

Use direct calls into the starsim / GEANT3 libraries to push particles onto the G3 stack, eliminating the dependence on St_geant_Maker and the version of GEANT3 required by starsim. This will allow the event generator framework to function
with either our legacy starsim / St_geant_Maker framework, or the new VMC / StGeant4Maker framework.

@plexoos
Copy link
Member

plexoos commented Nov 1, 2023

Does it require any further testing?

@klendathu2k
Copy link
Contributor Author

Does it require any further testing?

It shouldn't. The refactoring was straightforward (just lifting the calls to add particles out of St_geant_Maker and into the bridge.) Test with single particles showed that hits were being registered in detectors. So this should be good to go.

@plexoos plexoos merged commit 6e7f250 into star-bnl:main Nov 2, 2023
148 checks passed
dkapukchyan pushed a commit to dkapukchyan/star-sw that referenced this pull request Mar 11, 2024
…sim bridge (star-bnl#616)

Use direct calls into the starsim / GEANT3 libraries to push particles
onto the G3 stack, eliminating the dependence on St_geant_Maker and the
version of GEANT3 required by starsim. This will allow the event
generator framework to function
with either our legacy starsim / St_geant_Maker framework, or the new
VMC / StGeant4Maker framework.
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