Hello @weller, thank you. I’m having problems with Geant4 11 …I will open a topic for it and then I will try your code!
EDIT : @weller did to you use my full code …or did you use your simulation? because I’m having problems to use my simulation by Geant4 11 because it can’t find g4analysis.hh as I wrote here Geant4 11 on cvmf