Warning, /geant4/examples/extended/radioactivedecay/rdecay02/macros/proton.mac is written in an unsupported language. File is not indexed.
0001 #
0002 # Demonstrate that isotopes produced in hadronic processes
0003 # can be treated by RadioactiveDecay.
0004 #
0005 # To register hadronic processes, uncomment corresponding lines
0006 # in PhysicsList.cc
0007 #
0008 /control/verbose 2
0009 /run/verbose 1
0010 #
0011 # set the target/detector geometry
0012 /rdecay02/det/setTargetMate G4_Pb
0013 #
0014 /run/initialize
0015 #
0016 # Set a very high time threshold to allow all decays to happen
0017 /process/had/rdm/thresholdForVeryLongDecayTime 1.0e+60 year
0018 #
0019 /process/list
0020 #
0021 # rdm is applied only to the target volume
0022 /process/had/rdm/noVolumes
0023 /process/had/rdm/selectVolume Target
0024
0025 /gun/particle proton
0026 /gun/energy 1 GeV
0027 /gun/position 0. 0. -2.4 cm
0028 #
0029 /analysis/setFileName proton
0030 /run/printProgress 1000
0031 /run/beamOn 10000
0032
0033
0034
0035
0036
0037
0038
0039