Hello everyone, sorry for the new topic, but I think that in the other one there was a lot of counfusion, so the best thing is to open a new one.
I must do a Geant4 program to:
- Store the released energy in my two targets both by primary and secondary particles.
- Store the PDG of the particles releasing energy
- Store the kinetic energy of the particle releasing energy
- Store the directions of the particle releasing energy
- Store PDG of the particles outgoing the second target
- Store kinetic energy of the secondary particles outgoing the second target
Here my code
@anna or someone else, please can you have a look to it, to see if it works for my goals?
I have to start the simulations, otherwise I will not have time to do them …