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!
No Radioactive decay
Command thresholdForVeryLongDecayTime
Hello,
I’m writing a simple Geant4 program that uses a CO60 source as a particle generator.
The program compiles without errors, but when I run it, I don’t get any secondary particles.
Looking at previous posts, I found that I needed to change the thresholdForVeryLongDecayTime variable from 1 year to a very high value.
As recommended, I wanted to change the value in the GUI using the command
/process/had/rdm/thresholdForVeryLongDecayTime
But apparently this command isn’t among the available options.
I guess there is something wrong on your set-up, but I can’t tell you how to fix it.
I confirm that in Geant4 11.2.p02, the command “/process/had/rdm/thresholdForVeryLongDecayTime 1.0e+60 year” is properly defined.
For instance, you can run the Geant4 example:
examples/extended/radioactivedecay/rdecay01
using the macro Co60.mac .
If you comment, in this macro, the above line:
#/process/had/rdm/thresholdForVeryLongDecayTime 1.0e+60 year
you get quite different results.
What physics list are you using? The radioactive decay related commands should be available if this process has been added to the relevant particles in the physics list.