Monoenergetic photon pencil beam
From UCL HEP PBT Wiki
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 | ||
- | < | + | <pre style="color: #800000; background-color: #dcdcdc"> |
- | + | ssh username@plus1.hep.ucl.ac.uk | |
- | + | ||
- | + | cd /home/username/ | |
- | + | ||
- | + | mkdir PhotonPencilBeam | |
+ | |||
+ | cd PhotonPencilBeam | ||
+ | </pre> | ||
+ | |||
; Setup GEANT4 environment | ; Setup GEANT4 environment | ||
- | < | + | <pre style="color: #800000; background-color: #dcdcdc"> |
- | + | source bla.sh | |
- | </ | + | </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 | ||
- | < | + | <pre style="color: #800000; background-color: #dcdcdc"> |
- | + | cp -r /unix/pbt/tutorials/basic/PhotonPencilBeam_source /username/PhotonPencilBeam/ | |
- | </ | + | </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 | ||
- | < | + | <pre style="color: #800000; background-color: #dcdcdc"> |
- | + | mkdir PhotonPencilBeam_build | |
- | </ | + | </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 | ||
- | < | + | <pre style="color: #800000; background-color: #dcdcdc"> |
- | + | cd PhotonPencilBeam_build | |
- | + | ||
- | + | cmake -DGeant4_DIR=/unix/pbt/Software/..../ /username/PhotonPencilBeam_source/ | |
- | + | ||
+ | make | ||
+ | </pre> | ||
+ | |||
== <span style="color:#000080"> How to analyze data </span> == | == <span style="color:#000080"> How to analyze data </span> == |