Hello Geant4 experts,
I want to simulate the low probability interaction process with a gaseous target.
To achieve significant interaction statistics, I would like to create an interaction loop when the primary beam output is provided as the beam input afterwards. I know that it could be done with input and output files.
But is there any way to avoid this in favor of better performance?
Any implementation example will be helpful.
Best wishes,
Volodymyr