Several proton beams with spread out Bragg peaks
From UCL HEP PBT Wiki
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 email@example.com password: type your password here cd /home/username/ mkdir ProtonSBFolder cd ProtonSBFolder
- Setup your environment
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
- 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.