star-bnl / star-sw

Core software for STAR experiment
26 stars 63 forks source link

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

Closed klendathu2k closed 6 months ago

klendathu2k commented 6 months ago

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 commented 6 months ago

Does it require any further testing?

klendathu2k commented 6 months ago

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.