Files
geant4/examples/advanced/doiPET/run_spatialResolution.mac
T
2023-12-08 10:43:34 +01:00

38 lines
1001 B
Plaintext

#==========================- Pre-initialisation parameters -=========================
#choose the type of phantom
/changePhantom/setPhantom Phantom_spatialResolution
#set the activity in the phantom
/change/Activity 3840000 becquerel #3840000 becquerel
#Set the halflife of the isotope in units of second
/change/HalfLife 6586.2 s #Halflife of F-18
#Change the size of the phantom
/changePhantom/Radius 2 mm
/changePhantom/Length 4 mm
#Change the position of phantom. !!!Remember to change the source position as well.
/changePhantom/position 10 0 0 mm
/run/initialize
/run/verbose 2
# Set a very high time threshold to allow all decays to happen
/process/had/rdm/thresholdForVeryLongDecayTime 1.0e+60 year
/gps/particle ion
/gps/ion 9 18 0 0 # F-18
/gps/energy 0
/gps/pos/type Volume
/gps/pos/shape Cylinder
/gps/pos/centre 10 0 0 mm
/gps/pos/radius 0.5 mm
/gps/pos/halfz 0.5 mm
/gps/ang/type iso
#/random/setSeeds 1 2
/run/beamOn 100000 #36461089