Monoenergetic proton pencil beam
From UCL HEP PBT Wiki
m |
|||
Line 16: | Line 16: | ||
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 |
- | + | ||
- | + | ||
- | mkdir ProtonPBFolder | + | [username@plus1 ~]$ mkdir ProtonPBFolder |
- | cd ProtonPBFolder | + | [username@plus1 ~]$ cd ProtonPBFolder |
</pre> | </pre> | ||
Line 28: | Line 26: | ||
<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 ProtonPBFolder]$ source /unix/pbt/software/dev/bin/pbt-dev.sh |
</pre> | </pre> | ||
Line 36: | Line 34: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | cp -r /unix/pbt/tutorials/basic/ProtonPB . | + | [username@plus1 ProtonPBFolder]$ cp -r /unix/pbt/tutorials/basic/ProtonPB . |
- | mv ProtonPB ProtonPB_source | + | [username@plus1 ProtonPBFolder]$ mv ProtonPB ProtonPB_source |
</pre> | </pre> | ||
Line 46: | Line 44: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | mkdir ProtonPB_build | + | [username@plus1 ProtonPBFolder]$ mkdir ProtonPB_build |
</pre> | </pre> | ||
Line 52: | Line 50: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | cd ProtonPB_build | + | [username@plus1 ProtonPBFolder]$ cd ProtonPB_build |
- | cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/ProtonPBFolder/ProtonPB_source | + | [username@plus1 ProtonPB_build]$ cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/ProtonPBFolder/ProtonPB_source |
- | make | + | [username@plus1 ProtonPB_build]$ make |
</pre> | </pre> | ||
Line 62: | Line 60: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | ./protonPB proton.mac | + | [username@plus1 ProtonPB_build]$ ./protonPB proton.mac |
</pre> | </pre> | ||
Line 80: | Line 78: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | pico DoseFile.txt | + | [username@plus1 ProtonPB_build]$ pico DoseFile.txt |
</pre> | </pre> | ||
Line 211: | Line 209: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | root -l Proton.root | + | [username@plus1 ProtonPB_build]$ root -l Proton.root |
- | new TBrowser | + | root [1] new TBrowser |
Select ROOT Files and Proton.root | Select ROOT Files and Proton.root | ||
Line 242: | Line 240: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | root -l | + | [username@plus1 ProtonPB_build]$ root -l |
- | .x PlotSimulation.C | + | root [1] .x PlotSimulation.C |
</pre> | </pre> | ||
Line 255: | Line 253: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | cp /home/username/ProtonPBFolder/ProtonPB_source/RootScripts/PlotLateralDoseMesh.C . | + | [username@plus1 ProtonPB_build]$ cp /home/username/ProtonPBFolder/ProtonPB_source/RootScripts/PlotLateralDoseMesh.C . |
- | root -l | + | [username@plus1 ProtonPB_build]$ root -l |
- | .x PlotLateralDoseMesh.C | + | root [1] .x PlotLateralDoseMesh.C |
</pre> | </pre> | ||
Line 272: | Line 270: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | pico proton.mac | + | [username@plus1 ProtonPB_build]$ pico proton.mac |
</pre> | </pre> | ||
Line 433: | Line 431: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | ./protonPB proton.mac | + | [username@plus1 ProtonPB_build]$ ./protonPB proton.mac |
</pre> | </pre> | ||
Line 439: | Line 437: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | make | + | [username@plus1 ProtonPB_build]$ make |
</pre> | </pre> | ||
Line 452: | Line 450: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | ./protonPB proton.mac | + | [username@plus1 ProtonPB_build]$ ./protonPB proton.mac |
</pre> | </pre> | ||
Line 462: | Line 460: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | dawn g4_01.prim | + | [username@plus1 ProtonPB_build]$ dawn g4_01.prim |
</pre> | </pre> | ||
Line 486: | Line 484: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | cp /home/username/ProtonPBFolder/ProtonPB_source/RootScripts/PlotData.C . | + | [username@plus1 ProtonPB_build]$ cp /home/username/ProtonPBFolder/ProtonPB_source/RootScripts/PlotData.C . |
- | cp /home/username/ProtonPBFolder/ProtonPB_source/RootScripts/ClatterbridgeData.txt . | + | [username@plus1 ProtonPB_build]$ cp /home/username/ProtonPBFolder/ProtonPB_source/RootScripts/ClatterbridgeData.txt . |
- | root -l | + | [username@plus1 ProtonPB_build]$ root -l |
- | .x PlotData.C | + | root [1] .x PlotData.C |
</pre> | </pre> | ||
Line 505: | Line 503: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | cp /home/username/ProtonPBFolder/ProtonPB_source/RootScripts/PlotDataAndSim.C . | + | [username@plus1 ProtonPB_build]$ cp /home/username/ProtonPBFolder/ProtonPB_source/RootScripts/PlotDataAndSim.C . |
- | root -l | + | [username@plus1 ProtonPB_build]$ root -l |
- | .x PlotDataAndSim.C | + | root [1] .x PlotDataAndSim.C |
</pre> | </pre> | ||
Line 521: | Line 519: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | cp /home/username/ProtonPBFolder/ProtonPB_source/RootScripts/PlotDataAndSimMesh.C . | + | [username@plus1 ProtonPB_build]$ cp /home/username/ProtonPBFolder/ProtonPB_source/RootScripts/PlotDataAndSimMesh.C . |
- | root -l | + | [username@plus1 ProtonPB_build]$ root -l |
- | .x PlotDataAndSimMesh.C | + | root [1] .x PlotDataAndSimMesh.C |
</pre> | </pre> | ||