Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/advanced/hadrontherapy/macro/stoppingPowers.mac is written in an unsupported language. File is not indexed.

0001 # S.E. Mazzaglia Nov 14, 2009
0002 #
0003 # Example macro file showing how to calculate stopping powers for particles and ions  
0004 # 
0005 
0006 #######################
0007 # Set of the verboses # 
0008 #######################
0009 #
0010 /control/verbose 1
0011 /tracking/verbose 0
0012 /run/verbose 1
0013 /event/verbose 0
0014 
0015 ##########################
0016 # Set of the physic models
0017 #
0018 /Physics/addPhysics HADRONTHERAPY_1
0019 
0020 # Initialize geometry and physic 
0021 /run/initialize
0022 
0023 # Set a very high time threshold to allow all decays to happen
0024 /process/had/rdm/thresholdForVeryLongDecayTime 1.0e+60 year
0025 
0026 ###############################
0027 # Stopping Powers calculation #
0028 ###############################
0029 
0030 ###############################
0031 # List of available materials #
0032 ###############################
0033 
0034 # Show all available materials (list with additional informations)
0035 /parameter/nist all
0036 
0037 # Show all available elements (list with additional informations)
0038 #/parameter/nist simple
0039 
0040 # Show all available elements and materials (simple full list)
0041 #/parameter/nist 
0042 
0043 ###############
0044 # "Particles" #
0045 ###############
0046 
0047 # Calculate stopping power for proton into liquid water at 1 MeV 
0048 /parameter/getstopping G4_WATER
0049 
0050 # Calculate stopping powers for protons into Hydrogen from 1 keV up to 200 MeV with 100 data points
0051 # Print data to user terminal 
0052 /parameter/getstopping G4_H 0.001 200 100 
0053 
0054 # Calculate stopping powers for alphas into Copper from 1 keV up to 200 MeV with 100 data points
0055 /parameter/getstopping G4_Cu 0.001 200 100 alpha stopAlpha_Cu_1keV_200MeV.out  
0056 
0057 
0058 
0059