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 159: Line 163:
=== <span style="color:#000080"> Visualisation </span> ===
=== <span style="color:#000080"> Visualisation </span> ===
-
If you want to use visualisation, in macro proton.mac uncomment line '''#/control/execute visualisation.mac'''. Then run the code.
+
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.
You will have four images from the four proton beams.

Latest revision as of 19:06, 3 September 2014

Personal tools