Files
geant4/examples/extended/radioactivedecay/rdecay02/macros/UserEvapDataBiTest.mac
2023-12-08 10:43:34 +01:00

41 lines
1.1 KiB
Plaintext

# #
# Demonstrate the use of user data for photoevaporation.
# 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 83 210 UserEvapData_z83.a210
#
# place the isotopes in the middle of the target, at rest.
/gun/particle ion
/gun/ion 83 210 0 46.539
#
# only few
/analysis/setFileName userBi210
/analysis/h1/set 6 100 0. 15. MeV
/tracking/verbose 2
/run/beamOn 10