Monoenergetic photon pencil beam

From UCL HEP PBT Wiki

Revision as of 17:40, 2 July 2014 by IlinaMediaWiki (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 plus1 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 /vasileva/BasicExamples/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