Photon beam using phase space files

From UCL HEP PBT Wiki

Jump to: navigation, search
(Created page with "== <span style="color:#000080"> Introduction </span> == This example shows the dose distribution in water along the incident photon beam. The volume of the water cube is divided...")
 
Line 7: Line 7:
== <span style="color:#000080"> How to run the tutorial </span> ==  
== <span style="color:#000080"> How to run the tutorial </span> ==  
-
; Connect to the HEP cluster and create folder PhotonPHSFolder in your area
+
; Connect to the HEP cluster and create folder PhotonPHSPFolder in your area
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
Line 14: Line 14:
username@plus1.hep.ucl.ac.uk's password: type your password here
username@plus1.hep.ucl.ac.uk's password: type your password here
   
   
-
[username@plus1 ~]$ mkdir PhotonPHSFolder
+
[username@plus1 ~]$ mkdir PhotonPHSPFolder
-
[username@plus1 ~]$ cd PhotonPHSFolder  
+
[username@plus1 ~]$ cd PhotonPHSPFolder  
</pre>
</pre>
Line 22: Line 22:
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
-
[username@plus1 PhotonPHSFolder]$ source /unix/pbt/software/dev/bin/pbt-dev.sh   
+
[username@plus1 PhotonPHSPFolder]$ source /unix/pbt/software/dev/bin/pbt-dev.sh   
</pre>
</pre>
Line 28: Line 28:
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
-
[username@plus1 PhotonPHSFolder]$ cp -r /unix/pbt/tutorials/basic/PhotonPHS .
+
[username@plus1 PhotonPHSPFolder]$ cp -r /unix/pbt/tutorials/basic/PhotonPHSP .
    
    
-
[username@plus1 PhotonPHSFolder]$ mv PhotonPHS PhotonPHS_source
+
[username@plus1 PhotonPHSPFolder]$ mv PhotonPHS PhotonPHSP_source
</pre>
</pre>
-
; Inside /home/username/PhotonPHSFolder/ create a directory
+
; Inside /home/username/PhotonPHSPFolder/ create a directory
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
-
[username@plus1 PhotonPHSFolder]$ mkdir PhotonPHS_build  
+
[username@plus1 PhotonPHSPFolder]$ mkdir PhotonPHSP_build  
</pre>
</pre>
Line 42: Line 42:
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
-
[username@plus1 PhotonPHSFolder]$ cd PhotonPHS_build
+
[username@plus1 PhotonPHSPFolder]$ cd PhotonPHSP_build
-
[username@plus1 PhotonPHS_build]$ cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/PhotonPHSFolder/PhotonPHS_source
+
[username@plus1 PhotonPHSP_build]$ cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/PhotonPHSPFolder/PhotonPHSP_source
-
[username@plus1 PhotonPHS_build]$ make   
+
[username@plus1 PhotonPHSP_build]$ make   
</pre>
</pre>
Line 52: Line 52:
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
-
[username@plus1 PhotonPHS_build]$ ./photonPHS gamma.mac
+
[username@plus1 PhotonPHSP_build]$ ./photonPHSP gamma.mac
</pre>
</pre>
   
   

Latest revision as of 13:10, 11 September 2014

Personal tools