Monoenergetic photon pencil beam
From UCL HEP PBT Wiki
(Difference between revisions)
m (Created page with "== Introduction == This example shows the dose distribution in water along the incident photon beam. The beam hits the water cube surface and deposits a dose under the surface o...") |
m |
||
Line 5: | Line 5: | ||
== Setting up the environment == | == Setting up the environment == | ||
- | ; Connect to | + | ; Connect to HEP cluster and create folder PhotonPencilBeam in your area |
<blockquote> | <blockquote> | ||
Line 25: | Line 25: | ||
<blockquote> | <blockquote> | ||
- | <span style="color:#800000"> cp -r / | + | <span style="color:#800000"> cp -r /unix/pbt/tutorials/basic/PhotonPencilBeam_source /username/PhotonPencilBeam/ </span> |
</blockquote> | </blockquote> | ||
Revision as of 09:03, 3 July 2014
Contents |
Introduction
This example shows the dose distribution in water along the incident photon beam. The beam hits the water cube surface and deposits a dose under the surface of the water. The volume of the water cube is divided into voxels. At each voxel the dose contribution from the pencil beams is summed up and yields the total dose along the beam axis.
Setting up the environment
- Connect to HEP cluster and create folder PhotonPencilBeam in your area
ssh username@plus1.hep.ucl.ac.uk
cd /home/username/
mkdir PhotonPencilBeam
cd PhotonPencilBeam
- Setup GEANT4 environment
source GEANT4 script
How to get the code
- Copy the code to your area
cp -r /unix/pbt/tutorials/basic/PhotonPencilBeam_source /username/PhotonPencilBeam/
- How to run the code
- Inside /username/PhotonPencilBeam/ create directory
mkdir PhotonPencilBeam_build
- Change to this directory and run cmake and make to build the PhotonPencilBeam tutorial
cd PhotonPencilBeam_build
cmake -DGeant4_DIR=/unix/pbt/Software/..../ /username/PhotonPencilBeam_source/
make