Proton beam with realistic geometry
From UCL HEP PBT Wiki
m |
m |
||
Line 172: | Line 172: | ||
http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonGB/BraggPeak_GBzoom.png | http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonGB/BraggPeak_GBzoom.png | ||
+ | |||
+ | 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 | ||
+ | |||
+ | .x PlotSimulation.C | ||
+ | </pre> | ||
+ | |||
+ | This will create root file with the following plot: | ||
+ | |||
+ | http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ProtonGB/Simulation.png | ||
=== <span style="color:#000080"> Changes in proton.mac </span> === | === <span style="color:#000080"> Changes in proton.mac </span> === |