Several proton beams with spread out Bragg peaks
From UCL HEP PBT Wiki
for
Several proton beams with spread out Bragg peaks
Jump to:
navigation
,
search
== <span style="color:#000080"> Introduction </span> == This tutorial is based on the [[Monoenergetic proton pencil beam]] example. The code run with several beam energies to produce spread out Bragg peak. The water cube is divided into slices using class '''G4PVReplica'''. At each slice the deposited dose and energy for every energy beam is computed. The energy and the dose are scored using classes G4UserSteppingAction and G4UserRunAction. The proton beams are simulated using G4ParticleGun class. There is an option to chose among several EM and the QGSP_BIC_EMY physics lists. == <span style="color:#000080"> How to run the tutorial </span> == ; Connect to the HEP cluster and create folder ProtonSBFolder in your area <pre style="color: #800000; background-color: #dcdcdc"> ssh -X username@plus1.hep.ucl.ac.uk username@plus1.hep.ucl.ac.uk's password: type your password here [username@plus1 ~]$ mkdir ProtonSBFolder [username@plus1 ~]$ cd ProtonSBFolder </pre> ; Setup your environment <pre style="color: #800000; background-color: #dcdcdc"> [username@plus1 PhotonSBFolder]$ source /unix/pbt/software/dev/bin/pbt-dev.sh </pre> ; Copy the code to your working directory and rename it <pre style="color: #800000; background-color: #dcdcdc"> [username@plus1 PhotonSBFolder]$ cp -r /unix/pbt/tutorials/basic/ProtonSB . [username@plus1 PhotonSBFolder]$ mv ProtonSB ProtonSB_source </pre> ; Inside /home/username/ProtonSBFolder/ create a directory <pre style="color: #800000; background-color: #dcdcdc"> [username@plus1 PhotonSBFolder]$ mkdir ProtonSB_build </pre> ; To compile the code enter this directory and run cmake and make <pre style="color: #800000; background-color: #dcdcdc"> [username@plus1 PhotonSBFolder]$ cd ProtonSB_build [username@plus1 ProtonSB_build]$ cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/ProtonSBFolder/ProtonSB_source [username@plus1 ProtonSB_build]$ make </pre> ; Run macro proton.mac <pre style="color: #800000; background-color: #dcdcdc"> [username@plus1 ProtonSB_build]$ ./protonSB proton.mac </pre> == <span style="color:#000080"> How to analyze data </span> == == <span style="color:#000080"> Files </span> ==
Return to
Several proton beams with spread out Bragg peaks
.
Views
Page
Discussion
View source
History
Personal tools
Log in
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Search
Toolbox
What links here
Related changes
Special pages