Monoenergetic photon pencil beam

From UCL HEP PBT Wiki

Jump to: navigation, search
m
Line 145: Line 145:
http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/PhotonPB/Edep_PhotonB.png  
http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/PhotonPB/Edep_PhotonB.png  
-
You can plot the dose deposition along the depth of the absorber ('''PlotDose.txt''') using macro '''PlotSimulation.C'''. This is the result:
+
You can plot the dose deposition along the depth of the absorber ('''PlotDose.txt''') using macro '''PlotSimulation.C'''.  
-
    
+
<pre style="color: #800000; background-color: #dcdcdc">
 +
root -l
 +
 
 +
root [0] .x PlotSimulation.C
 +
 
 +
</pre>
 +
 
 +
This will create '''Simulation.root'''. Open the root file:
 +
 
 +
<pre style="color: #800000; background-color: #dcdcdc">
 +
root -l Simulation.root
 +
 
 +
root [1] new TBrowser
 +
 
 +
Select ROOT files and Gamma.root
 +
</pre>
 +
 +
This is the result:
 +
 
 +
http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/PhotonPB/DoseDeposition.png    
=== <span style="color:#000080"> Changes in macro gamma.mac </span> ===
=== <span style="color:#000080"> Changes in macro gamma.mac </span> ===

Revision as of 16:02, 28 July 2014

Personal tools