Several proton beams with spread out Bragg peaks

From UCL HEP PBT Wiki

Jump to: navigation, search
m
m
 
Line 4: Line 4:
The water cube is divided into slices using class '''G4PVReplica'''. At each slice the deposited dose and energy for every energy beam is computed. The energy and the dose are scored using classes '''G4UserSteppingAction''' and '''G4UserRunAction'''. The proton beams are simulated using '''G4ParticleGun''' class. There is an option to chose among several '''EM''' and the '''QGSP_BIC_EMY''' physics lists.  
The water cube is divided into slices using class '''G4PVReplica'''. At each slice the deposited dose and energy for every energy beam is computed. The energy and the dose are scored using classes '''G4UserSteppingAction''' and '''G4UserRunAction'''. The proton beams are simulated using '''G4ParticleGun''' class. There is an option to chose among several '''EM''' and the '''QGSP_BIC_EMY''' physics lists.  
 +
 +
http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonSB/g4_00.png
 +
 +
This image shows only one proton beam energy. The water box is divided into slices using class '''G4PVReplica'''. Photons are in green, protons are in blue, neutrons are in yellow.
== <span style="color:#000080"> How to run the tutorial </span> ==
== <span style="color:#000080"> How to run the tutorial </span> ==
Line 71: Line 75:
</pre>
</pre>
-
Then, run the script in the following way:
+
Then, run the script:
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
Line 81: Line 85:
This will create '''SOBP.root''' file with the following plot:
This will create '''SOBP.root''' file with the following plot:
-
http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonSB/SOPB.png     
+
http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonSB/SOBP.png     
=== <span style="color:#000080"> Run with different settings </span> ===
=== <span style="color:#000080"> Run with different settings </span> ===
Line 149: Line 153:
'''Change of the beam energies'''
'''Change of the beam energies'''
-
You can change the proton beam energies by modifying this line
+
You can change the proton beam energies by modifying this line in proton.mac
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
Line 155: Line 159:
</pre>
</pre>
 +
where "50" is the initial value, "56" is the final value and "2" is the step size in MeV.
 +
 +
=== <span style="color:#000080"> Visualisation </span> ===
 +
 +
If you want to use visualisation (with DAWN), in macro proton.mac uncomment line '''#/control/execute visualisation.mac'''. Then, run the code.
 +
You will have four images from the four proton beams.
 +
 +
For proton energy of 50 MeV: http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonSB/g4_00.eps
 +
 +
For proton energy of 52 MeV: http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonSB/g4_01.eps
 +
 +
For proton energy of 54 MeV: http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonSB/g4_02.eps
 +
 +
For proton energy of 56 MeV: http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonSB/g4_03.eps
 +
 +
Protons are in blue, neutrons are in yellow, photons are in green.
 +
== <span style="color:#000080"> Files </span> ==
== <span style="color:#000080"> Files </span> ==
 +
 +
[[List of spread out Bragg peaks files with brief description]]

Latest revision as of 19:06, 3 September 2014

Personal tools