Monoenergetic photon pencil beam

From UCL HEP PBT Wiki

Jump to: navigation, search
m
Line 7: Line 7:
; Connect to HEP cluster and create folder PhotonPencilBeam in your area
; Connect to HEP cluster and create folder PhotonPencilBeam in your area
-
<blockquote>
+
<pre style="color: #800000; background-color: #dcdcdc">
-
<span style="color:#800000"> ssh username@plus1.hep.ucl.ac.uk </span> <br/>
+
ssh username@plus1.hep.ucl.ac.uk  
-
<span style="color:#800000"> cd /home/username/ </span> <br/>
+
 
-
<span style="color:#800000"> mkdir PhotonPencilBeam </span> <br/>
+
cd /home/username/  
-
<span style="color:#800000"> cd PhotonPencilBeam </span>  
+
 
-
</blockquote>
+
mkdir PhotonPencilBeam  
 +
 
 +
cd PhotonPencilBeam
 +
</pre>
 +
 
; Setup GEANT4 environment
; Setup GEANT4 environment
-
<blockquote>
+
<pre style="color: #800000; background-color: #dcdcdc">
-
<span style="color:#800000"> source bla.sh </span>
+
source bla.sh  
-
</blockquote>
+
</pre>
== <span style="color:#000080"> How to get the code </span> ==
== <span style="color:#000080"> How to get the code </span> ==
Line 24: Line 28:
; Copy the code to your area
; Copy the code to your area
-
<blockquote>
+
<pre style="color: #800000; background-color: #dcdcdc">
-
<span style="color:#800000"> cp -r /unix/pbt/tutorials/basic/PhotonPencilBeam_source /username/PhotonPencilBeam/ </span>
+
cp -r /unix/pbt/tutorials/basic/PhotonPencilBeam_source /username/PhotonPencilBeam/
-
</blockquote>
+
</pre>
== <span style="color:#000080"> How to run the code </span> ==  
== <span style="color:#000080"> How to run the code </span> ==  
Line 32: Line 36:
; Inside /username/PhotonPencilBeam/ create directory
; Inside /username/PhotonPencilBeam/ create directory
-
<blockquote>
+
<pre style="color: #800000; background-color: #dcdcdc">
-
<span style="color:#800000"> mkdir PhotonPencilBeam_build </span>
+
mkdir PhotonPencilBeam_build
-
</blockquote>
+
</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 PhotonPencilBeam tutorial
-
<blockquote>
+
<pre style="color: #800000; background-color: #dcdcdc">
-
<span style="color:#800000"> cd PhotonPencilBeam_build </span> <br/>
+
cd PhotonPencilBeam_build  
-
<span style="color:#800000"> cmake -DGeant4_DIR=/unix/pbt/Software/..../ /username/PhotonPencilBeam_source/ </span> <br/>
+
 
-
<span style="color:#800000"> make </span>  
+
cmake -DGeant4_DIR=/unix/pbt/Software/..../ /username/PhotonPencilBeam_source/  
-
</blockquote>
+
 
 +
make
 +
</pre>
 +
 
== <span style="color:#000080"> How to analyze data </span> ==
== <span style="color:#000080"> How to analyze data </span> ==

Revision as of 08:56, 10 July 2014

Personal tools