Clatterbridge: Difference between revisions

From PBTWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(372 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Simulation of the Clatterbridge beamline ==


This simulation models the monoenergetic 62.5 MeV proton beam at Clatterbridge Cancer Centre, as it traverses the components of the beamline and is then deposited into a volume of water. The beamline components are contained within a geometry modelling the Clatterbridge treatment room.  
This simulation is a model of the monoenergetic 62.5 MeV proton beam at the [http://www.clatterbridgecc.nhs.uk/patients/treatment-and-support/proton-therapy Clatterbridge Cancer Centre] as it traverses the components of the beamline and finally hits a volume of water.  
 
The simulation was built using:
The protons are generated using the G4ParticleGun class, and the physics list used is QGSP_BIC_HP, standard for simulating clinical proton beams.
* [[/Geant4 | Geant4]]
 
** The simulation was built on the example in <code>examples/extended/electromagnetic/TestEm7</code> supplied with the Geant4 package and detailed [http://www.hep.ucl.ac.uk/pbt/wiki/Software/Geant4/Tutorials/Basic/Monoenergetic_Proton_Pencil_Beam here].
The energy of the beam after travelling through the beamline components is measured by tracking the energy deposition of individual protons within the water volume, using the G4Track class. This simulation produces a post-beamline energy of 60.08 MeV and a Bragg peak at depth [insert depth].
* [[/TOPAS | TOPAS]]
 
== Running the simulation ==
 
'''Run macro proton.mac'''
 
<pre>
[username@plus1 ProtonPB_build]$ ./protonPB proton.mac
</pre>
 
== Data Analysis ==
 
The simulation code and <code> proton.mac </code> produce several output files:
 
=== <code> hits.out </code> ===
 
This file contains information about the energy deposition in the water volume.
 
=== <code> kin.txt </code> ===
 
This text file contains the output information from <code> SteppingAction.cc </code>, printed on a step-by-step basis for each proton (event). The first column contains the <code> z </code> position of the particle, relative to the position of the source at the inner room boundary. The second column contains the energy (MeV) of the proton at this <code> z </code> position.
 
<pre>
300 62.3248
300 62.0776
300 62.2042
300 62.4347
300 62.2698
300 62.2164
</pre>
 
 
'''Open ROOT and run the simulation analysis file '''
 
<pre>
[username@plus1 ProtonPB_build]$ root -l
 
root [1] .x simulation_analysis.C
</pre>
 
== Changing parameters ==
 
=== Scoring mesh ===
 
'''Longitudinal scoring mesh'''
 
A longitudinal scoring mesh extends along the length of the beamline from the source to the water volume. The mesh utilises a filter to detect the flux of protons per cm<sup>2</sup> and writes the data to the text file <code> FluxLongitudinal.txt </code>. The location of the mesh centre can be changed in <code> proton.mac </code>, in addition to the dimensions of the mesh and the number of bins.
 
'''Lateral scoring mesh'''
 
A lateral scoring mesh
 
=== Initial beam parameters ===
 
Initial parameters of the proton beam can be modified in <code> proton.mac </code>
 
'''Beam radius'''
 
<pre>
/gps/pos/radius 3 mm
</pre>
 
'''Beam energy'''
 
This simulation models the proton beam source with a Gaussian distribution.
 
<pre>
/gps/ene/type Gauss
/gps/ene/mono 62.5 MeV
/gps/ene/sigma 0.082 MeV
</pre>
 
'''Source position'''
 
The proton source is positioned at <code> z = -420 cm </code> relative to the centre of the inner room (the mother volume), which translates as the wall surface of the inner room.
 
<pre>
/gps/pos/type Plane
/gps/pos/shape Circle
/gps/pos/centre 0.0 0.0 -420 cm
</pre>

Latest revision as of 07:46, 14 August 2020

This simulation is a model of the monoenergetic 62.5 MeV proton beam at the Clatterbridge Cancer Centre as it traverses the components of the beamline and finally hits a volume of water. The simulation was built using:

  • Geant4
    • The simulation was built on the example in examples/extended/electromagnetic/TestEm7 supplied with the Geant4 package and detailed here.
  • TOPAS