The wrong decay spectrum is obtained

Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem!

_Geant4 Version:v11.1.22
_Operating System:_linux
_Compiler/Version:_с++
_CMake Version:_3.16-3.21

Hello! I’m still new to geant4. I want to get the decay of Co-60 and Cs-137, but unfortunately, I can please help me get the correct histograms. I am uploading all my files here



, can you please help me fix this problem.
I will be grateful for any help, thank you!


Hi,

Thank you for following the Tips for posting in Geant4 forum.

I tried to run your code but it seems there are few things broken. You may want to take as starting point the rdecay01 example instead.

Best,
Alvaro

Thank you very much for the reply. it really works. Can you please tell me, I would like to get the full spectrum of Co60 decay, not individually the loss of particle energy, but I want to combine everything. How can I do this?


--------> histogram 9