I am always indebted.
Thanks to everyone’s help, we were able to reproduce the detector shown in the figure below.
Furthermore, it has become possible to create an energy distribution for each particle.
This time, I would like you to find the error on the program screen below. This is part of Trackingaction.cc. I improved it so that I can get data of proton, deuteron, triton, 3He, alpha.
I need your help again.