Is there an easy way to output the secondary particles generated and their energy that are passing through the sandwiched layers?
What you want to do exactly is not clear.
In SteppingAction, and Run.cc, we compute the energy flow per plane (histo 21).
It is up to you to see what you can learn from this code.
essai.mac.txt (398 Bytes)