Several proton beams with spread out Bragg peaks

From UCL HEP PBT Wiki

(Difference between revisions)
Jump to: navigation, search
m
m
Line 47: Line 47:
</pre>
</pre>
-
; Run macro proton.mac with several beam energies.
+
; Run macro proton.mac  
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">

Revision as of 06:29, 3 September 2014

Contents

Introduction

This tutorial is based on the Monoenergetic proton pencil beam example. The code is run with several beam energies to produce a SOBP.

How to run the tutorial

Connect to the HEP cluster and create folder ProtonSBFolder in your area
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  
Setup your environment
[username@plus1 PhotonSBFolder]$ source /unix/pbt/software/dev/bin/pbt-dev.sh  
Copy the code to your working directory and rename it
[username@plus1 PhotonSBFolder]$ cp -r /unix/pbt/tutorials/basic/ProtonSB .
  
[username@plus1 PhotonSBFolder]$ mv ProtonSB ProtonSB_source
Inside /home/username/ProtonSBFolder/ create a directory
[username@plus1 PhotonSBFolder]$ mkdir ProtonSB_build  
To compile the code enter this directory and run cmake and make
[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  
Run macro proton.mac
[username@plus1 ProtonSB_build]$ ./protonSB proton.mac

How to analyze data

Files

Personal tools