I need to run a simple simulation: a pion reaching a aluminum target and I want to check the particles types and particles momenta that comes out. I know how to generate the primary and how to construct the target, but I not sure how to get the outgoing particles and their information. Is there an example on this?
I can only give the examples that I know :
electromagnetic/TestEm14 : SteppingAction.cc, lines ~74–>91
hadronic/Hadr03 : SteppingAction.cc, lines ~111–>146