Monoenergetic photon pencil beam
From UCL HEP PBT Wiki
m |
|||
Line 59: | Line 59: | ||
== <span style="color:#000080"> How to analyze data </span> == | == <span style="color:#000080"> How to analyze data </span> == | ||
- | The macro produces a root file with 1D histogram showing the energy deposition in | + | The macro produces a root file ""Gamma.root"" with 1D histogram showing the energy deposition in |
- | + | water box along the beam line. It also produces a text file ""DoseFile.txt"" with | |
energy and dose deposited at each slice of the water box. This is an example output | energy and dose deposited at each slice of the water box. This is an example output | ||
with the default settings: physics process emstandard_opt0 and incident gamma energy of 20 MeV. | with the default settings: physics process emstandard_opt0 and incident gamma energy of 20 MeV. | ||
Line 91: | Line 91: | ||
</pre> | </pre> | ||
- | + | You can open Gamma.root file in the following way: | |
- | + | ||
+ | <pre style="color: #800000; background-color: #dcdcdc"> | ||
+ | root -l Gamma.root | ||
+ | |||
+ | new TBrowser | ||
+ | </pre> | ||
+ | |||
+ | You should get this 1D histogram showing the energy deposition in water box: | ||
+ | |||
[[File:/pbt/RadiotherapyWorkbook/skins/common/images/PhotonPB/Edep.png|Energy deposit per event along the beam]] | [[File:/pbt/RadiotherapyWorkbook/skins/common/images/PhotonPB/Edep.png|Energy deposit per event along the beam]] | ||