Monoenergetic photon pencil beam
From UCL HEP PBT Wiki
m |
m |
||
Line 14: | Line 14: | ||
ssh -X username@plus1.hep.ucl.ac.uk | ssh -X username@plus1.hep.ucl.ac.uk | ||
- | password: type your password here | + | username@plus1.hep.ucl.ac.uk's password: type your password here |
+ | |||
+ | [username@plus1 ~]$ mkdir PhotonPBFolder | ||
- | + | [username@plus1 ~]$ cd PhotonPBFolder | |
- | + | ||
- | + | ||
- | + | ||
- | cd PhotonPBFolder | + | |
</pre> | </pre> | ||
Line 26: | Line 24: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | source /unix/pbt/software/dev/bin/pbt-dev.sh | + | [username@plus1 PhotonPBFolder]$ source /unix/pbt/software/dev/bin/pbt-dev.sh |
</pre> | </pre> | ||
Line 34: | Line 32: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | cp -r /unix/pbt/tutorials/basic/PhotonPB . | + | [username@plus1 PhotonPBFolder]$ cp -r /unix/pbt/tutorials/basic/PhotonPB . |
- | mv PhotonPB PhotonPB_source | + | [username@plus1 PhotonPBFolder]$ mv PhotonPB PhotonPB_source |
</pre> | </pre> | ||
Line 44: | Line 42: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | mkdir PhotonPB_build | + | [username@plus1 PhotonPBFolder]$ mkdir PhotonPB_build |
</pre> | </pre> | ||
Line 50: | Line 48: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | cd PhotonPB_build | + | [username@plus1 PhotonPBFolder]$ cd PhotonPB_build |
- | cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/PhotonPBFolder/PhotonPB_source | + | [username@plus1 PhotonPB_build]$ cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/PhotonPBFolder/PhotonPB_source |
- | make | + | [username@plus1 PhotonPB_build]$ make |
</pre> | </pre> | ||
Line 60: | Line 58: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | ./photonPB gamma.mac | + | [username@plus1 PhotonPB_build]$ ./photonPB gamma.mac |
</pre> | </pre> | ||