Monoenergetic proton pencil beam
From UCL HEP PBT Wiki
m |
m |
||
Line 164: | Line 164: | ||
root -l Proton.root | root -l Proton.root | ||
- | new TBrowser | + | root [1] new TBrowser |
Select ROOT Files and Proton.root | Select ROOT Files and Proton.root | ||
Line 178: | Line 178: | ||
You can use macro '''PlotSimulation.C''' to plot the dose deposition along the absorber. This macro uses '''PlotDose.txt'''. | You can use macro '''PlotSimulation.C''' to plot the dose deposition along the absorber. This macro uses '''PlotDose.txt'''. | ||
+ | Run the macro in the following way: | ||
+ | |||
+ | <pre style="color: #800000; background-color: #dcdcdc"> | ||
+ | root -l | ||
+ | |||
+ | root [0] .x PlotSimulation.C | ||
+ | </pre> | ||
+ | |||
+ | This will create root file with the following plot: | ||
http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonPB/Simulation.png | http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonPB/Simulation.png |