Monoenergetic photon pencil beam

From UCL HEP PBT Wiki

Jump to: navigation, search
Line 12: Line 12:
cd /home/username/  
cd /home/username/  
-
mkdir PhotonPencilBeam
+
mkdir PhotonPB
-
cd PhotonPencilBeam  
+
cd PhotonPB  
</pre>
</pre>
Line 21: Line 21:
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
-
source bla.sh
+
source
</pre>
</pre>
Line 29: Line 29:
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
-
cp -r /unix/pbt/tutorials/basic/PhotonPencilBeam_source /username/PhotonPencilBeam/   
+
cp -r /unix/pbt/tutorials/basic/PhotonPB /username/.../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 /username/PhotonPencilBeam/ create directory
+
; Inside /username/.../ create directory
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
-
mkdir PhotonPencilBeam_build  
+
mkdir PhotonPB_build  
</pre>
</pre>
-
; Change to this directory and run cmake and make to build the PhotonPencilBeam tutorial
+
; Change to this directory and run cmake and make to build the PhotonPB tutorial
<pre style="color: #800000; background-color: #dcdcdc">
<pre style="color: #800000; background-color: #dcdcdc">
-
cd PhotonPencilBeam_build
+
cd PhotonPB_build
-
cmake -DGeant4_DIR=/unix/pbt/Software/..../ /username/PhotonPencilBeam_source/  
+
cmake -DGeant4_DIR=/unix/pbt/software/dev /unix/pbt/tutorials/basic/PhotonPB_source
make   
make   

Revision as of 19:12, 15 July 2014

Personal tools