Warning, /geant4/examples/extended/radioactivedecay/rdecay02/macros/proton-beam.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 # rdm in variance mode
0026 /process/had/rdm/analogueMC 0
0027 /process/had/rdm/sourceTimeProfile beam.data
0028 /process/had/rdm/decayBiasProfile measures.data
0029 #/process/had/rdm/BRbias 0
0030 #
0031 /gun/particle proton
0032 /gun/energy 1 GeV
0033 /gun/position 0. 0. -2.4 cm
0034 #
0035 /analysis/setFileName proton-beam
0036 /run/printProgress 1000
0037 /run/beamOn 10000
0038
0039
0040
0041
0042
0043
0044
0045