In this video, I am showing how to add your own user-defined event and stepping action class for the purpose of accumulating step information such as the energy deposition in certain volumes.
You can visit the full playlist for watching all videos of this tutorial series:
https://www.youtube.com/playlist?list=PLLybgCU6QCGWgzNYOV0SKen9vqg4KXeVL
The code of the tutorials is now available on GitHub:
https://github.com/MustafaSchmidt/geant4-tutorial
Twitter: https://twitter.com/MattersPhysics Discord: https://discord.gg/YYBzEuYeFe If you are interested in fundamental physics, you can visit my new website project: https://physicus.net/