Warning, /geant4/examples/advanced/iort_therapy/batch.mac is written in an unsupported language. File is not indexed.
0001 # G.A.P.Cirrone and C.Casarino
0002 #
0003 # Default macro file. It is called if no argument is provided at run
0004 #
0005 # i.e. simply typing $G4WORKDIR/bin/Linux-++/Iort <no argument here!>
0006 #
0007 # This macro can be used for a proton or electron beam in water. Both electromagnetic and
0008 # hadronic models may be swiched on
0009
0010
0011 #/control/getEnv G4SYSTEM
0012
0013
0014 #########################
0015 # Set of the verboses
0016 #
0017 /control/verbose 1
0018 /tracking/verbose 0
0019 /run/verbose 1
0020 /event/verbose 0
0021
0022 ##########################
0023 # Set of the physic models
0024 #
0025 /Physics/addPhysics standard_opt3 # Electromagnetic model
0026
0027 ##########################
0028 # Geometry #
0029 ##########################
0030
0031 #/geometrySetup/selectGeometry coll80
0032
0033
0034 ##########################
0035 # Initialisation procedure
0036 #
0037 /run/initialize
0038
0039 ##########################
0040 # Visualisation
0041 # none
0042 ##########################
0043 # Set here the cut and the step max for the tracking.
0044 # Suggested values of cut and step:
0045 #
0046 # Set cuts ONLY inside the detector
0047 /Physics/setDetectorCuts 0.01 mm
0048
0049 # Set cuts OUTSIDE the detector
0050 #/Physics/setCuts 1. mm
0051 /Physics/setCuts 0.01 mm
0052
0053 /Step/waterPhantomStepMax 0.01 mm
0054
0055 #########################
0056 # Set the primary particle type,
0057 # energy and position along the X direction and spread
0058 #
0059 #/gun/particle proton
0060 /beam/energy/meanEnergy 9.9 MeV # 6.2 MeV old
0061 /beam/energy/sigmaEnergy 500 keV # 400 keV old
0062 /beam/position/Xposition -862.817 mm # coll40, coll50, coll60, coll70, coll80 -> -862.817 mm ; coll100 ->
0063 # -1062.817 mm ;
0064 #/beam/momentum/Theta # default -> 6°;
0065
0066 #########################
0067 # Display the event number
0068 # during the run
0069 #
0070 /event/printEventNumber 1000
0071
0072 #########################
0073 # Start of the run
0074 #
0075 # If secondary particles dose & fluence are needed
0076 #/analysis/secondary true
0077 # Default material is water liquid
0078 #/changePhantom/material G4_PLEXIGLASS
0079
0080 #/ProtectionDisc1/OuterRadiusDisc1 30 # default -> 40*mm ; 30(coll40);35(coll50);45(coll70);50(coll40);60(coll100)
0081 #/ProtectionDisc1/InnerRadiusDisc1 # default -> 0*mm
0082 #/ProtectionDisc1/HeightDisc1 # default -> 2*mm
0083 #/ProtectionDisc1/XPositionDisc1 -11.0 # default -> -11*mm R90 (10.1 MeV) -> -10.68 mm from detector centre (24mm)
0084 #/ProtectionDisc1/material G4_Al # default -> G4_WATER ;
0085
0086 #/ProtectionDisc2/OuterRadiusDisc2 30 # default -> 40*mm ; 30(coll40);35(coll50);45(coll70);50(coll40);60(coll100)
0087 #/ProtectionDisc2/InnerRadiusDisc2 # default -> 0*mm
0088 #/ProtectionDisc2/HeightDisc2 # default -> 1*mm
0089 #/ProtectionDisc2/XPositionDisc2 -8.0 # default -> -8*mm
0090 #/ProtectionDisc2/material G4_Pb # default -> G4_WATER ;
0091
0092 #/InsertProtectionDisc/insert
0093
0094 #/changePhantom/update
0095 # Scoring mesh is used to calculate
0096 # the dose in the phantom
0097 /score/create/boxMesh boxMesh_1
0098 #
0099 /score/mesh/boxSize 10. 10. 10. cm
0100 /score/mesh/nBin 300 300 300
0101 /score/mesh/translate/xyz 4.5 0. 0. cm
0102 /score/quantity/doseDeposit dose Gy
0103 #
0104 /score/close
0105 #
0106 /score/list
0107 /DeleteProtectionDisc/delete
0108 /run/beamOn 2000
0109 /score/dumpQuantityToFile boxMesh_1 dose dose.out
0110