villaroulette.blogg.se

Logicbots guide 4.4 balancebeam
Logicbots guide 4.4 balancebeam









logicbots guide 4.4 balancebeam
  1. LOGICBOTS GUIDE 4.4 BALANCEBEAM CODE
  2. LOGICBOTS GUIDE 4.4 BALANCEBEAM PASSWORD

The file PlotDose.txt contains only depth vs dose for each layer. The file DoseFile.txt contains energy and dose deposition for every layer.

  • The data in files DoseFile.txt and PlotDose.txt was created using classes G4UserSteppingAction and G4UserRunAction.
  • The macro also produces several text files. The first histogram shows the energy deposition in water box along the beam line, the second histogram shows zoomed energy deposition around the peak. The macro produces a root file Proton.root with two histograms.

    logicbots guide 4.4 balancebeam

    LOGICBOTS GUIDE 4.4 BALANCEBEAM CODE

    Setup Your ProtonPBFolder]$ source /unix/pbt/software/scripts/pbt.shĬopy the Code to Your Working Directory and Rename ProtonPBFolder]$ cp -rv /unix/pbt/tutorials/basic/ProtonPB ProtonPBFolder]$ mv ProtonPB ProtonPB_sourceĬreate the Build ProtonPBFolder]$ mkdir ProtonPB_buildĬompile the Code with Make and ProtonPBFolder]$ cd ProtonPB_build]$ cmake -DGeant4_DIR=/unix/pbt/software/dev ProtonPB_build]$ make

    LOGICBOTS GUIDE 4.4 BALANCEBEAM PASSWORD

    Ssh -X password: type your password ~]$ mkdir ~]$ cd ProtonPBFolder The corresponding data files are available from. Protons are in blue, photons are in green.Īll the source files for the tutorial can be found in. The image shows the water box divided into slices using class G4PVReplica. There is an option to chose among several EM and the QGSP_BIC_EMY physics lists. The protons are generated using G4ParticleGun class. More information about the scoring meshes can be found here. The energy and the dose are scored using classes G4UserSteppingAction and G4UserRunAction.Īlternatively, the energy and the dose are scored using class G4ScoringManager by defining two scoring meshes in longitudinal and lateral direction of the beam. The slices are created using class G4PVReplica. The volume of the water cube is divided into slices perpendicular to the incident beam.Īt each slice the deposited dose and energy is computed. The beam hits the water cube surface and deposits a dose under the surface of the water. This example shows the dose distribution in water along the incident proton beam. 5 Comparison between data and simulation.4 Data from The Clatterbridge Cancer Centre.3.4.7 After modifications in proton.mac.3.4.3 Change the incident proton energy.

    logicbots guide 4.4 balancebeam

    3.4.1 Change dimensions of the water box.3.2.2 The energy deposition along the beam zoomed around the peak.3.2.1 The energy deposition along the beam in the absorber.2.5 Compile the Code with Make and Cmake.2.3 Copy the Code to Your Working Directory and Rename It.











    Logicbots guide 4.4 balancebeam