Several proton beams with spread out Bragg peaks
From UCL HEP PBT Wiki
Revision as of 13:41, 26 August 2014 by IlinaMediaWiki (Talk | contribs)
Contents |
Introduction
This tutorial will based on the Hadrontherapy example provided by the Italian INFN Institute. For more information visit the Hadrontherapy website. This totorial produces spread out Bragg peak curve. It is produced by a modulation system that spreads the beam in energy. This system consists of a rotating wheel of different thicknesses. The wheel rotates around an axis parallel to the proton beam axis.
Setting up the environment
- Connect to HEP cluster and create folder ProtonSBFolder in your area
ssh -X username@plus1.hep.ucl.ac.uk password: type your password here cd /home/username/ mkdir ProtonSBFolder cd ProtonSBFolder
- Setup your environment
source /unix/pbt/software/dev/bin/pbt-dev.sh
How to get the code
- Copy the code to your working directory and rename it
cp -r /unix/pbt/tutorials/basic/ProtonSB . mv ProtonSB ProtonSB_source
How to run the code
- Inside /home/username/ProtonSBFolder/ create a directory
mkdir ProtonSB_build
- To compile the code enter this directory and run cmake and make
cd ProtonSB_build cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/ProtonSBFolder/ProtonSB_source make
- Run macro proton.mac.
./protonSB proton.mac