Monoenergetic photon pencil beam

From UCL HEP PBT Wiki

Jump to: navigation, search
m
m
Line 13: Line 13:
cd /home/username/  
cd /home/username/  
-
mkdir PhotonPB
+
mkdir PhotonPBFolder
cd PhotonPB   
cd PhotonPB   
Line 27: Line 27:
== <span style="color:#000080"> How to get the code </span> ==
== <span style="color:#000080"> How to get the code </span> ==
-
; Copy the code to your working directory
+
; Copy the code to your working directory and rename the folder
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
-
cp -r /unix/pbt/tutorials/basic/PhotonPB /home/username/PhotonPB/PhotonPB_source
+
cp -r /unix/pbt/tutorials/basic/PhotonPB
 +
mv PhotonPB PhotonPB_source
</pre>
</pre>
== <span style="color:#000080"> How to run the code </span> ==  
== <span style="color:#000080"> How to run the code </span> ==  
-
; Inside /home/username/PhotonPB/ create a directory
+
; Inside /home/username/PhotonPBFolder/ create a directory
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
Line 46: Line 47:
cd PhotonPB_build  
cd PhotonPB_build  
-
cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/PhotonPB/PhotonPB_source  
+
cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/PhotonPBFolder/PhotonPB_source  
make   
make   

Revision as of 11:23, 16 July 2014

Personal tools