Back to home page

EIC code displayed by LXR

 
 

    


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

0001 # A.Tramontana, G.A.P.Cirrone, J.Pipek
0002 # INFN-LNS
0003 #######################
0004 # Set of the verboses # 
0005 #######################
0006 #
0007 /control/verbose 1
0008 /tracking/verbose 0
0009 /run/verbose 1
0010 /event/verbose 0
0011 
0012 ###########################################################################################################
0013 #                                       ACTIVATED PHYSICS MODELS
0014 
0015 
0016 /Physics/addPhysics standard_opt4
0017 
0018 # Initialize geometry and physic 
0019 /run/initialize
0020 
0021 # If you use radioactive decay, then uncomment the following UI command,
0022 # in order to set a very high time threshold to allow all decays to happen
0023 #/process/had/rdm/thresholdForVeryLongDecayTime 1.0e+60 year
0024 
0025 #########################
0026 # Set the primary particle type,
0027 # energy and position along the X direction
0028 #
0029 #---------------------------gps-----------------
0030 /gps/pos/shape Circle
0031 /gps/pos/centre -310. 0. 0. cm
0032 /gps/pos/radius 0. mm
0033 /gps/pos/sigma_r 2. mm
0034 /gps/particle proton
0035 /gps/pos/type Beam
0036 
0037 
0038 # the incident surface is in the y-z plane
0039 
0040 /gps/pos/rot1 0 1 0
0041 /gps/pos/rot2 0 0 1
0042 
0043 # the beam is travelling along the x-axis without any angular dispersion (angular despersion set to 0.0)
0044 #
0045 
0046 /gps/ang/rot1 0 0 1
0047 /gps/ang/rot2 0 1 0 
0048 /gps/ang/type beam1d 
0049 /gps/ang/sigma_r 0. deg
0050 
0051 
0052 # the beam energy is in gaussian profile
0053 #
0054 /gps/ene/type Gauss
0055 /gps/ene/mono 62 MeV
0056 /gps/ene/sigma 0.3 MeV
0057 
0058 
0059 /Step/waterPhantomStepMax 1 mm 
0060 
0061 
0062 ##################################################                              
0063 #           DETECTOR DESCRIPTION
0064 /changePhantom/size 40 40 40  cm
0065 /changePhantom/position 20 0 0 cm
0066 /changeDetector/size 4 4 4 cm
0067 /changeDetector/voxelSize 1 40 40 mm
0068 # Put the detector in the lower left corner of the phantom
0069 /changeDetector/displacement 0 18 18 cm
0070 /changePhantom/update
0071 
0072 /event/printEventNumber 100
0073 
0074 /run/beamOn 500