Files
2023-12-08 10:43:34 +01:00

43 lines
1.2 KiB
Plaintext

# #
# Demonstrate the use of user data for radioactive decay.
# Here the decay of excited No252 is simulated
# Laurent Desorgher, 4 November 2011
#
#
/control/verbose 2
/run/verbose 1
#
# set the target/detector geometry
/rdecay02/det/setTargetRadius 1e10 pc
/rdecay02/det/setTargetLength 1e10 pc
/rdecay02/det/setDetectorThickness 1e10 pc
/rdecay02/det/setDetectorLength 1e10 pc
#
/run/initialize
#
# Set a very high time threshold to allow all decays to happen
/process/had/rdm/thresholdForVeryLongDecayTime 1.0e+60 year
#
/process/list
#
# rdm is applied only to the target volume
/process/had/rdm/noVolumes
/process/had/rdm/selectVolume Target
#
# Define user radioactive data
# The data files should be defined before definition of the ion source
# otherwise the mean life time will not be selected correctly
#
/process/had/rdm/setPhotoEvaporationFile 102 252 UserEvapData_z102.a252
#
# place the isotopes in the middle of the target, at rest.
/gun/particle ion
/gun/ion 102 252 0 320.7 keV
#
# only few
/analysis/setFileName userNo252
/analysis/h1/set 6 100 0. 15. MeV
###/analysis/ntuple/setActivation 3 true
/tracking/verbose 2
/run/beamOn 10