Warning, /geant4/examples/extended/radioactivedecay/rdecay02/macros/UserRadDataPb210Test.mac is written in an unsupported language. File is not indexed.
0001 # #
0002 # Demonstrate the use of user data for radioactive decay.
0003 # Here the decay of excited No252 is simulated
0004 # Laurent Desorgher, 4 November 2011
0005 #
0006 #
0007 /control/verbose 2
0008 /run/verbose 1
0009 #
0010 # set the target/detector geometry
0011 /rdecay02/det/setTargetRadius 1e10 pc
0012 /rdecay02/det/setTargetLength 1e10 pc
0013 /rdecay02/det/setDetectorThickness 1e10 pc
0014 /rdecay02/det/setDetectorLength 1e10 pc
0015 #
0016 /run/initialize
0017 #
0018 # Set a very high time threshold to allow all decays to happen
0019 /process/had/rdm/thresholdForVeryLongDecayTime 1.0e+60 year
0020 #
0021 /process/list
0022 #
0023 # rdm is applied only to the target volume
0024 /process/had/rdm/noVolumes
0025 /process/had/rdm/selectVolume Target
0026 #
0027 # Define user radioactive data
0028 # The data files should be defined before definition of the ion source
0029 # otherwise the mean life time will not be selected correctly
0030 #
0031 /process/had/rdm/setRadioactiveDecayFile 82 210 UserRadData_z82.a210
0032 /process/had/rdm/nucleusLimits 210 210 82 82
0033 #
0034 # place the isotopes in the middle of the target, at rest.
0035 /gun/particle ion
0036 /gun/ion 82 210
0037 #
0038 # only few
0039 /analysis/setFileName userPb210
0040 /analysis/h1/set 6 100 0. 15. MeV
0041 /tracking/verbose 2
0042 /run/beamOn 2