Monoenergetic photon pencil beam

From UCL HEP PBT Wiki

(Difference between revisions)
Jump to: navigation, search
m
m
Line 17: Line 17:
<blockquote>
<blockquote>
-
<span style="color:#800000"> source GEANT4 script </span>  
+
<span style="color:#800000"> source bla.sh </span>  
</blockquote>
</blockquote>

Revision as of 10:21, 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 bla.sh

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

How to analyze data

Personal tools