Hi, I am new to Geant4.
I am currently working on a project in which I am asked to reconstruct the distribution of energy deposited by Carbon12 particles in a water absorber along the transverse direction with respect to the beam, by modifying the pre-existing geant4 example AnaEx01 (GitHub - carlomt/AnaEx01). The point I am not understanding is how to collect from G4Step the energy deposited in one particular direction.
Best regards,