My project is to develop a code to transport all particles produced by a neutron-induced fission and bin the energy deposited as a function of time and space.
For what I understand of the Geant4 philosophy, you start an event with a particle, not a process. So I define my particleGun as shooting a neutron. So far so good.
My problem is that the neutron is transported before undergoing either a nFission or a nCapture. I don’t want the neutron to be transported, I want it to undergo a nFission process with the position, angle, energy and time it has at the begining of the track. Do you know how to call that ?
At the beginning of every step, it will check if it is the initial neutron. If yes, it will disable every process but fission. If no, every process are activated. I end up with a fission at the beginning of each event, which is what I want to have.