I’m trying to use Geant4 to obtain a spacial distribution of the energy deposited by particles going through a volume, to obtain something similar to a profile of J/m^3.
My idea has been to divide the whole volume in small cube (like a discretization) to then evaluate the total energy deposited in each of the volume units. However, I’ve seen that at each boundary the step ends and therefore the trajectory is modified, which is not exactly what I want.
Is there someone who knows any other possible solution to obtain such a result?
Thank you, Tommaso.