<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Phys.</journal-id>
<journal-title>Frontiers in Physics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Phys.</abbrev-journal-title>
<issn pub-type="epub">2296-424X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">741453</article-id>
<article-id pub-id-type="doi">10.3389/fphy.2021.741453</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Physics</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Development and Benchmarking of a Monte Carlo Dose Engine for Proton Radiation Therapy</article-title>
<alt-title alt-title-type="left-running-head">Lysakovski et&#x20;al.</alt-title>
<alt-title alt-title-type="right-running-head">MonteRay for Proton Radiotherapy</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Lysakovski</surname>
<given-names>Peter</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1329814/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Ferrari</surname>
<given-names>Alfredo</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Tessonnier</surname>
<given-names>Thomas</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/207126/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Besuglow</surname>
<given-names>Judith</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<xref ref-type="aff" rid="aff4">
<sup>4</sup>
</xref>
<xref ref-type="aff" rid="aff5">
<sup>5</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1134218/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Kopp</surname>
<given-names>Benedikt</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Mein</surname>
<given-names>Stewart</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<xref ref-type="aff" rid="aff4">
<sup>4</sup>
</xref>
<xref ref-type="aff" rid="aff5">
<sup>5</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Haberer</surname>
<given-names>Thomas</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/540902/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Debus</surname>
<given-names>J&#xfc;rgen</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff5">
<sup>5</sup>
</xref>
<xref ref-type="aff" rid="aff6">
<sup>6</sup>
</xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Mairani</surname>
<given-names>Andrea</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff7">
<sup>7</sup>
</xref>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<xref ref-type="aff" rid="aff8">
<sup>8</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1388282/overview"/>
</contrib>
</contrib-group>
<aff id="aff1">
<label>
<sup>1</sup>
</label>Department of Radiation Oncology, Heidelberg Ion Beam Therapy Center (HIT), Heidelberg University Hospital, <addr-line>Heidelberg</addr-line>, <country>Germany</country>
</aff>
<aff id="aff2">
<label>
<sup>2</sup>
</label>Faculty of Physics and Astronomy, Heidelberg University, <addr-line>Heidelberg</addr-line>, <country>Germany</country>
</aff>
<aff id="aff3">
<label>
<sup>3</sup>
</label>Clinical Cooperation Unit Translational Radiation Oncology, German Cancer Consortium (DKTK) Core-Center Heidelberg, National Center for Tumor Diseases (NCT), Heidelberg University Hospital (UKHD) and German Cancer Research Center (DKFZ), <addr-line>Heidelberg</addr-line>, <country>Germany</country>
</aff>
<aff id="aff4">
<label>
<sup>4</sup>
</label>Division of Molecular and Translational Radiation Oncology, Heidelberg Faculty of Medicine (MFHD) and Heidelberg University Hospital (UKHD), <addr-line>Heidelberg</addr-line>, <country>Germany</country>
</aff>
<aff id="aff5">
<label>
<sup>5</sup>
</label>Heidelberg Faculty of Medicine (MFHD) and German Cancer Research Center (DKFZ), Heidelberg Institute of Radiation Oncology (HIRO), National Center for Radiation Oncology (NCRO), Heidelberg University Hospital (UKHD), <addr-line>Heidelberg</addr-line>, <country>Germany</country>
</aff>
<aff id="aff6">
<label>
<sup>6</sup>
</label>Clinical Cooperation Unit Radiation Oncology, German Cancer Consortium (DKTK) Core-Center Heidelberg, National Center for Tumor Diseases (NCT), Heidelberg University Hospital (UKHD) and German Cancer Research Center (DKFZ), <addr-line>Heidelberg</addr-line>, <country>Germany</country>
</aff>
<aff id="aff7">
<label>
<sup>7</sup>
</label>Medical Physics, National Centre of Oncological Hadrontherapy (CNAO), <addr-line>Pavia</addr-line>, <country>Italy</country>
</aff>
<aff id="aff8">
<label>
<sup>8</sup>
</label>Medical Faculty, Heidelberg University, <addr-line>Heidelberg</addr-line>, <country>Germany</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/952595/overview">Miguel Antonio Cort&#xe9;s-Giraldo</ext-link>, Sevilla University, Spain</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1464961/overview">Adam Aitkenhead</ext-link>, The Christie National Health Service Foundation Trust, United&#x20;Kingdom</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1323817/overview">Matteo Duranti</ext-link>, Istituto Nazionale di Fisica Nucleare di Perugia, Italy</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Andrea Mairani, <email>Andrea.Mairani@med.uni-heidelberg.de</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Radiation Detectors and Imaging, a section of the journal Frontiers in Physics</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>03</day>
<month>11</month>
<year>2021</year>
</pub-date>
<pub-date pub-type="collection">
<year>2021</year>
</pub-date>
<volume>9</volume>
<elocation-id>741453</elocation-id>
<history>
<date date-type="received">
<day>14</day>
<month>07</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>15</day>
<month>10</month>
<year>2021</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2021 Lysakovski, Ferrari, Tessonnier, Besuglow, Kopp, Mein, Haberer, Debus and Mairani.</copyright-statement>
<copyright-year>2021</copyright-year>
<copyright-holder>Lysakovski, Ferrari, Tessonnier, Besuglow, Kopp, Mein, Haberer, Debus and Mairani</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these&#x20;terms.</p>
</license>
</permissions>
<abstract>
<p>Dose calculation algorithms based on Monte Carlo (MC) simulations play a crucial role in radiotherapy. Here, the development and benchmarking of a novel MC dose engine, MonteRay, is presented for proton therapy aiming to support clinical activity at the Heidelberg Ion Beam Therapy center (HIT) and the development of MRI (magnetic resonance imaging)-guided particle therapy. Comparisons against dosimetric data and gold standard MC FLUKA calculations at different levels of complexity, ranging from single pencil beams in water to patient plans, showed high levels of agreement, validating the physical approach implemented in the dose engine. Additionally, MonteRay has been found to match satisfactorily to FLUKA dose predictions in magnetic fields both in homogeneous and heterogeneous scenarios advocating its use for future MRI-guided proton therapy applications. Benchmarked on 150&#xa0;MeV protons transported on a 2&#x20;&#xd7; 2&#x20;&#xd7; 2&#xa0;mm<sup>3</sup> grid, MonteRay achieved a high computational throughput and was able to simulate the histories of more than 30,000 primary protons per second on a single CPU&#x20;core.</p>
</abstract>
<kwd-group>
<kwd>Monte Carlo (MC)</kwd>
<kwd>dose calculation</kwd>
<kwd>radiotherapy</kwd>
<kwd>magnetic field</kwd>
<kwd>proton</kwd>
</kwd-group>
<contract-num rid="cn001">13GW0436A</contract-num>
<contract-sponsor id="cn001">Bundesministerium f&#xfc;r Bildung und Forschung<named-content content-type="fundref-id">10.13039/501100002347</named-content>
</contract-sponsor>
</article-meta>
</front>
<body>
<sec id="s1">
<title>Introduction</title>
<p>Image guided radiotherapy is at the forefront of innovative treatment delivery techniques. It has&#x20;the potential to improve treatment efficacy via on-board imaging procedures such as adaptive&#x20;planning and/or live monitoring, for instance via magnetic resonance (MR)-guided&#x20;radiation therapy (MRgRT) [<xref ref-type="bibr" rid="B1">1</xref>, <xref ref-type="bibr" rid="B2">2</xref>]. Over the last decade, clinical prototypes have combined low-field-strength MR and radioactive cobalt-60 sources for photon treatment, followed by linear accelerators and higher field-strength MR fields for improved image resolution [<xref ref-type="bibr" rid="B3">3</xref>&#x2013;<xref ref-type="bibr" rid="B5">5</xref>].</p>
<p>Particle therapy (PT), a cancer treatment modality achieving superior dose conformity to solid tumours compared to conventional photon techniques [<xref ref-type="bibr" rid="B6">6</xref>, <xref ref-type="bibr" rid="B7">7</xref>], would greatly benefit from on-board MR-guided treatment delivery [<xref ref-type="bibr" rid="B8">8</xref>]. For instance, at the Heidelberg Ion Beam Therapy Center (HIT) over 5,000 patients have been treated with proton and carbon ions since 2009 [<xref ref-type="bibr" rid="B9">9</xref>]. While <sup>16</sup>O ions have so far only been used for research purposes, HIT has treated the first patient with raster scanning <sup>4</sup>He ion beams in July&#x20;2021.</p>
<p>For all clinically administered ion beams, on-board MR-guided treatment delivery is currently not feasible. However, system developments for treatment planning and delivery of MR-guided particle therapy are underway at HIT. Here, we begin with considerations in dose calculation for MR-guided particle therapy. During MRgRT using photons, for example, the MR field (due to Lorentz forces) can impact the dose deposition of ionized electrons/delta-rays, with severity depending on patient anatomy and MR field strength [<xref ref-type="bibr" rid="B10">10</xref>, <xref ref-type="bibr" rid="B11">11</xref>]. Hence, dose calculation corrections are introduced in clinical practice for improving accuracy [<xref ref-type="bibr" rid="B12">12</xref>]. Similarly, trajectories of fast charged particles like protons are altered by the MR field [<xref ref-type="bibr" rid="B13">13</xref>&#x2013;<xref ref-type="bibr" rid="B15">15</xref>] and consequently, proper consideration must be given for accurate dose calculation.</p>
<p>With the aim of providing dose computations at various levels of accuracy and speed for current and future treatment in particle therapy with light and heavy ions, various systems have been introduced at HIT to support clinical deployment of PT. Initially, as a gold standard, a MC environment based on the MC code FLUKA [<xref ref-type="bibr" rid="B16">16</xref>, <xref ref-type="bibr" rid="B17">17</xref>] has been developed and extensively benchmarked [<xref ref-type="bibr" rid="B18">18</xref>] for allowing database generation for clinical analytical treatment planning system (TPS) and patient recalculations. This framework required long computation times (hours to days depending on the number of CPUs available) which limited its usage in the analysis of large patient cohorts and for any adaptive/on-line planning.</p>
<p>In order to overcome these limitations, FRoG (Fast dose&#x2a; Recalculation on GPU) has been introduced, an advanced analytical code capable of calculating dose, LET<sub>d</sub> (dose-weighted Linear Energy Transfer) and biological dose for the four particle beams available at HIT [<xref ref-type="bibr" rid="B19">19</xref>&#x2013;<xref ref-type="bibr" rid="B21">21</xref>] and which is in use at other PT facilities in Europe (Centro Nazionale di Adroterapia Oncologica [<xref ref-type="bibr" rid="B21">21</xref>], Danish Centre for Particle Therapy [<xref ref-type="bibr" rid="B22">22</xref>]. High levels of agreement within 1&#x2013;2% [<xref ref-type="bibr" rid="B19">19</xref>, <xref ref-type="bibr" rid="B21">21</xref>, <xref ref-type="bibr" rid="B23">23</xref>] were found comparing FLUKA and FRoG recalculated dose-volume-histograms (DVH) of proton and other light ion patient plans even for complex cases such as lung irradiation [<xref ref-type="bibr" rid="B23">23</xref>]. However, analytical codes are usually designed for a specific task, making the introduction of new features such as MR-guidance [<xref ref-type="bibr" rid="B14">14</xref>, <xref ref-type="bibr" rid="B24">24</xref>], positron emission tomography [<xref ref-type="bibr" rid="B25">25</xref>, <xref ref-type="bibr" rid="B26">26</xref>] and prompt gammas [<xref ref-type="bibr" rid="B27">27</xref>] require large development effort and substantial changes in the physics engine. Fast MC engines have been introduced for proton beams [<xref ref-type="bibr" rid="B28">28</xref>&#x2013;<xref ref-type="bibr" rid="B33">33</xref>] and helped streamline the development while reaching various levels of agreement when compared against gold standard MC codes such as FLUKA and TOPAS/Geant&#x20;[<xref ref-type="bibr" rid="B34">34</xref>].</p>
<p>Several recent works have investigated the impact of MR-guidance on particle beam physics and modelling distortion due to the Lorentz force [<xref ref-type="bibr" rid="B13">13</xref>, <xref ref-type="bibr" rid="B35">35</xref>&#x2013;<xref ref-type="bibr" rid="B38">38</xref>]. Despite these characterizations however, no fast MC engine has been presented in literature which is able to perform clinically relevant particle therapy calculations in magnetic fields. In this work, a CPU-based fast MC dose engine for proton beams (MonteRay) was developed and benchmarked for supporting ongoing clinical activity and introducing novel treatment modalities, particularly within the MRI-guided particle therapy program at&#x20;HIT.</p>
</sec>
<sec sec-type="materials|methods" id="s2">
<title>Materials and Methods</title>
<sec id="s2-1">
<title>Programming Languages and Libraries</title>
<p>With performance and extensibility to GPUs in mind, the MonteRay MC engine was written in C&#x2b;&#x2b;. Several external libraries were used either during development or execution of the MC code. The frameworks GoogleTest [<xref ref-type="bibr" rid="B39">39</xref>] and Benchmark [<xref ref-type="bibr" rid="B40">40</xref>] are used for testing and microbenchmarking the source code. The Boost library [<xref ref-type="bibr" rid="B41">41</xref>] is used for filesystem operations and parsing of configuration files. RapidXml [<xref ref-type="bibr" rid="B42">42</xref>] is used for reading of irradiation plans in XML format. ITK [<xref ref-type="bibr" rid="B43">43</xref>] and DCMTK [<xref ref-type="bibr" rid="B44">44</xref>] are used for reading CT images. FLUKA simulations were performed using FLUKA version 2020&#x20;0.6.</p>
</sec>
<sec id="s2-2">
<title>Geometry and Materials</title>
<p>Voxelized water phantom and patient geometries are implemented from computed tomography (CT) scans using the approach described in [<xref ref-type="bibr" rid="B45">45</xref>, <xref ref-type="bibr" rid="B46">46</xref>], i.e. the Hounsfield Unit (HU) of each voxel is converted to a water equivalent path length, density and elemental composition. In total, 36 different materials, covering an HU range between -1000 HU and 3070 HU are used. HU values larger than 3070 are assumed to be metallic implants made from titanium. Each material is modeled as a combination of up to ten elements. Additionally, five extra materials (water, RW3, PMMA, air and carbon fiber) can be defined by the user for dosimetric studies. For the calculation of nuclear interactions, only the most abundant isotope of each element is considered: <sup>1</sup>H, <sup>12</sup>C, <sup>14</sup>N, <sup>16</sup>O, <sup>23</sup>Na, <sup>24</sup>Mg, <sup>31</sup>P, <sup>32</sup>S, <sup>35</sup>Cl,<sup>40</sup>Ar, <sup>39</sup>K, <sup>40</sup>Ca and <sup>48</sup>Ti. However, just H, C, O and Ca already constitute more than 90% of a human&#x2019;s weight [<xref ref-type="bibr" rid="B47">47</xref>]. Including more materials in MonteRay is trivial if they consist only of the ten base elements already defined. Adding additional elements requires the generation of additional inelastic nuclear interaction databases (<xref ref-type="sec" rid="s2-6-2">
<italic>Inelastic Nuclear Interactions</italic>
</xref>).</p>
</sec>
<sec id="s2-3">
<title>Handling the HIT-specific Beamline</title>
<p>The HIT beamline consists of various layers of different materials, including tungsten [<xref ref-type="bibr" rid="B48">48</xref>], with which the particle beam interacts before reaching the patient, resulting in a unique phase-space of particles. To avoid modelling and simulating the whole beamline in MonteRay, the approach described in [<xref ref-type="bibr" rid="B49">49</xref>] was used, i.e.,&#x20;sampling from a phase-space for each of the 255&#x20;quasi-monoenergetic proton beams available at the HIT facility. Each file contains the location, direction and energy of 10&#xa0;million particles sampled on a plane perpendicular to the beam&#x2019;s direction before the patient&#x2019;s entrance. The phase space was generated using FLUKA and besides primary protons, secondary protons generated due to the primary particle&#x2019;s interactions with the beamline are also considered. For now, however, all other secondary particles (deuterons, tritons, <sup>3</sup>He, <sup>4</sup>He and neutrons) are neglected. During simulation, our MC code randomly samples individual particles from these phase space&#x20;files.</p>
</sec>
<sec id="s2-4">
<title>Transport</title>
<p>For the simulation of proton beams, MonteRay performs the transport of protons, deuterons, tritons, 3-Helium and 4-Helium. Of these particles, only protons undergo elastic and <xref ref-type="sec" rid="s2-6-2">
<italic>Inelastic Nuclear Interactions</italic>
</xref> as described in <xref ref-type="sec" rid="s2-6">
<italic>Nuclear Interactions</italic>
</xref>. All transported particles experience energy loss and scattering through electromagnetic interactions as described in <xref ref-type="sec" rid="s2-5">
<italic>Electromagnetic Interactions</italic>
</xref>.</p>
<p>Energy is deposited either on a Cartesian or a cylindrical grid. Energy depositions from heavy nuclear recoils are recorded locally while energy lost through electromagnetic interactions are deposited along a track via the method described in [<xref ref-type="bibr" rid="B50">50</xref>]: given the particle&#x2019;s location at the beginning of the transport step <inline-formula id="inf1">
<mml:math id="m1">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> and its position at the end of the transport step <inline-formula id="inf2">
<mml:math id="m2">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">f</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>, the point of energy deposition is chosen randomly <italic>via</italic>
<disp-formula id="e1">
<mml:math id="m3">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">dep</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="bold-italic">U</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">f</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">U</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>where <inline-formula id="inf3">
<mml:math id="m4">
<mml:mi mathvariant="bold-italic">U</mml:mi>
</mml:math>
</inline-formula> is a random number uniformly distributed on the interval <inline-formula id="inf4">
<mml:math id="m5">
<mml:mrow>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mn>0,1</mml:mn>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. This is an efficient method of avoiding aliasing effects due to floating-point inaccuracies at grid boundaries and mismatches between the CT and the scoring grid. To avoid discontinuities in the deposited dose, the particles are transported on a grid with spacing equal to or less than the requested scoring grids spacing. If a CT is loaded, this will be the CT grid. All simulations shown here, unless otherwise noted, were performed on a 1&#x20;&#xd7; 1&#x20;&#xd7; 1&#xa0;mm<sup>3</sup> Cartesian grid. At the beginning of each step, the distance to the next voxel&#x2019;s boundary <inline-formula id="inf5">
<mml:math id="m6">
<mml:mrow>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">vox</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is calculated and the distance to the next nuclear interaction <inline-formula id="inf6">
<mml:math id="m7">
<mml:mrow>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">nuc</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is sampled based on the total nuclear cross section introduced in <xref ref-type="sec" rid="s2-6">
<italic>Nuclear Interactions</italic>
</xref>. The smaller of these two values is chosen as the current iteration&#x2019;s step length <inline-formula id="inf7">
<mml:math id="m8">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dx</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, i.e.<disp-formula id="e2">
<mml:math id="m9">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dx</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold-italic">min</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">vox</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">nuc</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>The energy loss over the distance <inline-formula id="inf8">
<mml:math id="m10">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dx&#xa0;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is calculated and the scattering angle is sampled after the approaches described in <xref ref-type="sec" rid="s2-5">
<italic>Electromagnetic Interactions</italic>
</xref>. In the presence of a magnetic field <inline-formula id="inf9">
<mml:math id="m11">
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">B</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>, an additional deflection <inline-formula id="inf10">
<mml:math id="m12">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x394;</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mi mathvariant="bold-italic">m</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> due to the Lorentz force is calculated after [<xref ref-type="bibr" rid="B51">51</xref>] using<disp-formula id="e3">
<mml:math id="m13">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x394;</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mi mathvariant="bold-italic">m</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">B</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">z</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">c</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">dx</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3b3;</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3b2;</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>where <inline-formula id="inf11">
<mml:math id="m14">
<mml:mi mathvariant="bold-italic">m</mml:mi>
</mml:math>
</inline-formula> is the particle&#x2019;s rest mass, <inline-formula id="inf12">
<mml:math id="m15">
<mml:mi>z</mml:mi>
</mml:math>
</inline-formula> is the particle&#x2019;s charge in units of the elementary charge, <inline-formula id="inf13">
<mml:math id="m16">
<mml:mi mathvariant="bold-italic">&#x3b2;</mml:mi>
</mml:math>
</inline-formula> is its velocity relative to the speed of light <inline-formula id="inf14">
<mml:math id="m17">
<mml:mi mathvariant="bold-italic">c</mml:mi>
</mml:math>
</inline-formula>, <inline-formula id="inf15">
<mml:math id="m18">
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> is its normalized direction and <inline-formula id="inf16">
<mml:math id="m19">
<mml:mi mathvariant="bold-italic">&#x3b3;</mml:mi>
</mml:math>
</inline-formula> is the Lorentz factor.</p>
<p>After updating the particle&#x2019;s position, energy and direction, if a nuclear interaction occurred, the type of nuclear interaction is determined, and the nuclear interaction performed as will be described in <xref ref-type="sec" rid="s2-6">
<italic>Nuclear Interactions</italic>
</xref>. The transport step is repeated until the particle&#x2019;s energy falls below a threshold of 1&#xa0;MeV. The remaining energy is deposited in a single step. During transport, only protons undergo nuclear interactions. For all other particles, only electromagnetic energy losses are considered.</p>
<p>Angular deflections due to nuclear or electromagnetic interactions, expressed through a polar angle <inline-formula id="inf17">
<mml:math id="m20">
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
</mml:math>
</inline-formula> and an azimuthal angle <inline-formula id="inf18">
<mml:math id="m21">
<mml:mi mathvariant="bold-italic">&#x3d5;</mml:mi>
</mml:math>
</inline-formula>, are applied to the particle&#x2019;s initial direction <inline-formula id="inf19">
<mml:math id="m22">
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> to obtain the particle&#x2019;s final direction <inline-formula id="inf20">
<mml:math id="m23">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">u&#x2032;</mml:mi>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> <italic>via</italic>:<disp-formula id="e4">
<mml:math id="m24">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">u&#x2032;</mml:mi>
</mml:mrow>
<mml:mo stretchy="true">&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">sin</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">cos</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">w</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">sin</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">sin</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">cos</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>where the vectors <inline-formula id="inf21">
<mml:math id="m25">
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf22">
<mml:math id="m26">
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">w</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> are chosen such that together with <inline-formula id="inf23">
<mml:math id="m27">
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>, they form an orthonormal basis. Since all physical interactions considered in the simulation are independent of <inline-formula id="inf24">
<mml:math id="m28">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3d5;</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> any orthonormal basis can be used for this purpose. To find <inline-formula id="inf25">
<mml:math id="m29">
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>, a run-time efficient algorithm described in [<xref ref-type="bibr" rid="B52">52</xref>] is used. The last constituent of the orthonormal basis is then computed using the cross product <inline-formula id="inf26">
<mml:math id="m30">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">w</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">v</mml:mi>
<mml:mo>&#x2192;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</sec>
<sec id="s2-5">
<title>Electromagnetic Interactions</title>
<p>Interactions with electrons cause charged particles to continuously lose energy while travelling through matter. The mean energy loss per unit distance due to this process is called the stopping power <inline-formula id="inf27">
<mml:math id="m31">
<mml:mi mathvariant="bold-italic">S</mml:mi>
</mml:math>
</inline-formula>, which is a function of energy and dependent on the projectile&#x2019;s mass and charge [<xref ref-type="bibr" rid="B53">53</xref>, <xref ref-type="bibr" rid="B54">54</xref>]. FLUKA was used to tabulate the energy loss of the transported particles in water from 0.1&#xa0;MeV/&#xa0;u to 1,000&#xa0;MeV/&#xa0;u with 2000 linearly spaced intervals. To obtain the stopping power in materials other than water, the stopping power table for water was multiplied by a factor dependent on the materials HU value [<xref ref-type="bibr" rid="B45">45</xref>]. Since the step size <inline-formula id="inf28">
<mml:math id="m32">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dx</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is fixed at the beginning of each transport step, the mean energy loss <inline-formula id="inf29">
<mml:math id="m33">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dE</mml:mi>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> that the particle experiences during the step must be calculated. This problem is equivalent to solving the following equation:<disp-formula id="e5">
<mml:math id="m34">
<mml:mrow>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">dx</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x222b;</mml:mo>
</mml:mstyle>
<mml:mn>0</mml:mn>
<mml:mrow>
<mml:mi mathvariant="bold-italic">dx</mml:mi>
</mml:mrow>
</mml:munderover>
<mml:mi mathvariant="bold-italic">S</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold-italic">y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mi mathvariant="bold-italic">dy</mml:mi>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>where <inline-formula id="inf30">
<mml:math id="m35">
<mml:mrow>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the particles energy after having travelled a distance <inline-formula id="inf31">
<mml:math id="m36">
<mml:mi mathvariant="bold-italic">x</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf32">
<mml:math id="m37">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the particle&#x2019;s energy at the beginning of the step. While this equation is in principle solvable under the assumption that <inline-formula id="inf33">
<mml:math id="m38">
<mml:mi mathvariant="bold-italic">S</mml:mi>
</mml:math>
</inline-formula> is linear along the step, a numerical approximation was used instead. This approximation is based on the following recurrence relation:<disp-formula id="e6">
<mml:math id="m39">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold">d</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold">E</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold">dx</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold">S</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">E</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>
<disp-formula id="e7">
<mml:math id="m40">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold">d</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold">E</mml:mi>
<mml:mi mathvariant="bold">n</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold">dx</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold">S</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">E</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold">d</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold">E</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold">n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:mfrac>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>This recurrence relation is evaluated up to a depth of n &#x3d; 3 to arrive at an accurate estimate of <inline-formula id="inf34">
<mml:math id="m41">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dE</mml:mi>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<p>Scattering is a statistical process, so the stopping power only describes the mean energy loss per unit distance traveled. Theoretical treatments of this process have for example been done in [<xref ref-type="bibr" rid="B55">55</xref>, <xref ref-type="bibr" rid="B56">56</xref>]. The distributions derived therein are complex and their sampling costly. But in the limit were <inline-formula id="inf35">
<mml:math id="m42">
<mml:mrow>
<mml:mi mathvariant="bold">dx</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is large, the energy loss is approximately distributed normally around <inline-formula id="inf36">
<mml:math id="m43">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dE</mml:mi>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>. If <inline-formula id="inf37">
<mml:math id="m44">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dx</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is small on the other hand, the Gaussian approximation is inadequate and the distribution is skewed towards high energy losses [<xref ref-type="bibr" rid="B54">54</xref>]. Whether a Gaussian approximation is appropriate can be judged through the parameter <inline-formula id="inf38">
<mml:math id="m45">
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
</mml:math>
</inline-formula> given by<disp-formula id="e8">
<mml:math id="m46">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">T</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">max</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>where <inline-formula id="inf39">
<mml:math id="m47">
<mml:mi mathvariant="bold">&#x3be;</mml:mi>
</mml:math>
</inline-formula> is given by<disp-formula id="e9">
<mml:math id="m48">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi mathvariant="bold-italic">&#x3c0;</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:mi mathvariant="bold-italic">a</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mi mathvariant="bold-italic">e</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mi mathvariant="bold-italic">e</mml:mi>
</mml:msub>
<mml:mi mathvariant="bold-italic">&#x3c1;</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">dx</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">q</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">e</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mfrac>
<mml:mi mathvariant="bold-italic">Z</mml:mi>
<mml:mi mathvariant="bold-italic">A</mml:mi>
</mml:mfrac>
<mml:mo>&#x22c5;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">&#x3b2;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>and <inline-formula id="inf40">
<mml:math id="m49">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">T</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">max</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is given by<disp-formula id="e10">
<mml:math id="m50">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">T</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold">max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi mathvariant="bold">m</mml:mi>
<mml:mi mathvariant="bold">e</mml:mi>
</mml:msub>
<mml:msup>
<mml:mi mathvariant="bold">&#x3b2;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:msup>
<mml:mi mathvariant="bold">&#x3b3;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mi mathvariant="bold">&#x3b3;</mml:mi>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">m</mml:mi>
<mml:mi mathvariant="bold">e</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mi mathvariant="bold">m</mml:mi>
</mml:mfrac>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold">m</mml:mi>
<mml:mi mathvariant="bold">e</mml:mi>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold">m</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>where <inline-formula id="inf41">
<mml:math id="m51">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:mi mathvariant="bold-italic">a</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is Avogadro&#x2019;s number, <inline-formula id="inf42">
<mml:math id="m52">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mi mathvariant="bold-italic">e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the electron&#x2019;s mass, <inline-formula id="inf43">
<mml:math id="m53">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mi mathvariant="bold-italic">e</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the classical electrons radius, <inline-formula id="inf44">
<mml:math id="m54">
<mml:mi mathvariant="bold-italic">q</mml:mi>
</mml:math>
</inline-formula> is the particles charge in Coulomb, <inline-formula id="inf45">
<mml:math id="m55">
<mml:mrow>
<mml:mi mathvariant="bold-italic">Z</mml:mi>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is the target&#x2019;s atomic charge and <inline-formula id="inf46">
<mml:math id="m56">
<mml:mi mathvariant="bold-italic">A</mml:mi>
</mml:math>
</inline-formula> is the target&#x2019;s atomic number. Following [<xref ref-type="bibr" rid="B57">57</xref>], the energy loss distribution is approximated through a normal distribution if <inline-formula id="inf47">
<mml:math id="m57">
<mml:mrow>
<mml:mi mathvariant="bold">&#x3ba;</mml:mi>
<mml:mo>&#x2265;</mml:mo>
<mml:mn>10</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> and a log-normal distribution if <inline-formula id="inf48">
<mml:math id="m58">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>10</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>. The normal distribution has mean <inline-formula id="inf49">
<mml:math id="m59">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dE</mml:mi>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> and standard deviation <inline-formula id="inf50">
<mml:math id="m60">
<mml:mi mathvariant="bold">&#x3c3;</mml:mi>
</mml:math>
</inline-formula> as given for example in [<xref ref-type="bibr" rid="B53">53</xref>]:<disp-formula id="e11">
<mml:math id="m61">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">T</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>0.5</mml:mn>
<mml:msup>
<mml:mi mathvariant="bold-italic">&#x3b2;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>
</p>
<p>The log-normal distribution&#x2019;s parameters are determined through a fit, matching the first four moments of the Vavilov distribution [<xref ref-type="bibr" rid="B57">57</xref>]. For very small <inline-formula id="inf51">
<mml:math id="m62">
<mml:mrow>
<mml:mi mathvariant="bold">&#x3ba;</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>0.3</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> [<xref ref-type="bibr" rid="B57">57</xref>], propose the use of a different distribution, but with step sizes of 1&#xa0;mm it was found that adequate agreement can be achieved by sampling from a log-normal distribution even when <inline-formula id="inf52">
<mml:math id="m63">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3ba;</mml:mi>
<mml:mo>&#x3c;</mml:mo>
<mml:mn>0.3</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>. During the simulations, care had to be taken here since occasionally, especially for very low-density materials like air, the energy loss sampled according to the log-normal approximation could become negative. In this case the approximation <inline-formula id="inf53">
<mml:math id="m64">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dE</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dE</mml:mi>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> was&#x20;used.</p>
<p>Besides inelastic collisions with atomic electrons, charged particles also undergo elastic collisions with atomic nuclei. These interactions do not contribute to the particle&#x2019;s energy loss but deflect the particle. This too, is a statistical process. Commonly, MC simulations base their scattering model on Moliere&#x2019;s theoretical treatment [<xref ref-type="bibr" rid="B58">58</xref>]. The formula derived by Moliere is a series of functions<disp-formula id="e12">
<mml:math id="m65">
<mml:mrow>
<mml:mi mathvariant="bold-italic">f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3d1;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:munder>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3d1;</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">f</mml:mi>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3d1;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">B</mml:mi>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(12)</label>
</disp-formula>where the reduced angle <inline-formula id="inf54">
<mml:math id="m66">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3d1;</mml:mi>
<mml:mo>&#xa0;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is related to the polar scattering angle <inline-formula id="inf55">
<mml:math id="m67">
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
</mml:math>
</inline-formula> used in <xref ref-type="disp-formula" rid="e1">Eq. 1</xref> <italic>via</italic>
<disp-formula id="e13">
<mml:math id="m68">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x03D1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3c7;</mml:mi>
<mml:mi mathvariant="bold-italic">c</mml:mi>
</mml:msub>
<mml:msqrt>
<mml:mi mathvariant="bold-italic">B</mml:mi>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(13)</label>
</disp-formula>and where <inline-formula id="inf56">
<mml:math id="m69">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3c7;</mml:mi>
<mml:mi mathvariant="bold-italic">c</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf57">
<mml:math id="m70">
<mml:mi mathvariant="bold-italic">B</mml:mi>
</mml:math>
</inline-formula> are constants dependent on the target material, the incoming particle&#x2019;s energy and charge. These constants are defined in [<xref ref-type="bibr" rid="B58">58</xref>] together with an integral representation of the functions <inline-formula id="inf58">
<mml:math id="m71">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">f</mml:mi>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. To clear up possible confusions, we note that in literature, frequently not the scattering angle <inline-formula id="inf59">
<mml:math id="m72">
<mml:mi>&#x3d1;</mml:mi>
</mml:math>
</inline-formula> is considered but instead the projected angle <inline-formula id="inf60">
<mml:math id="m73">
<mml:mi mathvariant="bold-italic">&#x3c6;</mml:mi>
</mml:math>
</inline-formula> is used. This angle arises when one considers the projection of <inline-formula id="inf61">
<mml:math id="m74">
<mml:mi>&#x3d1;</mml:mi>
</mml:math>
</inline-formula> onto an axis perpendicular to the beam&#x2019;s direction. For a rigorous definition of <inline-formula id="inf62">
<mml:math id="m75">
<mml:mi mathvariant="bold-italic">&#x3d1;</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf63">
<mml:math id="m76">
<mml:mi mathvariant="bold-italic">&#x3c6;</mml:mi>
</mml:math>
</inline-formula>, we refer to [<xref ref-type="bibr" rid="B58">58</xref>, <xref ref-type="bibr" rid="B59">59</xref>] and here we will only work with the angle <inline-formula id="inf64">
<mml:math id="m77">
<mml:mi mathvariant="bold-italic">&#x3d1;</mml:mi>
</mml:math>
</inline-formula>.</p>
<p>Sampling from higher order terms of the Moliere distribution is computationally expensive, but approximations can be made. Perhaps the simplest is dropping higher order terms, i.e. terms where <inline-formula id="inf65">
<mml:math id="m78">
<mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
<mml:mo>&#x2265;</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>. Since <inline-formula id="inf66">
<mml:math id="m79">
<mml:mi mathvariant="bold-italic">B</mml:mi>
</mml:math>
</inline-formula> is a measure for the average number of single scattering events occurring along a step<bold>,</bold> when the step size <inline-formula id="inf67">
<mml:math id="m80">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dx</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is large the weight of the higher order terms decreases and the distribution can be approximated through a Rayleigh distribution in <inline-formula id="inf68">
<mml:math id="m81">
<mml:mi mathvariant="bold">&#x3d1;</mml:mi>
</mml:math>
</inline-formula> <disp-formula id="e14">
<mml:math id="m82">
<mml:mrow>
<mml:mi mathvariant="bold">f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3d1;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2248;</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3d1;</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mi mathvariant="bold">exp</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi mathvariant="bold-italic">&#x3d1;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(14)</label>
</disp-formula>or a Gaussian distribution in <inline-formula id="inf69">
<mml:math id="m83">
<mml:mi mathvariant="bold-italic">&#x3c6;</mml:mi>
</mml:math>
</inline-formula> <disp-formula id="e15">
<mml:math id="m84">
<mml:mrow>
<mml:mi mathvariant="bold">f</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold">&#x3c6;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2248;</mml:mo>
<mml:mi mathvariant="bold">exp</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi mathvariant="bold">&#x3c6;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(15)</label>
</disp-formula>
</p>
<p>Single Gaussian approximations of the scattering angle have for example been introduced by Rossi [<xref ref-type="bibr" rid="B60">60</xref>] or Highland [<xref ref-type="bibr" rid="B61">61</xref>]. For the width <inline-formula id="inf70">
<mml:math id="m85">
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
</mml:math>
</inline-formula> of this Gaussian [<xref ref-type="bibr" rid="B60">60</xref>], provide the following empirical formula:<disp-formula id="e16">
<mml:math id="m86">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:mi mathvariant="bold-italic">s</mml:mi>
</mml:msub>
<mml:mi mathvariant="bold-italic">z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3b2;p</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3c1;dx</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3c7;</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:msqrt>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(16)</label>
</disp-formula>where <inline-formula id="inf71">
<mml:math id="m87">
<mml:mi mathvariant="bold-italic">z</mml:mi>
</mml:math>
</inline-formula> is the particle&#x2019;s charge in units of the elementary charge, <inline-formula id="inf72">
<mml:math id="m88">
<mml:mi mathvariant="bold-italic">&#x3c1;</mml:mi>
</mml:math>
</inline-formula> is the target&#x2019;s density, <inline-formula id="inf73">
<mml:math id="m89">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3c7;</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the target&#x2019;s radiation length and <inline-formula id="inf74">
<mml:math id="m90">
<mml:mi mathvariant="bold-italic">p</mml:mi>
</mml:math>
</inline-formula> is the particle&#x2019;s momentum in MeV/c. Originally, the value of <inline-formula id="inf75">
<mml:math id="m91">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">E</mml:mi>
<mml:mi mathvariant="bold-italic">s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> was given as 21&#xa0;MeV but with the mixed Rayleigh-Rutherford approach that will be presented here, a value of 11.6&#xa0;MeV was found to be better and was used throughout all simulations presented in <xref ref-type="sec" rid="s3">
<italic>Results</italic>
</xref>.</p>
<p>For small <inline-formula id="inf76">
<mml:math id="m92">
<mml:mrow>
<mml:mi mathvariant="bold-italic">dx</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, the single Gaussian approximation does not adequately reproduce the large angle tails of Moliere&#x2019;s distribution. As a result, authors have proposed different modifications to the pure Gaussian probability distribution such as double or triple Gaussian parametrizations [<xref ref-type="bibr" rid="B62">62</xref>, <xref ref-type="bibr" rid="B63">63</xref>] or parametrizations that use a Rutherford distribution to model the tail [<xref ref-type="bibr" rid="B31">31</xref>, <xref ref-type="bibr" rid="B53">53</xref>, <xref ref-type="bibr" rid="B64">64</xref>&#x2013;<xref ref-type="bibr" rid="B66">66</xref>]. Generally, even when using fits of Gaussian mixture models, the large-angle tails of the Moliere distribution are not reproduced adequately. In this work, a parametrization similar to [<xref ref-type="bibr" rid="B64">64</xref>] was used, combining a Rutherford-like tail with a Rayleigh distribution at the center<disp-formula id="e17">
<mml:math id="m93">
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mfrac>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:msup>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mi mathvariant="bold-italic">exp</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msup>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:mi mathvariant="bold">k</mml:mi>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mfrac>
<mml:mi mathvariant="bold-italic">&#x3b1;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:msup>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mn>3</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mo>&#x3e;</mml:mo>
<mml:mi mathvariant="bold">k</mml:mi>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(17)</label>
</disp-formula>
</p>
<p>For the simulations, the value <inline-formula id="inf77">
<mml:math id="m94">
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>3.5</mml:mn>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> was used, the constant <inline-formula id="inf78">
<mml:math id="m95">
<mml:mi mathvariant="bold-italic">&#x3b1;</mml:mi>
</mml:math>
</inline-formula> was determined such that <inline-formula id="inf79">
<mml:math id="m96">
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is continuous at the boundary <inline-formula id="inf80">
<mml:math id="m97">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold">k</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf81">
<mml:math id="m98">
<mml:mi mathvariant="bold-italic">N</mml:mi>
</mml:math>
</inline-formula> was determined such that the probability density function is normalized, i.e.<disp-formula id="e18">
<mml:math id="m99">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3b1;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mn>4</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mi mathvariant="bold-italic">exp</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msup>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mi mathvariant="bold-italic">&#xa0;</mml:mi>
<mml:mi>and</mml:mi>
</mml:mrow>
</mml:math>
<label>(18)</label>
</disp-formula>
<disp-formula id="e19">
<mml:math id="m100">
<mml:mrow>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:mi mathvariant="bold-italic">R</mml:mi>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(19)</label>
</disp-formula>Here, <inline-formula id="inf82">
<mml:math id="m101">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf83">
<mml:math id="m102">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:mi mathvariant="bold-italic">R</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the integral of the Rayleigh and the Rutherford-like part respectively, given by<disp-formula id="e20">
<mml:math id="m103">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">N</mml:mi>
<mml:mi mathvariant="bold">G</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="bold">exp</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold">k</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msup>
<mml:mi mathvariant="bold">&#x3c3;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mi mathvariant="bold-italic">&#xa0;</mml:mi>
<mml:mi>and</mml:mi>
</mml:mrow>
</mml:math>
<label>(20)</label>
</disp-formula>
<disp-formula id="e21">
<mml:math id="m104">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">N</mml:mi>
<mml:mi mathvariant="bold">R</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold">k</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msup>
<mml:mi mathvariant="bold">&#x3c3;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mi mathvariant="bold">exp</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold">k</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msup>
<mml:mi mathvariant="bold">&#x3c3;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(21)</label>
</disp-formula>
</p>
<p>Sampling of an angle <inline-formula id="inf84">
<mml:math id="m105">
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
</mml:math>
</inline-formula> is then done via inverse transform sampling using only a single uniformly distributed random number <bold>U</bold> after<disp-formula id="e22">
<mml:math id="m106">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:msqrt>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>&#x2061;</mml:mo>
<mml:mi mathvariant="bold-italic">log</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="bold-italic">U</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">N</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msqrt>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mi mathvariant="bold-italic">U</mml:mi>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msup>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mn>2</mml:mn>
<mml:mi mathvariant="bold-italic">&#x3b1;</mml:mi>
</mml:mfrac>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">U</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mi mathvariant="bold-italic">U</mml:mi>
<mml:mo>&#x3e;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">N</mml:mi>
<mml:mi mathvariant="bold-italic">G</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(22)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-6">
<title>Nuclear Interactions</title>
<sec id="s2-6-1">
<title>Elastic Nuclear Interactions</title>
<p>The kinematics involved in elastic nuclear interactions are implemented fully relativistically. The total elastic cross section <inline-formula id="inf85">
<mml:math id="m107">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">el</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is calculated starting from the work of [<xref ref-type="bibr" rid="B67">67</xref>] and was tabulated in 500 evenly spaced bins ranging from 0.1 to 500.1&#xa0;MeV for all 10 nuclei listed in <xref ref-type="sec" rid="s2-2">
<italic>Geometry and Materials</italic>
</xref>. The scattering angle in the center of mass frame is sampled according to a parametrization proposed in [<xref ref-type="bibr" rid="B68">68</xref>]. First, the momentum transfer <inline-formula id="inf86">
<mml:math id="m108">
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:math>
</inline-formula> is sampled after<disp-formula id="e23">
<mml:math id="m109">
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi mathvariant="bold-italic">t</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mi mathvariant="bold-italic">A</mml:mi>
<mml:mrow>
<mml:mn>1.63</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2061;</mml:mo>
<mml:mi mathvariant="bold-italic">exp</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mn>14.5</mml:mn>
<mml:msup>
<mml:mi mathvariant="bold-italic">A</mml:mi>
<mml:mrow>
<mml:mn>0.66</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1.4</mml:mn>
<mml:msup>
<mml:mi mathvariant="bold-italic">A</mml:mi>
<mml:mrow>
<mml:mn>0.33</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2061;</mml:mo>
<mml:mi mathvariant="bold-italic">exp</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mn>10</mml:mn>
<mml:mi mathvariant="bold-italic">t</mml:mi>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(23)</label>
</disp-formula>where, <inline-formula id="inf87">
<mml:math id="m110">
<mml:mi mathvariant="bold-italic">A</mml:mi>
</mml:math>
</inline-formula> is the target nucleus atomic number. Then, the center of mass scattering angle is calculated via<disp-formula id="e24">
<mml:math id="m111">
<mml:mrow>
<mml:mi mathvariant="bold">cos</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">&#x3b8;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold">CM</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mi mathvariant="bold">t</mml:mi>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi mathvariant="bold">p</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold">CM</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(24)</label>
</disp-formula>With <inline-formula id="inf88">
<mml:math id="m112">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">p</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">CM</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> being the center of mass momentum. From <inline-formula id="inf89">
<mml:math id="m113">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b8;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">CM</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, the laboratory frame polar scattering angles are computed and, together with a uniformly distributed azimuthal angle, applied to the resulting scattered particles.</p>
</sec>
<sec id="s2-6-2">
<title>Inelastic Nuclear Interactions</title>
<p>In particle therapy, inelastic nuclear scattering events generate the mixed radiation field, i.e. photons, protons, neutrons, deuterons, tritons, <sup>3</sup>He, <sup>4</sup>He and heavier fragments (nuclear recoils). In MonteRay, similarly to other works in literature [<xref ref-type="bibr" rid="B31">31</xref>, <xref ref-type="bibr" rid="B32">32</xref>], photons and neutrons are assumed to be dosimetrically irrelevant and they are neither transported nor produced. The total inelastic cross section <inline-formula id="inf90">
<mml:math id="m114">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3c3;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">ine</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> for protons was calculated starting from the work of [<xref ref-type="bibr" rid="B69">69</xref>, <xref ref-type="bibr" rid="B70">70</xref>]. To model the production of secondary particles, a database of nuclear event probabilities was generated based on nuclear models used internally by FLUKA. The database covers a primary proton energy <inline-formula id="inf91">
<mml:math id="m115">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">T</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">in</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> ranging from 10 to 300&#xa0;MeV, in steps of 10&#xa0;MeV. Tables were generated for each of the 10 elements defined in and for each of the five possible product particles considered: protons, tritons, deuterons, 3-Helium and 4-Helium. Each table (of the <inline-formula id="inf92">
<mml:math id="m116">
<mml:mrow>
<mml:mn>30</mml:mn>
<mml:mo>&#x22c5;</mml:mo>
<mml:mn>10</mml:mn>
<mml:mo>&#x22c5;</mml:mo>
<mml:mn>5</mml:mn>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1500</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> tables) is divided into 100 bins in the kinetic energy <inline-formula id="inf93">
<mml:math id="m117">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">T</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">sec</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and 100 bins in the solid angle <inline-formula id="inf94">
<mml:math id="m118">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">&#x3a9;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">sec</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> of the secondaries. The 100 energy bins divide the range <bold>0</bold> to <inline-formula id="inf96">
<mml:math id="m120">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">T</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">in</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> into evenly spaced intervals and the 100 angular bins evenly divide the interval <bold>0</bold> to <bold>
<italic>4</italic>
</bold> <inline-formula id="inf98">
<mml:math id="m122">
<mml:mi mathvariant="bold-italic">&#x3c0;</mml:mi>
</mml:math>
</inline-formula>. If an inelastic nuclear event occurs during simulation, all possible products for the current target nucleus are created but assigned weights corresponding to their relative multiplicity (<xref ref-type="fig" rid="F1">Figure&#x20;1A</xref>). Secondary particle energy (<xref ref-type="fig" rid="F1">Figure&#x20;1B</xref>) and direction are chosen via a binary search on a cumulative probability distribution, generated at the beginning of the simulation by summing up the tables values. Additionally, the mean kinetic recoil energy is stored for each table and deposited on the spot following a nuclear&#x20;event.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>
<bold>(A)</bold> Average number of particles produced per p &#x2b; <sup>16</sup>O collision as a function of the energy of the incoming proton. <bold>(B)</bold> For 200&#xa0;MeV p &#x2b; <sup>16</sup>O collisions, the angularly integrated probability (in %) of a secondary particle being produced in a certain energy bin (bin size: 10&#xa0;MeV) is shown. Abbreviations stand for Protons (P), Deuterons (D), Tritons (T), Helium-3 (<sup>3</sup>He) and Helium-4 (<sup>4</sup>He).</p>
</caption>
<graphic xlink:href="fphy-09-741453-g001.tif"/>
</fig>
</sec>
</sec>
<sec id="s2-7">
<title>Benchmarking of the Developed Dose Engine</title>
<p>To benchmark MonteRay, its predictions were compared against experimental data acquired at HIT over the last years, published in [<xref ref-type="bibr" rid="B71">71</xref>, <xref ref-type="bibr" rid="B72">72</xref>]. For scenarios where experimental data was not available, e.g. in presence of magnetic fields and for patient calculations, FLUKA predictions were used as a reference.</p>
<sec id="s2-7-1">
<title>Comparison Metrics</title>
<p>To judge MonteRay&#x2019;s agreement with measurements or against other TPS, several common radiotherapy metrics were used. The relative error<disp-formula id="e25">
<mml:math id="m123">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">&#x3b5;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold">rel</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>200</mml:mn>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">d</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold">d</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold">d</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold">d</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#xa0;</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mo>%</mml:mo>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(25)</label>
</disp-formula>was used to quantify the relative disagreement between two dose profiles, <inline-formula id="inf99">
<mml:math id="m124">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf100">
<mml:math id="m125">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. Measured and calculated beam ranges were compared in terms of their <bold>
<italic>R</italic>
</bold>
<sub>
<bold>
<italic>80</italic>
</bold>
</sub> value which is defined as the depth distal to the Bragg peak (BP) where the dose falls to 80% of the BP value. The difference in range for two dose distributions was quantified through <inline-formula id="inf101">
<mml:math id="m126">
<mml:mrow>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">R</mml:mi>
<mml:mrow>
<mml:mn>80</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>&#x7c;</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">R</mml:mi>
<mml:mrow>
<mml:mn>80</mml:mn>
</mml:mrow>
<mml:mn>1</mml:mn>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">R</mml:mi>
<mml:mrow>
<mml:mn>80</mml:mn>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msubsup>
</mml:mrow>
<mml:mo>&#x7c;</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. Agreement between lateral profiles was judged using the full width at half maximum (FWHM) value and the full width at 10% of the maximum (FW10%M) value. For the comparison of 3D dose distributions, the 3D local gamma pass rate was calculated. For this the python package pymedphys version 0.37.1 was used. For the calculation, similar to previous proton MC engines [<xref ref-type="bibr" rid="B28">28</xref>, <xref ref-type="bibr" rid="B31">31</xref>, <xref ref-type="bibr" rid="B73">73</xref>, <xref ref-type="bibr" rid="B74">74</xref>], the dose percentage threshold was set to 2%, the distance threshold to 2&#xa0;mm and the dose cutoff to 5% of the maximum dose. During the calculation of the gamma pass rate, dose outside the patient was not considered as it is clinically irrelevant. Another metric used to evaluate patient plans is the <inline-formula id="inf102">
<mml:math id="m127">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mi mathvariant="bold-italic">x</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> value. For a given region of interest (ROI), it is defined as the minimum dose that <inline-formula id="inf103">
<mml:math id="m128">
<mml:mi mathvariant="bold-italic">x</mml:mi>
</mml:math>
</inline-formula> percent of the ROIs volume is exposed&#x20;to.</p>
<p>To judge the deflection of a single beam in a magnetic field, we introduce the center of mass (COM) of the beam. Given a lateral profile scored in N bins at locations <inline-formula id="inf104">
<mml:math id="m129">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> with corresponding scored doses <inline-formula id="inf105">
<mml:math id="m130">
<mml:mrow>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, we define it as<disp-formula id="e26">
<mml:math id="m131">
<mml:mrow>
<mml:mi mathvariant="bold-italic">COM</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mi mathvariant="bold-italic">N</mml:mi>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(26)</label>
</disp-formula>
</p>
</sec>
<sec id="s2-7-2">
<title>Dosimetric Data</title>
<p>Various experimental data that was previously recorded at HIT was used to evaluate MonteRay&#x2019;s performance in terms of dosimetric accuracy. This data, included pencil-beam depth-dose distributions [<xref ref-type="bibr" rid="B71">71</xref>], lateral profiles of vertically scanned line profiles [<xref ref-type="bibr" rid="B75">75</xref>] and Spread-Out Bragg Peak (SOBP) plans [<xref ref-type="bibr" rid="B72">72</xref>]. Details on the measurement procedures were given in the mentioned references so only a quick overview will be given&#x20;here.</p>
<p>Pencil beam depth-dose distributions in water were recorded using a PeakFinder water column (PTW, Freiburg) with a diameter of 8.16&#xa0;cm. In total, 17 Bragg curves with beam energies spanning the entire energy range available at HIT (from 48.5 to 222.6&#xa0;MeV) have been measured. The measurements took place in a clinical room at HIT. The resolution was 0.05&#xa0;mm in the region of the&#x20;BP.</p>
<p>Measurements of lateral profiles of vertically scanned irradiation lines in a water phantom were obtained at three energies (81.5, 158.5 and 222.6&#xa0;MeV) using an array of 24 motorized pinpoint chambers (PTW, 0.03&#xa0;cm<sup>3</sup>) arranged in a block of six rows and four columns. The profiles were recorded perpendicularly to the direction of the vertically scanned line. Each scanned line consisted of 101 pencil beams ranging from -50&#xa0;mm to &#x2b;50&#xa0;mm with a 1&#xa0;mm spacing. The horizontal profiles were recorded starting from about 16&#xa0;mm in water to 30&#xa0;mm after the BP. For each energy, profiles at 42 depths were recorded. The distance between consecutive profiles was between 0.5 and 10&#xa0;mm.</p>
<p>Three SOBP plans centered around 5&#xa0;cm, 12.5 and 20&#xa0;cm in water were created using a FLUKA-based treatment planning tool. The planned dose was 1&#xa0;Gy within the 3&#x20;&#xd7; 3&#x20;&#xd7; 3&#xa0;cm target region. Delivery of the plans happened in the experimental room at HIT with measurements being done with the same block of pinpoint ionization chambers used for acquiring the lateral profiles described earlier. The profiles were recorded starting at a depth of 16&#xa0;mm to approximately 20&#xa0;mm after the end of the SOBP. The step size between measurements in regions of high gradient and in regions of high dose was 1&#xa0;mm.</p>
</sec>
<sec id="s2-7-3">
<title>FLUKA Calculations</title>
<p>Due to the lack of dosimetric data in magnetic fields, the transport in magnetic fields was benchmarked by comparing MonteRay against FLUKA. For this the effect of homogenous magnetic fields, applied perpendicular to the beam&#x2019;s direction, was studied for field strengths of 0.5, 1.0 and 2&#xa0;T. In FLUKA, magnetic fields were enabled using the MGNFIELD card with default settings. The DEFAULTS card with value PRECISIO was enabled during FLUKA simulations to ensure high precision simulations.</p>
</sec>
<sec id="s2-7-4">
<title>Patient Planning</title>
<p>Patient planning was performed in the clinical TPS RayStation 10&#xa0;A (RaySearch Laboraries, Stockholm, Sweden) on an anonymized DICOM patient data set representative of a meningioma treatment. A proton treatment plan using a single beam at 90&#xb0; was optimized for evaluation of dose calculation accuracies in a patient anatomy. The initial spot positioning (hexagonal grid with spot spacing of 3.6&#xa0;mm, energy spacing of 2.1&#xa0;mm) and minimum number of particles (580.000 particles) settings follow clinical practice at HIT. Optimization was made on the planning target volume (PTV, &#x223c;112&#xa0;cm&#xb3;) for 49.1&#xa0;Gy/ 54 GyRBE in 30 fractions using a constant radiobiological effectiveness of 1.1. The resultant energy range spanned from &#x223c;78 to 151&#xa0;MeV. The dose grid was set to 2&#x20;&#xd7; 2&#x20;&#xd7; 2&#xa0;mm&#xb3; in RayStation with a dose uncertainty of 0.5%. The treatment plan was exported in FLUKA and MonteRay for forward calculation with and without a magnetic field. The statistical uncertainty of the MonteRay and FLUKA runs was 1%. The dose uncertainty was estimated using the batch method. Dose cubes stemming from FLUKA MC and MonteRay were ultimately imported in RayStation for dosimetric analysis (DVH and line profile evaluation). All doses were computed as dose-to-water and dose comparisons were made in&#x20;Gy.</p>
</sec>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>Results</title>
<sec id="s3-1">
<title>Pristine Bragg Peaks in Water</title>
<p>To evaluate the accuracy of MonteRay, we first compare the simulated dose in water <inline-formula id="inf106">
<mml:math id="m132">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">MR</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> to the dose measured at HIT <inline-formula id="inf107">
<mml:math id="m133">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">HIT</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> for 17&#x20;quasi-monoenergetic beams. The beam energies ranged from 71.5 to 222.6&#xa0;MeV. <xref ref-type="fig" rid="F2">Figure&#x20;2</xref> shows a comparison of the dose obtained with MonteRay with measured values for three exemplary energies of 71.5, 158.5 and 222.6&#xa0;MeV. Due to the high resolution of the measured data (up to 0.05&#xa0;mm in the BP region), the transport was performed on a Cartesian grid with 0.1&#x20;&#xd7; 0.1 &#xd7; 0.1&#xa0;mm<sup>3</sup> resolution. Scoring likewise was done in 0.1&#xa0;mm thick slices. To match the physical dimension of the detector, scoring was performed in a cylindrical volume with a radius of 4.08&#xa0;cm. Both measurements and simulations were normalized to one at the BP. Across all the energies, the maximum, minimum and mean <inline-formula id="inf108">
<mml:math id="m134">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x394;</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">R</mml:mi>
<mml:mrow>
<mml:mn>80</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> values were 0.16, 0.06 and 0.10&#xa0;mm, respectively. Once the MC calculations were shifted by <inline-formula id="inf109">
<mml:math id="m135">
<mml:mrow>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">R</mml:mi>
<mml:mrow>
<mml:mn>80</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf110">
<mml:math id="m136">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">MC</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf111">
<mml:math id="m137">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">d</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">HIT</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> were quantitively compared using the relative error <inline-formula id="inf112">
<mml:math id="m138">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b5;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">rel</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. The dose threshold for calculating <inline-formula id="inf113">
<mml:math id="m139">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b5;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">rel</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> was set to 20% of maximum. The mean absolute <inline-formula id="inf114">
<mml:math id="m140">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b5;</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">rel</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> over all the investigated energies was <inline-formula id="inf115">
<mml:math id="m141">
<mml:mrow>
<mml:mn>0.56</mml:mn>
<mml:mtext>&#xa0;%</mml:mtext>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Integrated depth-dose profiles of quasi-monoenergetic beams with energies of 71&#xa0;MeV, 158.5, and 222.6&#xa0;MeV are shown. Peakfinder measurements are indicated by blue points and MonteRay simulations as solid red lines. The relative error, after correcting for a lateral shift, between measurements and MonteRay simulations is shown with grey dotted lines after correcting for the lateral&#x20;shift.</p>
</caption>
<graphic xlink:href="fphy-09-741453-g002.tif"/>
</fig>
<p>For the verification of the lateral parametrization in water, measurements of vertically scanned proton beam lines, as described in <xref ref-type="sec" rid="s2-7-2">
<italic>Dosimetric Data</italic>
</xref>, were compared against MonteRay simulations. Lateral relative dose profiles at three energies, 81.5, 158.5 and 222.6&#xa0;MeV, and at 40 different depths were compared. In <xref ref-type="fig" rid="F3">Figure&#x20;3</xref> and for each energy, lateral profiles at three depths are visualized: at the entrance (top row), in the BP region (bottom row) and in the middle of these two (middle row). The depths are reported in each panel of <xref ref-type="fig" rid="F3">Figure&#x20;3</xref>. The corresponding energy is given at the top of each column. After correcting for the error in FWHM already present at the entrance due to daily variations in the beam&#x2019;s shape, on average, the simulated FWHM matched the experimental data&#x2019;s FWHM within 0.1, 0.3 and 0.5&#xa0;mm for the three energies, respectively. Likewise, the FW10%M values matched to within 0.1, 0.3 and 0.9&#xa0;mm.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Lateral dose profiles of vertically scanned proton lines at 81.5&#xa0;MeV <bold>(left column)</bold>, 158.5&#xa0;MeV (central column) and 222.6&#xa0;MeV <bold>(right column)</bold> at different depths as reported in the panels. Measurements (blue points) are compared against MonteRay simulations (red lines).</p>
</caption>
<graphic xlink:href="fphy-09-741453-g003.tif"/>
</fig>
</sec>
<sec id="s3-2">
<title>Spread Out Bragg Peaks in Water</title>
<p>Next, MonteRay&#x2019;s simulated dose was compared with dosimetric data from SOBP plans. The measurement process was described in <xref ref-type="sec" rid="s2-7-2">
<italic>Dosimetric Data</italic>
</xref>. The resulting depth-dose distributions are displayed in <xref ref-type="fig" rid="F4">Figure&#x20;4</xref>, together with the measured values. The mean absolute relative error between measurements and predictions (excluding data in regions of high dose gradients, as performed in clinical routine) was (0.69%, 0.74%, 1.0%) with a standard deviation of (0.7%, 0.6%, 1.0%). The <inline-formula id="inf116">
<mml:math id="m142">
<mml:mrow>
<mml:mi>&#x394;</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">R</mml:mi>
<mml:mrow>
<mml:mn>80</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> values were 0.5, 0.3 and 0.3&#xa0;mm, respectively. In the lower panels of <xref ref-type="fig" rid="F4">Figure&#x20;4</xref>, lateral profiles at the entrance and at in the middle of the SOBP are shown. Here, the simulated SOBP widths matched the experimental ones on to within about 1&#xa0;mm.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>In panel <bold>(A)</bold>, Longitudinal dose distributions of three proton SOBP plans in water with plateau depths of approximately 5&#xa0;cm, 12.5, and 20&#xa0;cm are shown. In panels <bold>(B)</bold>, <bold>(C)</bold>, and <bold>(D)</bold>, lateral profiles corresponding to the three SOBP plans are displayed. For each SOBP, one lateral profile at the entrance and one lateral profile in the middle of the SOBP is shown. Measurements (points) are compared against MonteRay&#x2019;s simulated values (lines).</p>
</caption>
<graphic xlink:href="fphy-09-741453-g004.tif"/>
</fig>
</sec>
<sec id="s3-3">
<title>Magnetic Field Deflection in Homogenous Fields</title>
<p>To judge the accuracy of MonteRay when dealing with homogenous magnetic fields, MonteRay&#x2019;s simulations were first compared to FLUKA&#x2019;s for monoenergetic proton beams incident on water. The magnetic field was applied perpendicular to the beam&#x2019;s direction and four field strengths of 0&#xa0;T, 0.5 T, 1&#xa0;T and 2&#xa0;T were compared. Planar profiles were scored with a resolution of 1&#x20;&#xd7; 1&#x20;&#xd7; 1&#xa0;mm<sup>3</sup> but were afterwards integrated along 1&#xa0;cm in the direction of the magnetic field axis to provide higher statistics. In <xref ref-type="fig" rid="F5">Figures 5A,B</xref>, 2D dose distributions, perpendicular to the magnetic field, are shown for the case where the magnetic field strength was 2&#xa0;T. In panel <bold>(A)</bold>, MonteRay&#x2019;s results are shown while FLUKA&#x2019;s results are displayed in panel <bold>(B)</bold>. For all tested field strengths, the gamma passing rate (as defined in <xref ref-type="sec" rid="s2-7-1">
<italic>Comparison Metrics</italic>
</xref>) was above&#x20;99.8%</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>For 200&#xa0;MeV protons in water, 2D dose distributions calculated with MonteRay <bold>(A)</bold> and FLUKA <bold>(B)</bold> are shown in a plane perpendicular to the 2&#xa0;T magnetic field. In <bold>(C)</bold>, Lateral profiles for 200&#xa0;MeV protons in water and with magnetic field strengths of 0&#xa0;T, 0.5 T, 1&#xa0;T, and 2&#xa0;T are displayed at the location of the BP. MonteRay&#x2019;s results are indicated by a red line while FLUKA&#x2019;s results are displayed as blue dots.</p>
</caption>
<graphic xlink:href="fphy-09-741453-g005.tif"/>
</fig>
<p>In <xref ref-type="fig" rid="F5">Figure&#x20;5C</xref>, lateral profiles at the BP position for the four field strengths are shown. From lateral profiles, COM, FWHM and FW%10M were computed at each depth up to the BP. The maximum differences in COMs (<inline-formula id="inf117">
<mml:math id="m143">
<mml:mrow>
<mml:mtext>&#x394;</mml:mtext>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
<mml:mi>M</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, FWHM (<inline-formula id="inf118">
<mml:math id="m144">
<mml:mrow>
<mml:mtext>&#x394;</mml:mtext>
<mml:mi>F</mml:mi>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mrow>
<mml:mn>50</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) and FW10%M (<inline-formula id="inf119">
<mml:math id="m145">
<mml:mrow>
<mml:mtext>&#x394;</mml:mtext>
<mml:mi>F</mml:mi>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mrow>
<mml:mn>10</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> between MonteRay and FLUKA are summarized in <xref ref-type="table" rid="T1">Table&#x20;1</xref>. For all tested field strengths and at all depths, the maximum distances between the COMs stayed below 0.15&#xa0;mm, the maximum disagreements in the FWHM reached 0.21&#xa0;mm while the maximum disagreements in the FW10%M reached 0.31&#xa0;mm. Comparing integrated depth-dose profiles, the <inline-formula id="inf120">
<mml:math id="m146">
<mml:mrow>
<mml:msub>
<mml:mi>R</mml:mi>
<mml:mrow>
<mml:mn>80</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> values between MonteRay and FLUKA were found to agree to within 0.14, 0.18, 0.10 and 0.07&#xa0;mm. The maximum relative errors in dose, after correcting for these shifts, was&#x20;1.2%.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Comparison of MonteRay against Fluka for a 200&#xa0;MeV proton beam incident on water with different homogenous magnetic fields applied perpendicular to the beam. The maximum differences in the COM (<inline-formula id="inf121">
<mml:math id="m147">
<mml:mrow>
<mml:mi mathvariant="bold">&#x394;</mml:mi>
<mml:mi mathvariant="bold-italic">COM</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, FWHM (<inline-formula id="inf122">
<mml:math id="m148">
<mml:mrow>
<mml:mi mathvariant="bold">&#x394;</mml:mi>
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mrow>
<mml:mn>50</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) and FW10%M (<inline-formula id="inf123">
<mml:math id="m149">
<mml:mrow>
<mml:mi mathvariant="bold">&#x394;</mml:mi>
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mrow>
<mml:mn>10</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) across all depths up to the BP are reported.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Field strength [T]</th>
<th align="center">
<inline-formula id="inf124">
<mml:math id="m150">
<mml:mrow>
<mml:mtext>&#x394;</mml:mtext>
<mml:mi mathvariant="bold-italic">C</mml:mi>
<mml:mi mathvariant="bold-italic">O</mml:mi>
<mml:mi mathvariant="bold-italic">M</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> [mm]</th>
<th align="center">
<inline-formula id="inf125">
<mml:math id="m151">
<mml:mrow>
<mml:mtext>&#x394;</mml:mtext>
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mrow>
<mml:mn>50</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [mm]</th>
<th align="center">
<inline-formula id="inf126">
<mml:math id="m152">
<mml:mrow>
<mml:mtext>&#x394;</mml:mtext>
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:msub>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mrow>
<mml:mn>10</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> [mm]</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">0</td>
<td align="char" char=".">0.018</td>
<td align="char" char=".">0.17</td>
<td align="char" char=".">0.24</td>
</tr>
<tr>
<td align="left">0.5</td>
<td align="char" char=".">0.043</td>
<td align="char" char=".">0.21</td>
<td align="char" char=".">0.30</td>
</tr>
<tr>
<td align="left">1.0</td>
<td align="char" char=".">0.072</td>
<td align="char" char=".">0.19</td>
<td align="char" char=".">0.23</td>
</tr>
<tr>
<td align="left">2.0</td>
<td align="char" char=".">0.14</td>
<td align="char" char=".">0.21</td>
<td align="char" char=".">0.31</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3-4">
<title>Patient Case</title>
<p>In <xref ref-type="fig" rid="F6">Figure&#x20;6</xref> panels <bold>(A)</bold> and <bold>(B)</bold>, the doses for a patient plan, calculated with FLUKA and MonteRay are shown in the axial plane. The gamma passing rate between MonteRay and FLUKA was computed to be 99.8%. In panel <bold>(C)</bold>, longitudinal profiles and in panel <bold>(D)</bold>, lateral profiles are shown. The profiles are shown for simulated doses obtained from RayStation, FLUKA and MonteRay, and their locations are indicated in panel <bold>(A)</bold> through red horizontal (longitudinal) and vertical (lateral) lines. For RayStation, FLUKA and MonteRay, the lateral profile&#x2019;s FWHMs were 67.6, 68.1, and 68.3&#xa0;mm. The widths at 10% of the maximum were 85.3, 86.1, and 85.9&#xa0;mm. The differences in range between MonteRay/FLUKA and RayStation/FLUKA were calculated from the longitudinal profiles and found to be 0.4 and 0.6&#xa0;mm, respectively. Both in terms of lateral and longitudinal profiles, MonteRay agrees well with FLUKA.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Axial views of calculated doses for the plan described in Section 2.2.4 are shown for <bold>(A)</bold> FLUKA and <bold>(B)</bold> MonteRay. In panels <bold>(C)</bold> and <bold>(D)</bold>, longitudinal and lateral profiles are shown, respectively. The locations of the profiles relative to the 2D plots are indicated trough red lines in panel <bold>(A)</bold>. RayStation profiles are indicated by a solid green line, FLUKA profiles by a dotted blue line and MonteRay profiles by a dashed red line.</p>
</caption>
<graphic xlink:href="fphy-09-741453-g006.tif"/>
</fig>
<p>In <xref ref-type="fig" rid="F7">Figure&#x20;7A</xref>, DVHs calculated for several regions of interest (ROI) are displayed: the CTV, the brain, the brainstem and the right optical nerve. The <inline-formula id="inf127">
<mml:math id="m153">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf128">
<mml:math id="m154">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mrow>
<mml:mn>50</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf129">
<mml:math id="m155">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mrow>
<mml:mn>98</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> values were computed for the CTV and <inline-formula id="inf130">
<mml:math id="m156">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> values were computed for the organs at risk (OAR). To judge the quality of MonteRay, the relative difference in <inline-formula id="inf131">
<mml:math id="m157">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mi mathvariant="bold-italic">x</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> values between MonteRay and FLUKA is compared to those between RayStation and FLUKA. Overall, the agreement between MonteRay and FLUKA was of the same magnitude as the agreement between RayStation and FLUKA. For the CTV, good agreement in the <inline-formula id="inf132">
<mml:math id="m158">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> value of 0.25%, the <inline-formula id="inf133">
<mml:math id="m159">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mrow>
<mml:mn>50</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> value of 0.38% and the <inline-formula id="inf134">
<mml:math id="m160">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mrow>
<mml:mn>98</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> value to within 0.58% was found. For the considered OARs the computed <inline-formula id="inf135">
<mml:math id="m161">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> values matched within 0.50% for the brain, within 0.44% for the brainstem and to within 0.49% for the right optical&#x20;nerve.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Computed DVHs for the CTV, the brain, the brainstem and the right optical nerve (r. o. nerve) are shown. DVHs were computed for RayStation (green, solid line), FLUKA (blue, dotted line) and MonteRay (red, dashed line). In panel <bold>(A)</bold>, DVHs for the patient case without a magnetic field are shown while in panel <bold>(B)</bold> DVHs calculated for the case with an applied magnetic field are&#x20;shown.</p>
</caption>
<graphic xlink:href="fphy-09-741453-g007.tif"/>
</fig>
</sec>
<sec id="s3-5">
<title>Patient Case With a Magnetic Field</title>
<p>To benchmark our magnetic field implementation, the previous patient plan was reused but for the dose calculation in MonteRay and FLUKA, a homogenous magnetic field of 1&#xa0;T was applied throughout the CT volume. In <xref ref-type="fig" rid="F8">Figure&#x20;8</xref>, the calculated doses in FLUKA (Panel <bold>(A)</bold>) and MonteRay (Panel <bold>(B)</bold>) are displayed. With the magnetic field enabled, the gamma passing rate between MonteRay and FLUKA was found to be&#x20;98.8%.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Axial views of calculated doses for the plan described in Section 2.2.4 with an added perpendicular magnetic field of 1&#xa0;T are shown for <bold>(A)</bold> FLUKA and <bold>(B)</bold> MonteRay. In panels <bold>(C)</bold> and <bold>(D)</bold>, longitudinal and lateral profiles are shown, respectively. Besides the lateral profiles obtained from FLUKA and MonteRay, we also show the lateral profile of the RayStation dose calculated without a magnetic field. The locations of the profiles relative to the 2D plots are indicated trough red lines in panel <bold>(A)</bold>. RayStation profiles are indicated by a solid green line, FLUKA profiles by a dotted blue line and MonteRay profiles by a dashed red line.</p>
</caption>
<graphic xlink:href="fphy-09-741453-g008.tif"/>
</fig>
<p>In panel <bold>(C)</bold>, longitudinal profiles and in panel <bold>(D)</bold>, lateral profiles are shown, and their locations are indicated in panel <bold>(A)</bold> through horizonal (longitudinal) and vertical (lateral) lines. Profiles are shown for simulated doses obtained with MonteRay&#x20;and FLUKA. Additionally, in panel <bold>(D)</bold>, the lateral profile obtain d from RayStation without an applied magnetic field is shown. The deflection observed at the lateral profile&#x2019;s position was &#x223c;5&#xa0;mm. Computed for FLUKA and MonteRay, the lateral profile&#x2019;s FWHMs were 67.4&#xa0;mm, 67.5&#xa0;mm. The widths at 10% of the maximum were 86.0 and 85.0&#xa0;mm. The difference in range between MonteRay and FLUKA, calculated from the longitudinal profiles, was found to be 0.4&#xa0;mm.</p>
<p>In <xref ref-type="fig" rid="F7">Figure&#x20;7B</xref>, DVHs calculated on the same ROIs as in the previous section are shown. <inline-formula id="inf136">
<mml:math id="m162">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mi mathvariant="bold-italic">x</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> values were computed for FLUKA and MonteRay. For the CTV we found agreement in the <inline-formula id="inf137">
<mml:math id="m163">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> value of 2%, in the <inline-formula id="inf138">
<mml:math id="m164">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mrow>
<mml:mn>50</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> value of 0.53% and in the <inline-formula id="inf139">
<mml:math id="m165">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mrow>
<mml:mn>98</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> value of 1.2%. For the OARs, the computed <inline-formula id="inf140">
<mml:math id="m166">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">D</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> values matched within 0.76% for the brain, within 2.1% for the brainstem and within 2.3% for the right optical&#x20;nerve.</p>
</sec>
<sec id="s3-6">
<title>Runtime Benchmarks</title>
<p>The performance of MonteRay was evaluated for various test cases. All tests were performed on a six-core AMD Ryzen 5,3600 processor. The transport grid&#x2019;s resolution was set to 2&#x20;&#xd7; 2&#x20;&#xd7; 2&#xa0;mm<sup>3</sup>. This resolution is used clinically at HIT and other fast MC codes have used this resolution for benchmarking [<xref ref-type="bibr" rid="B31">31</xref>]. For 150&#xa0;MeV monoenergetic Protons in water with a FWHM of 1&#xa0;cm, a throughput of 31&#xa0;k primaries per second on a single core and 180&#x20;k primaries per second when using all six cores of the CPU, was measured. Under parallel load, the throughput therefore was 30&#xa0;k primaries per second per core. In comparison, the computational throughput of FLUKA on the same problem on the same hardware was 1.1&#xa0;k primaries per second.</p>
<p>For the patient plan, benchmarks were run on a 2&#x20;&#xd7; 2&#x20;&#xd7; 2&#xa0;mm<sup>3</sup> grid with 5,000 particles per pencil beam per core. In total, the plan consisted of 8313 pencil beams. On a single core, a throughput of 33&#xa0;k particles per second was observed while the throughput on six core was measured to be 193&#xa0;k primaries per second which corresponds to 32&#xa0;k primaries per seconds per&#x20;core.</p>
</sec>
</sec>
<sec sec-type="discussion" id="s4">
<title>Discussion</title>
<p>The comparison of MonteRay predictions against dosimetric data and FLUKA simulations confirms that the implemented electromagnetic and nuclear models correctly reproduce the underlying physics. In terms of depth-dose distributions for pencil beams in water (<xref ref-type="sec" rid="s3-1">
<italic>Pristine Bragg Peaks in Water</italic>
</xref>), the mean absolute relative error over all 17 compared energies was 0.56%, ranging from 0.33 to 0.60% for 102.6 and 222.6&#xa0;MeV protons, respectively. The depth-dependent maximum absolute relative error varied from 0.95% (48.5&#xa0;MeV) to 3.4% (222.6&#xa0;MeV). The latter is located at the entrance channel of the highest energy (222.6&#xa0;MeV) which is typically not used for clinical purpose. This underestimation could in part be explained through the fact that the current approach for sampling the initial particles neglects secondary d, t, <sup>3</sup>He and <sup>4</sup>He particles produced in the beamline. Our predictions are in line with other fast MC engines available in literature, for example [<xref ref-type="bibr" rid="B73">73</xref>], using FRED have found relative differences of up to about 3% for 200&#xa0;MeV protons in&#x20;water.</p>
<p>In terms of lateral evolution as function of depth, MonteRay matched satisfactorily the experimental data in terms of FWHM/FW10%M within on average 0.1, 0.3, and 0.9&#xa0;mm for low, medium and high energies. The largest difference has been found in the Bragg peak region for 222.6&#xa0;MeV protons with a maximum variation of the FW10%M of 2&#xa0;mm. To evaluate possible shortcomings in the scattering model, we have compared FLUKA and MonteRay predictions for 200&#xa0;MeV proton beams in water without the HIT beamline. The maximum FWHM(FW10%M) variation found was 0.17&#xa0;mm (0.24&#xa0;mm) and the 3D gamma pass rate was 99.8% confirming the quality of the implemented&#x20;model.</p>
<p>Prediction of SOBPs centered at different depths confirmed MonteRay&#x2019;s beam-model with an average agreement of 1% when compared against experimental data, well fulfilling clinical criteria. MonteRay&#x2019;s results have been found to be in line with FLUKA results for the same set of experimental SOBP data [<xref ref-type="bibr" rid="B71">71</xref>], with average FLUKA dose deviations of&#x20;0.9%.</p>
<p>Evaluation of MonteRay on a patient plan showed good agreement against simulations performed with FLUKA. In terms of D2, D50, and D98 we achieved similar agreement to FLUKA as RayStation did. The 3D gamma pass rate was calculated to be 99.8% showing that the implemented models and approximations for electromagnetic and nuclear interactions approximate the underlying physics well, also in a clinical setting. Computed 3D gamma pass rates were in line with those obtained by other fast MC engines [<xref ref-type="bibr" rid="B28">28</xref>, <xref ref-type="bibr" rid="B33">33</xref>,&#x20;<xref ref-type="bibr" rid="B73">73</xref>].</p>
<p>Similarly, we evaluated the quality of our simulation when an additional magnetic field was applied to an irradiation plan. Compared to FLUKA, we found adequate agreement in terms of D2, D50, and D98 between 0.5 and 2.3%. The 3D gamma pass rate was 98.9%, showing that a simple approximation of the Lorentz force is adequate at describing the transport of charged particles in homogenous magnetic fields.</p>
<p>In terms of computational throughput, MonteRay was able to simulate 31&#xa0;k primaries per second for a 150&#xa0;MeV proton beam incident on water, transported on a 2&#x20;&#xd7; 2&#x20;&#xd7; 2&#xa0;mm<sup>3</sup> grid. Parallel execution on six cores was found to scale linearly, achieving a throughput of 180&#x20;k primaries per second. When benchmarked on a patient plan containing &#x223c;8300 pencil beams with energies ranging from &#x223c;78 to &#x223c;150&#xa0;MeV, we measured a throughput of 33&#xa0;k particles per seconds on a single core and 193&#xa0;k particles on six cores. Again, linear scaling was observed which demonstrates that reading the phase space from disk is not a bottleneck, even when multiple cores are competing for random read access.</p>
</sec>
<sec id="s5">
<title>Conclusion and Outlook</title>
<p>In this work we have presented a novel MC engine, specialized for proton therapy calculations, currently under development at HIT. Good agreement with measured data and a full-fledged MC engine (FLUKA) has been found. MonteRay achieved fast tracking rates of more than 30&#xa0;k proton primaries per second at 150&#xa0;MeV on a 2&#x20;&#xd7; 2&#x20;&#xd7; 2&#xa0;mm<sup>3</sup> grid. In a next step, work will begin on porting our fast CPU engine onto GPUs. Following a heterogenous approach, i.e. using both CPUs and GPUs, we hope to achieve sub-minute runtimes even for large irradiation&#x20;plans.</p>
<p>A custom Monte Carlo engine will also allow us to easily implement custom features such as computing the linear energy transfer or to add imaging capabilities by producing positrons or prompt gammas.</p>
<p>With helium beam treatment commencing at HIT, inclusion of helium beams in MonteRay is underway with inelastic nuclear databases having already been generated.</p>
<p>With the aim of MR guided ion therapy, we are the first fast MC engine to include magnetic field support. In the future we will expand our evaluation to inhomogeneous fields with a focus on simulating MRIs which are being installed at HIT for the purpose of MR guided ion therapy.</p>
</sec>
</body>
<back>
<sec id="s6">
<title>Data Availability Statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s7">
<title>Author Contributions</title>
<p>AM, AF, and PL were responsible for the conceptual design of&#x20;the Monte Carlo engine. PL, BK, and AM developed the source code of the Monte Carlo engine. AM generated the materials database, including elastic and inelastic nuclear cross&#x20;sections. AF developed the code for the generation of inelastic nuclear databases from FLUKA. JB generated the inelastic nuclear databases. PL, TT, and AM worked on the analysis of data. TT, AM, and SM collected and provided experimental data used in this work. TT computed and provided the patient plan and SOBP plans. JD and TH provided clinical direction during project development, manuscript writing and project administration and funding acquisition. All authors read and contributed to the preparation of the manuscript.</p>
</sec>
<sec id="s8">
<title>Funding</title>
<p>The authors acknowledge financial support through the German Federal Ministry of Education and Research (BMBF) within the project (Grant number: 13GW0436A).</p>
</sec>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s10">
<title>Publisher&#x2019;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ack>
<p>The authors would like to acknowledge Eric Heim&#x2019;s work on the initial setup of the C&#x2b;&#x2b; code base and unit testing framework. The authors would like to acknowledge Ahmad Neishabouri for his help with performing Fluka calculations and Eric Heim for his work on the initial setup of the C&#x002B;&#x002B; code base and the unit testing framework.</p>
</ack>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chandarana</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Tijssen</surname>
<given-names>RHN</given-names>
</name>
<name>
<surname>Das</surname>
<given-names>IJ</given-names>
</name>
</person-group> <article-title>Emerging Role of MRI in Radiation Therapy</article-title>. <source>J&#x20;Magn Reson Imaging</source> (<year>2018</year>) <volume>48</volume>:<fpage>1468</fpage>&#x2013;<lpage>78</lpage>. <pub-id pub-id-type="doi">10.1002/jmri.26271</pub-id> </citation>
</ref>
<ref id="B2">
<label>2.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pollard</surname>
<given-names>JM</given-names>
</name>
<name>
<surname>Wen</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Sadagopan</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Ibbott</surname>
<given-names>GS</given-names>
</name>
</person-group> <article-title>The Future of Image-Guided Radiotherapy Will Be MR Guided</article-title>. <source>Bjr</source> (<year>2017</year>) <volume>90</volume>:<fpage>20160667</fpage>. <pub-id pub-id-type="doi">10.1259/bjr.20160667</pub-id> </citation>
</ref>
<ref id="B3">
<label>3.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mutic</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Dempsey</surname>
<given-names>JF</given-names>
</name>
</person-group> <article-title>The ViewRay System: Magnetic Resonance-Guided and Controlled Radiotherapy</article-title>. <source>Semin Radiat Oncol</source> (<year>2014</year>) <volume>24</volume>:<fpage>196</fpage>&#x2013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1016/j.semradonc.2014.02.008</pub-id> </citation>
</ref>
<ref id="B4">
<label>4.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liney</surname>
<given-names>GP</given-names>
</name>
<name>
<surname>Whelan</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Oborn</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Barton</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Keall</surname>
<given-names>P</given-names>
</name>
</person-group> <article-title>MRI-linear Accelerator Radiotherapy Systems</article-title>. <source>Clin Oncol</source> (<year>2018</year>) <volume>30</volume>:<fpage>686</fpage>&#x2013;<lpage>91</lpage>. <pub-id pub-id-type="doi">10.1016/j.clon.2018.08.003</pub-id> </citation>
</ref>
<ref id="B5">
<label>5.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Acharya</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Fischer-Valuck</surname>
<given-names>BW</given-names>
</name>
<name>
<surname>Kashani</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Parikh</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>D</given-names>
</name>
<name>
<surname>Zhao</surname>
<given-names>T</given-names>
</name>
<etal/>
</person-group> <article-title>Online Magnetic Resonance Image Guided Adaptive Radiation Therapy: First Clinical Applications</article-title>. <source>Int J&#x20;Radiat Oncology&#x2a;Biology&#x2a;Physics</source> (<year>2016</year>) <volume>94</volume>:<fpage>394</fpage>&#x2013;<lpage>403</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijrobp.2015.10.015</pub-id> </citation>
</ref>
<ref id="B6">
<label>6.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Durante</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Loeffler</surname>
<given-names>JS</given-names>
</name>
</person-group> <article-title>Charged Particles in Radiation Oncology</article-title>. <source>Nat Rev Clin Oncol</source> (<year>2010</year>) <volume>7</volume>:<fpage>37</fpage>&#x2013;<lpage>43</lpage>. <pub-id pub-id-type="doi">10.1038/nrclinonc.2009.183</pub-id> </citation>
</ref>
<ref id="B7">
<label>7.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Durante</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Orecchia</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Loeffler</surname>
<given-names>JS</given-names>
</name>
</person-group> <article-title>Charged-particle Therapy in Cancer: Clinical Uses and Future Perspectives</article-title>. <source>Nat Rev Clin Oncol</source> (<year>2017</year>) <volume>14</volume>:<fpage>483</fpage>&#x2013;<lpage>95</lpage>. <pub-id pub-id-type="doi">10.1038/nrclinonc.2017.30</pub-id> </citation>
</ref>
<ref id="B8">
<label>8.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hoffmann</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Oborn</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Moteabbed</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Yan</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Bortfeld</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Knopf</surname>
<given-names>A</given-names>
</name>
<etal/>
</person-group> <article-title>MR-guided Proton Therapy: a Review and a Preview</article-title>. <source>Radiat Oncol</source> (<year>2020</year>) <volume>15</volume>:<fpage>129</fpage>. <pub-id pub-id-type="doi">10.1186/s13014-020-01571-x</pub-id> </citation>
</ref>
<ref id="B9">
<label>9.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Haberer</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Debus</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Eickhoff</surname>
<given-names>H</given-names>
</name>
<name>
<surname>J&#xe4;kel</surname>
<given-names>O</given-names>
</name>
<name>
<surname>Schulz-Ertner</surname>
<given-names>D</given-names>
</name>
<name>
<surname>Weber</surname>
<given-names>U</given-names>
</name>
</person-group> <article-title>The heidelberg Ion Therapy center</article-title>. <source>Radiother Oncol</source> (<year>2004</year>) <volume>73</volume>:<fpage>S186</fpage>&#x2013;<lpage>S190</lpage>. <pub-id pub-id-type="doi">10.1016/s0167-8140(04)80046-x</pub-id> </citation>
</ref>
<ref id="B10">
<label>10.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rankine</surname>
<given-names>LJ</given-names>
</name>
<name>
<surname>Mein</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Cai</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Curcuru</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Juang</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Miles</surname>
<given-names>D</given-names>
</name>
<etal/>
</person-group> <article-title>Three-Dimensional Dosimetric Validation of a Magnetic Resonance Guided Intensity Modulated Radiation Therapy System</article-title>. <source>Int J&#x20;Radiat Oncol Biol Phys</source> (<year>2017</year>) <volume>97</volume>:<fpage>1095</fpage>&#x2013;<lpage>104</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijrobp.2017.01.223</pub-id> </citation>
</ref>
<ref id="B11">
<label>11.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kl&#xfc;ter</surname>
<given-names>S</given-names>
</name>
</person-group> <article-title>Technical Design and Concept of a 0.35&#x20;T MR-Linac</article-title>. <source>Clin Translational Radiat Oncol</source> (<year>2019</year>) <volume>18</volume>:<fpage>98</fpage>&#x2013;<lpage>101</lpage>. <pub-id pub-id-type="doi">10.1016/j.ctro.2019.04.007</pub-id> </citation>
</ref>
<ref id="B12">
<label>12.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chamberlain</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Krayenbuehl</surname>
<given-names>J</given-names>
</name>
<name>
<surname>van Timmeren</surname>
<given-names>JE</given-names>
</name>
<name>
<surname>Wilke</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Andratschke</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Garcia Sch&#xfc;ler</surname>
<given-names>H</given-names>
</name>
<etal/>
</person-group> <article-title>Head and Neck Radiotherapy on the MR Linac: a Multicenter Planning challenge Amongst MRIdian Platform Users</article-title>. <source>Strahlenther Onkol</source> (<year>2021</year>) <fpage>1</fpage>&#x2013;<lpage>11</lpage>. <pub-id pub-id-type="doi">10.1007/s00066-021-01771-8</pub-id> </citation>
</ref>
<ref id="B13">
<label>13.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Raaijmakers</surname>
<given-names>AJE</given-names>
</name>
<name>
<surname>Raaymakers</surname>
<given-names>BW</given-names>
</name>
<name>
<surname>Lagendijk</surname>
<given-names>JJW</given-names>
</name>
</person-group> <article-title>Magnetic-field-induced Dose Effects in MR-Guided Radiotherapy Systems: Dependence on the Magnetic Field Strength</article-title>. <source>Phys Med Biol</source> (<year>2008</year>) <volume>53</volume>:<fpage>909</fpage>&#x2013;<lpage>23</lpage>. <pub-id pub-id-type="doi">10.1088/0031-9155/53/4/006</pub-id> </citation>
</ref>
<ref id="B14">
<label>14.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wolf</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Bortfeld</surname>
<given-names>T</given-names>
</name>
</person-group> <article-title>An Analytical Solution to Proton Bragg Peak Deflection in a Magnetic Field</article-title>. <source>Phys Med Biol</source> (<year>2012</year>) <volume>57</volume>:<fpage>N329</fpage>&#x2013;<lpage>N337</lpage>. <pub-id pub-id-type="doi">10.1088/0031-9155/57/17/N329</pub-id> </citation>
</ref>
<ref id="B15">
<label>15.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Moteabbed</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Schuemann</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Paganetti</surname>
<given-names>H</given-names>
</name>
</person-group> <article-title>Dosimetric Feasibility of Real-Time MRI-Guided Proton Therapy</article-title>. <source>Med Phys</source> (<year>2014</year>) <volume>41</volume>:<fpage>111713</fpage>. <pub-id pub-id-type="doi">10.1118/1.4897570</pub-id> </citation>
</ref>
<ref id="B16">
<label>16.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Ferrari</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Sala</surname>
<given-names>PR</given-names>
</name>
<name>
<surname>Fasso</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Ranft</surname>
<given-names>J</given-names>
</name>
</person-group> <source>FLUKA: A Multi-Particle Transport Code</source>. <publisher-loc>Stanford</publisher-loc>: <publisher-name>Stanford linear accelerator center</publisher-name> (<year>2005</year>). <pub-id pub-id-type="doi">10.2172/877507</pub-id> </citation>
</ref>
<ref id="B17">
<label>17.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>B&#xf6;hlen</surname>
<given-names>TT</given-names>
</name>
<name>
<surname>Cerutti</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Chin</surname>
<given-names>MPW</given-names>
</name>
<name>
<surname>Fass&#xf2;</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Ferrari</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Ortega</surname>
<given-names>PG</given-names>
</name>
<etal/>
</person-group> <article-title>The FLUKA Code: Developments and Challenges for High Energy and Medical Applications</article-title>. <source>Nucl Data Sheets</source> (<year>2014</year>) <volume>120</volume>:<fpage>211</fpage>&#x2013;<lpage>4</lpage>. <pub-id pub-id-type="doi">10.1016/j.nds.2014.07.049</pub-id> </citation>
</ref>
<ref id="B18">
<label>18.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bauer</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Sommerer</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Mairani</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Unholtz</surname>
<given-names>D</given-names>
</name>
<name>
<surname>Farook</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Handrack</surname>
<given-names>J</given-names>
</name>
<etal/>
</person-group> <article-title>Integration and Evaluation of Automated Monte Carlo Simulations in the Clinical Practice of Scanned Proton and Carbon Ion Beam Therapy</article-title>. <source>Phys Med Biol</source> (<year>2014</year>) <volume>59</volume>:<fpage>4635</fpage>&#x2013;<lpage>59</lpage>. <pub-id pub-id-type="doi">10.1088/0031-9155/59/16/4635</pub-id> </citation>
</ref>
<ref id="B19">
<label>19.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mein</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Choi</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Kopp</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Tessonnier</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Bauer</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Ferrari</surname>
<given-names>A</given-names>
</name>
<etal/>
</person-group> <article-title>Fast Robust Dose Calculation on GPU for High-Precision 1H, 4He, 12C and 16O Ion Therapy: the FRoG Platform</article-title>. <source>Sci Rep</source> (<year>2018</year>) <volume>8</volume>:<fpage>14829</fpage>. <pub-id pub-id-type="doi">10.1038/s41598-018-33194-4</pub-id> </citation>
</ref>
<ref id="B20">
<label>20.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mein</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Kopp</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Tessonnier</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Ackermann</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Ecker</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Bauer</surname>
<given-names>J</given-names>
</name>
<etal/>
</person-group> <article-title>Dosimetric Validation of Monte Carlo and Analytical Dose Engines with Raster-Scanning 1H, 4He, 12C, and 16O Ion-Beams Using an Anthropomorphic Phantom</article-title>. <source>Physica Med</source> (<year>2019</year>) <volume>64</volume>:<fpage>123</fpage>&#x2013;<lpage>31</lpage>. <pub-id pub-id-type="doi">10.1016/j.ejmp.2019.07.001</pub-id> </citation>
</ref>
<ref id="B21">
<label>21.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Choi</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Mein</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Kopp</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Magro</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Molinelli</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Ciocca</surname>
<given-names>M</given-names>
</name>
<etal/>
</person-group> <article-title>FRoG-A New Calculation Engine for Clinical Investigations with Proton and Carbon Ion Beams at CNAO</article-title>. <source>Cancers</source> (<year>2018</year>) <volume>10</volume>:<fpage>395</fpage>. <pub-id pub-id-type="doi">10.3390/cancers10110395</pub-id> </citation>
</ref>
<ref id="B22">
<label>22.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kopp</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Fuglsang Jensen</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Mein</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Hoffmann</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Nystr&#xf6;m</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Falk</surname>
<given-names>M</given-names>
</name>
<etal/>
</person-group> <article-title>FRoG: An Independent Dose and LET D Prediction Tool for Proton Therapy at ProBeam Facilities</article-title>. <source>Med Phys</source> (<year>2020</year>) <volume>47</volume>:<fpage>5274</fpage>&#x2013;<lpage>86</lpage>. <pub-id pub-id-type="doi">10.1002/mp.14417</pub-id> </citation>
</ref>
<ref id="B23">
<label>23.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Magro</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Mein</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Kopp</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Mastella</surname>
<given-names>E</given-names>
</name>
<name>
<surname>Pella</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Ciocca</surname>
<given-names>M</given-names>
</name>
<etal/>
</person-group> <article-title>FRoG Dose Computation Meets Monte Carlo Accuracy for Proton Therapy Dose Calculation in Lung</article-title>. <source>Physica Med</source> (<year>2021</year>) <volume>86</volume>:<fpage>66</fpage>&#x2013;<lpage>74</lpage>. <pub-id pub-id-type="doi">10.1016/j.ejmp.2021.05.021</pub-id> </citation>
</ref>
<ref id="B24">
<label>24.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fuchs</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Moser</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Gr&#xf6;schl</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Georg</surname>
<given-names>D</given-names>
</name>
</person-group> <article-title>Magnetic Field Effects on Particle Beams and Their Implications for Dose Calculation in MR-Guided Particle Therapy</article-title>. <source>Med Phys</source> (<year>2017</year>) <volume>44</volume>:<fpage>1149</fpage>&#x2013;<lpage>56</lpage>. <pub-id pub-id-type="doi">10.1002/mp.12105</pub-id> </citation>
</ref>
<ref id="B25">
<label>25.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Parodi</surname>
<given-names>K</given-names>
</name>
</person-group> <article-title>Vision 20/20: Positron Emission Tomography in Radiation Therapy Planning, Delivery, and Monitoring</article-title>. <source>Med Phys</source> (<year>2015</year>) <volume>42</volume>:<fpage>7153</fpage>&#x2013;<lpage>68</lpage>. <pub-id pub-id-type="doi">10.1118/1.4935869</pub-id> </citation>
</ref>
<ref id="B26">
<label>26.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Parodi</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Paganetti</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Shih</surname>
<given-names>HA</given-names>
</name>
<name>
<surname>Michaud</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Loeffler</surname>
<given-names>JS</given-names>
</name>
<name>
<surname>DeLaney</surname>
<given-names>TF</given-names>
</name>
<etal/>
</person-group> <article-title>Patient Study of <italic>In Vivo</italic> Verification of Beam Delivery and Range, Using Positron Emission Tomography and Computed Tomography Imaging after Proton Therapy</article-title>. <source>Int J&#x20;Radiat Oncol Biol Phys</source> (<year>2007</year>) <volume>68</volume>:<fpage>920</fpage>&#x2013;<lpage>34</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijrobp.2007.01.063</pub-id> </citation>
</ref>
<ref id="B27">
<label>27.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Parodi</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Polf</surname>
<given-names>JC</given-names>
</name>
</person-group> <article-title>
<italic>In Vivo</italic> range Verification in Particle Therapy</article-title>. <source>Med Phys</source> (<year>2018</year>) <volume>45</volume>:<fpage>e1036</fpage>&#x2013;<lpage>e1050</lpage>. <pub-id pub-id-type="doi">10.1002/mp.12960</pub-id> </citation>
</ref>
<ref id="B28">
<label>28.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jia</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Sch&#xfc;mann</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Paganetti</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Jiang</surname>
<given-names>SB</given-names>
</name>
</person-group> <article-title>GPU-based Fast Monte Carlo Dose Calculation for Proton Therapy</article-title>. <source>Phys Med Biol</source> (<year>2012</year>) <volume>57</volume>:<fpage>7783</fpage>&#x2013;<lpage>97</lpage>. <pub-id pub-id-type="doi">10.1088/0031-9155/57/23/7783</pub-id> </citation>
</ref>
<ref id="B29">
<label>29.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jia</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Pawlicki</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Murphy</surname>
<given-names>KT</given-names>
</name>
<name>
<surname>Mundt</surname>
<given-names>AJ</given-names>
</name>
</person-group> <article-title>Proton Therapy Dose Calculations on GPU: Advances and Challenges</article-title>. <source>Translational Cancer Res</source> (<year>2012</year>) <volume>1</volume>:<fpage>207</fpage>&#x2013;<lpage>16</lpage>. <pub-id pub-id-type="doi">10.3978/j.issn.2218-676X.2012.10.03</pub-id> </citation>
</ref>
<ref id="B30">
<label>30.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Giantsoudi</surname>
<given-names>D</given-names>
</name>
<name>
<surname>Schuemann</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Jia</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Dowdell</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Jiang</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Paganetti</surname>
<given-names>H</given-names>
</name>
</person-group> <article-title>Validation of a GPU-Based Monte Carlo Code (gPMC) for Proton Radiation Therapy: Clinical Cases Study</article-title>. <source>Phys Med Biol</source> (<year>2015</year>) <volume>60</volume>:<fpage>2257</fpage>&#x2013;<lpage>69</lpage>. <pub-id pub-id-type="doi">10.1088/0031-9155/60/6/2257</pub-id> </citation>
</ref>
<ref id="B31">
<label>31.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Schiavi</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Senzacqua</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Pioli</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Mairani</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Magro</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Molinelli</surname>
<given-names>S</given-names>
</name>
<etal/>
</person-group> <article-title>Fred: a GPU-Accelerated Fast-Monte Carlo Code for Rapid Treatment Plan Recalculation in Ion Beam Therapy</article-title>. <source>Phys Med Biol</source> (<year>2017</year>) <volume>62</volume>:<fpage>7482</fpage>&#x2013;<lpage>504</lpage>. <pub-id pub-id-type="doi">10.1088/1361-6560/aa8134</pub-id> </citation>
</ref>
<ref id="B32">
<label>32.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Deng</surname>
<given-names>W</given-names>
</name>
<name>
<surname>Younkin</surname>
<given-names>JE</given-names>
</name>
<name>
<surname>Souris</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Augustine</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Fatyga</surname>
<given-names>M</given-names>
</name>
<etal/>
</person-group> <article-title>Technical Note: Integrating an Open Source Monte Carlo Code "MCsquare" for Clinical Use in Intensity&#x2010;modulated Proton Therapy</article-title>. <source>Med Phys</source> (<year>2020</year>) <volume>47</volume>:<fpage>2558</fpage>&#x2013;<lpage>74</lpage>. <pub-id pub-id-type="doi">10.1002/mp.14125</pub-id> </citation>
</ref>
<ref id="B33">
<label>33.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tian</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Folkerts</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Qin</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Jiang</surname>
<given-names>SB</given-names>
</name>
<name>
<surname>Jia</surname>
<given-names>X</given-names>
</name>
</person-group> <article-title>A GPU Opencl Based Cross-Platform Monte Carlo Dose Calculation Engine (Gomc)</article-title>. <source>Phys Med Biol</source> (<year>2015</year>) <volume>60</volume>:<fpage>7419</fpage>&#x2013;<lpage>35</lpage>. <pub-id pub-id-type="doi">10.1088/0031-9155/60/19/7419</pub-id> </citation>
</ref>
<ref id="B34">
<label>34.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Faddegon</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Ramos-M&#xe9;ndez</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Schuemann</surname>
<given-names>J</given-names>
</name>
<name>
<surname>McNamara</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Shin</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Perl</surname>
<given-names>J</given-names>
</name>
<etal/>
</person-group> <article-title>The TOPAS Tool for Particle Simulation, a Monte Carlo Simulation Tool for Physics, Biology and Clinical Research</article-title>. <source>Physica Med</source> (<year>2020</year>) <volume>72</volume>:<fpage>114</fpage>&#x2013;<lpage>21</lpage>. <pub-id pub-id-type="doi">10.1016/j.ejmp.2020.03.019</pub-id> </citation>
</ref>
<ref id="B35">
<label>35.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Oborn</surname>
<given-names>BM</given-names>
</name>
<name>
<surname>Dowdell</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Metcalfe</surname>
<given-names>PE</given-names>
</name>
<name>
<surname>Crozier</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Mohan</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Keall</surname>
<given-names>PJ</given-names>
</name>
</person-group> <article-title>Proton Beam Deflection in MRI fields: Implications for MRI-Guided Proton Therapy</article-title>. <source>Med Phys</source> (<year>2015</year>) <volume>42</volume>:<fpage>2113</fpage>&#x2013;<lpage>24</lpage>. <pub-id pub-id-type="doi">10.1118/1.4916661</pub-id> </citation>
</ref>
<ref id="B36">
<label>36.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Padilla-Cabal</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Georg</surname>
<given-names>D</given-names>
</name>
<name>
<surname>Fuchs</surname>
<given-names>H</given-names>
</name>
</person-group> <article-title>A Pencil Beam Algorithm for Magnetic Resonance Image-Guided Proton Therapy</article-title>. <source>Med Phys</source> (<year>2018</year>) <volume>45</volume>:<fpage>2195</fpage>&#x2013;<lpage>204</lpage>. <pub-id pub-id-type="doi">10.1002/mp.12854</pub-id> </citation>
</ref>
<ref id="B37">
<label>37.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Schellhammer</surname>
<given-names>SM</given-names>
</name>
<name>
<surname>Hoffmann</surname>
<given-names>AL</given-names>
</name>
<name>
<surname>Gantz</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Smeets</surname>
<given-names>J</given-names>
</name>
<name>
<surname>van der Kraaij</surname>
<given-names>E</given-names>
</name>
<name>
<surname>Quets</surname>
<given-names>S</given-names>
</name>
<etal/>
</person-group> <article-title>Integrating a Low-Field Open MR Scanner with a Static Proton Research Beam Line: Proof of Concept</article-title>. <source>Phys Med Biol</source> (<year>2018</year>) <volume>63</volume>:<fpage>23LT01</fpage>. <pub-id pub-id-type="doi">10.1088/1361-6560/aaece8</pub-id> </citation>
</ref>
<ref id="B38">
<label>38.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Schellhammer</surname>
<given-names>SM</given-names>
</name>
<name>
<surname>Hoffmann</surname>
<given-names>AL</given-names>
</name>
</person-group> <article-title>Prediction and Compensation of Magnetic Beam Deflection in MR-Integrated Proton Therapy: a Method Optimized Regarding Accuracy, Versatility and Speed</article-title>. <source>Phys Med Biol</source> (<year>2017</year>) <volume>62</volume>:<fpage>1548</fpage>&#x2013;<lpage>64</lpage>. <pub-id pub-id-type="doi">10.1088/1361-6560/62/4/1548</pub-id> </citation>
</ref>
<ref id="B39">
<label>39.</label>
<citation citation-type="web">
<collab>GitHub</collab>, <article-title>
<italic>Google/Googletest</italic>
</article-title> (<year>2021</year>) <comment>Available from: <ext-link ext-link-type="uri" xlink:href="https://github.com/google/googletest">https://github.com/google/googletest.</ext-link>
</comment> <comment>(Accessed July 08, 2021)</comment>. </citation>
</ref>
<ref id="B40">
<label>40.</label>
<citation citation-type="web">
<collab>GitHub</collab>, <article-title>
<italic>Google/Benchmark</italic>
</article-title> (<year>2021</year>) <comment>Available from: <ext-link ext-link-type="uri" xlink:href="https://github.com/google/benchmark">https://github.com/google/benchmark</ext-link>
</comment> <comment>(Accessed July 08, 2021)</comment>. </citation>
</ref>
<ref id="B41">
<label>41.</label>
<citation citation-type="web">
<article-title>Boost C&#x2b;&#x2b; Libraries</article-title> (<year>2021</year>) <comment>Available from: <ext-link ext-link-type="uri" xlink:href="https://www.boost.org/">https://www.boost.org/</ext-link>
</comment> <comment>(Accessed July 09, 2021)</comment>. </citation>
</ref>
<ref id="B42">
<label>42.</label>
<citation citation-type="web">
<article-title>RapidXml</article-title> (<year>2009</year>) <comment>Available from: <ext-link ext-link-type="uri" xlink:href="http://rapidxml.sourceforge.net/">http://rapidxml.sourceforge.net/</ext-link>
</comment> <comment>(Accessed July 08, 2021)</comment>. </citation>
</ref>
<ref id="B43">
<label>43.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>McCormick</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Jomier</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Marion</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Ibanez</surname>
<given-names>L</given-names>
</name>
</person-group> <article-title>ITK: Enabling Reproducible Research and Open Science</article-title>. <source>Front Neuroinform</source> (<year>2014</year>) <volume>8</volume>:<fpage>13</fpage>. <pub-id pub-id-type="doi">10.3389/fninf.2014.00013</pub-id> </citation>
</ref>
<ref id="B44">
<label>44.</label>
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Wilkens</surname>
<given-names>T</given-names>
</name>
</person-group> <article-title>dicom.offis.de - Home</article-title> (<year>2018</year>). <comment>[cited 2021 Jul 10]. Available from: <ext-link ext-link-type="uri" xlink:href="https://dcmtk.org/">https://dcmtk.org/</ext-link>
</comment>. </citation>
</ref>
<ref id="B45">
<label>45.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Schneider</surname>
<given-names>U</given-names>
</name>
<name>
<surname>Pedroni</surname>
<given-names>E</given-names>
</name>
<name>
<surname>Lomax</surname>
<given-names>A</given-names>
</name>
</person-group> <article-title>The Calibration of CT Hounsfield Units for Radiotherapy Treatment Planning</article-title>. <source>Phys Med Biol</source> (<year>1996</year>) <volume>41</volume>:<fpage>111</fpage>&#x2013;<lpage>24</lpage>. <pub-id pub-id-type="doi">10.1088/0031-9155/41/1/009</pub-id> </citation>
</ref>
<ref id="B46">
<label>46.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Parodi</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Ferrari</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Sommerer</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Paganetti</surname>
<given-names>H</given-names>
</name>
</person-group> <article-title>Clinical CT-based Calculations of Dose and Positron Emitter Distributions in Proton Therapy Using the FLUKA Monte Carlo Code</article-title>. <source>Phys Med Biol</source> (<year>2007</year>) <volume>52</volume>:<fpage>3369</fpage>&#x2013;<lpage>87</lpage>. <pub-id pub-id-type="doi">10.1088/0031-9155/52/12/004</pub-id> </citation>
</ref>
<ref id="B47">
<label>47.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Qin</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Pinto</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Tian</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Dedes</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Pompos</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Jiang</surname>
<given-names>SB</given-names>
</name>
<etal/>
</person-group> <article-title>Initial Development of goCMC: a GPU-Oriented Fast Cross-Platform Monte Carlo Engine for Carbon Ion Therapy</article-title>. <source>Phys Med Biol</source> (<year>2017</year>) <volume>62</volume>:<fpage>3682</fpage>&#x2013;<lpage>99</lpage>. <pub-id pub-id-type="doi">10.1088/1361-6560/aa5d43</pub-id> </citation>
</ref>
<ref id="B48">
<label>48.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Parodi</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Mairani</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Sommerer</surname>
<given-names>F</given-names>
</name>
</person-group> <article-title>Monte Carlo-Based Parametrization of the Lateral Dose Spread for Clinical Treatment Planning of Scanned Proton and Carbon Ion Beams</article-title>. <source>J&#x20;Radiat Res</source> (<year>2013</year>) <volume>54</volume>(<issue>1</issue>):<fpage>i91</fpage>&#x2013;<lpage>i96</lpage>. <pub-id pub-id-type="doi">10.1093/jrr/rrt051</pub-id> </citation>
</ref>
<ref id="B49">
<label>49.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tessonnier</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Marcelos</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Mairani</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Brons</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Parodi</surname>
<given-names>K</given-names>
</name>
</person-group> <article-title>Phase Space Generation for Proton and Carbon Ion Beams for External Users&#x27; Applications at the Heidelberg Ion Therapy Center</article-title>. <source>Front Oncol</source> (<year>2015</year>) <volume>5</volume>:<fpage>297</fpage>. <pub-id pub-id-type="doi">10.3389/fonc.2015.00297</pub-id> </citation>
</ref>
<ref id="B50">
<label>50.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Seltzer</surname>
<given-names>SM</given-names>
</name>
</person-group> <article-title>An Overview of ETRAN Monte Carlo Methods</article-title>. In: <source>Monte Carlo Transport of Electrons and Photons</source>. <publisher-loc>Boston, MA</publisher-loc>: <publisher-name>Springer</publisher-name> (<year>1988</year>). p. <fpage>153</fpage>&#x2013;<lpage>81</lpage>. <pub-id pub-id-type="doi">10.1007/978-1-4613-1059-4_7</pub-id> </citation>
</ref>
<ref id="B51">
<label>51.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Alex</surname>
<given-names>F</given-names>
</name>
</person-group> <article-title>Bielajew. &#x201c;Electron Transport in E and B Fields</article-title>. In: <source>Monte Carlo Transport of Electrons and Photons</source>. <publisher-loc>Boston, MA</publisher-loc>: <publisher-name>Springer</publisher-name> (<year>1988</year>). p. <fpage>421</fpage>&#x2013;<lpage>34</lpage>. </citation>
</ref>
<ref id="B52">
<label>52.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Duff</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Burgess</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Christensen</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Hery</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Kensler</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Liani</surname>
<given-names>M</given-names>
</name>
<etal/>
</person-group> <article-title>Building an Orthonormal Basis, Revisited</article-title>. <source>J&#x20;Comp Graphics Tech</source> (<year>2017</year>) <volume>6</volume>:<fpage>1</fpage>&#x2013;<lpage>8</lpage>. </citation>
</ref>
<ref id="B53">
<label>53.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Jackson</surname>
<given-names>JD</given-names>
</name>
</person-group> <source>Classical Electrodynamics</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Wiley</publisher-name> (<year>1975</year>). </citation>
</ref>
<ref id="B54">
<label>54.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fano</surname>
<given-names>U</given-names>
</name>
</person-group> <article-title>Penetration of Protons, Alpha Particles, and Mesons</article-title>. <source>Annu Rev Nucl Sci</source> (<year>1963</year>) <volume>13</volume>:<fpage>1</fpage>&#x2013;<lpage>66</lpage>. <pub-id pub-id-type="doi">10.1146/annurev.ns.13.120163.000245</pub-id> </citation>
</ref>
<ref id="B55">
<label>55.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Landau</surname>
<given-names>LD</given-names>
</name>
</person-group> <article-title>On the Energy Loss of Fast Particles by Ionization</article-title>. <source>J&#x20;Phys</source> (<year>1944</year>) <volume>8</volume>:<fpage>201</fpage>&#x2013;<lpage>5</lpage>. </citation>
</ref>
<ref id="B56">
<label>56.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vavilov</surname>
<given-names>PV</given-names>
</name>
</person-group> <article-title>Ionization Losses of High-Energy Heavy Particles</article-title>. <source>Soviet Phys JETP</source> (<year>1957</year>) <volume>5</volume>:<fpage>749</fpage>&#x2013;<lpage>51</lpage>. </citation>
</ref>
<ref id="B57">
<label>57.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chibani</surname>
<given-names>O</given-names>
</name>
</person-group> <article-title>New Algorithms for the Vavilov Distribution Calculation and the Corresponding Energy Loss Sampling</article-title>. <source>IEEE Trans Nucl Sci</source> (<year>1998</year>) <volume>45</volume>:<fpage>2288</fpage>&#x2013;<lpage>92</lpage>. <pub-id pub-id-type="doi">10.1109/23.725266</pub-id> </citation>
</ref>
<ref id="B58">
<label>58.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Moliere</surname>
<given-names>G</given-names>
</name>
</person-group> <article-title>Theorie der Streuung schneller geladener Teilchen II Mehrfach-und Vielfachstreuung</article-title>. <source>Z f&#xfc;r Naturforschung A</source> (<year>1948</year>) <volume>3</volume>:<fpage>78</fpage>&#x2013;<lpage>97</lpage>. <pub-id pub-id-type="doi">10.1515/zna-1948-0203</pub-id> </citation>
</ref>
<ref id="B59">
<label>59.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Scott</surname>
<given-names>WT</given-names>
</name>
</person-group> <article-title>The Theory of Small-Angle Multiple Scattering of Fast Charged Particles</article-title>. <source>Rev Mod Phys</source> (<year>1963</year>) <volume>35</volume>:<fpage>231</fpage>&#x2013;<lpage>313</lpage>. <pub-id pub-id-type="doi">10.1103/RevModPhys.35.231</pub-id> </citation>
</ref>
<ref id="B60">
<label>60.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rossi</surname>
<given-names>B</given-names>
</name>
<name>
<surname>Greisen</surname>
<given-names>K</given-names>
</name>
</person-group> <article-title>Cosmic-Ray Theory</article-title>. <source>Rev Mod Phys</source> (<year>1941</year>) <volume>13</volume>:<fpage>240</fpage>&#x2013;<lpage>309</lpage>. <pub-id pub-id-type="doi">10.1103/RevModPhys.13.240</pub-id> </citation>
</ref>
<ref id="B61">
<label>61.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Highland</surname>
<given-names>VL</given-names>
</name>
</person-group> <article-title>Some Practical Remarks on Multiple Scattering</article-title>. <source>Nucl Instr Methods</source> (<year>1975</year>) <volume>129</volume>:<fpage>497</fpage>&#x2013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1016/0029-554x(75)90743-0</pub-id> </citation>
</ref>
<ref id="B62">
<label>62.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fr&#xfc;hwirth</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Regler</surname>
<given-names>M</given-names>
</name>
</person-group> <article-title>On the Quantitative Modelling of Core and Tails of Multiple Scattering by Gaussian Mixtures</article-title>. <source>Nucl Instr Methods Phys Res Section A: Acc Spectrometers, Detectors Associated Equipment</source> (<year>2001</year>) <volume>456</volume>:<fpage>369</fpage>&#x2013;<lpage>89</lpage>. <pub-id pub-id-type="doi">10.1016/s0168-9002(00)00589-1</pub-id> </citation>
</ref>
<ref id="B63">
<label>63.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bellinzona</surname>
<given-names>VE</given-names>
</name>
<name>
<surname>Ciocca</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Embriaco</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Fontana</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Mairani</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Mori</surname>
<given-names>M</given-names>
</name>
<etal/>
</person-group> <article-title>On the Parametrization of Lateral Dose Profiles in Proton Radiation Therapy</article-title>. <source>Physica Med</source> (<year>2015</year>) <volume>31</volume>:<fpage>484</fpage>&#x2013;<lpage>92</lpage>. <pub-id pub-id-type="doi">10.1016/j.ejmp.2015.05.004</pub-id> </citation>
</ref>
<ref id="B64">
<label>64.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kuhn</surname>
<given-names>SE</given-names>
</name>
<name>
<surname>Dodge</surname>
<given-names>GE</given-names>
</name>
</person-group> <article-title>A Fast Algorithm for Monte Carlo Simulations of Multiple Coulomb Scattering</article-title>. <source>Nucl Instr Methods Phys Res Section A: Acc Spectrometers, Detectors Associated Equipment</source> (<year>1992</year>) <volume>322</volume>:<fpage>88</fpage>&#x2013;<lpage>92</lpage>. <pub-id pub-id-type="doi">10.1016/0168-9002(92)90361-7</pub-id> </citation>
</ref>
<ref id="B65">
<label>65.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Adelmann</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Calvo</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Frey</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Gsell</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Locans</surname>
<given-names>U</given-names>
</name>
<name>
<surname>Metzger-Kraus</surname>
<given-names>C</given-names>
</name>
<etal/>
</person-group> <source>OPAL a Versatile Tool for Charged Particle Accelerator Simulations</source>. <publisher-name>arxiv:1905.06654</publisher-name> (<year>2019</year>). </citation>
</ref>
<ref id="B66">
<label>66.</label>
<citation citation-type="thesis">
<person-group person-group-type="author">
<name>
<surname>Bellinzona</surname>
<given-names>VE</given-names>
</name>
</person-group> <source>A Non Gaussian Model for the Lateral Dose Evaluation in Hadrontherapy</source>. [<comment>PhD thesis</comment>]. <publisher-name>Ludwig-Maximillians-University Munich</publisher-name> (<year>2017</year>).</citation>
</ref>
<ref id="B67">
<label>67.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tripathi</surname>
<given-names>RK</given-names>
</name>
<name>
<surname>Wilson</surname>
<given-names>JW</given-names>
</name>
<name>
<surname>Cucinotta</surname>
<given-names>FA</given-names>
</name>
</person-group> <article-title>A Method for Calculating Proton-Nucleus Elastic Cross-Sections</article-title>. <source>Nucl Instr Methods Phys Res Section B: Beam Interactions Mater Atoms</source> (<year>2002</year>) <volume>194</volume>:<fpage>229</fpage>&#x2013;<lpage>36</lpage>. <pub-id pub-id-type="doi">10.1016/s0168-583x(02)00690-0</pub-id> </citation>
</ref>
<ref id="B68">
<label>68.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ranft</surname>
<given-names>J</given-names>
</name>
</person-group> <article-title>Estimation of Radiation Problems Around High-Energy Accelerators Using Calculations of the Hadronic cascade in Matter</article-title>. <source>Part Accel</source> (<year>1972</year>) <volume>3</volume>:<fpage>129</fpage>&#x2013;<lpage>61</lpage>. </citation>
</ref>
<ref id="B69">
<label>69.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tripathi</surname>
<given-names>RK</given-names>
</name>
<name>
<surname>Cucinotta</surname>
<given-names>FA</given-names>
</name>
<name>
<surname>Wilson</surname>
<given-names>JW</given-names>
</name>
</person-group> <article-title>Accurate Universal Parameterization of Absorption Cross Sections</article-title>. <source>Nucl Instr Methods Phys Res Section B: Beam Interactions Mater Atoms</source> (<year>1996</year>) <volume>117</volume>:<fpage>347</fpage>&#x2013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1016/0168-583X(96)00331-X</pub-id> </citation>
</ref>
<ref id="B70">
<label>70.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tripathi</surname>
<given-names>RK</given-names>
</name>
<name>
<surname>Cucinotta</surname>
<given-names>FA</given-names>
</name>
<name>
<surname>Wilson</surname>
<given-names>JW</given-names>
</name>
</person-group> <article-title>Accurate Universal Parameterization of Absorption Cross Sections III - Light Systems</article-title>. <source>Nucl Instr Methods Phys Res Section B: Beam Interactions Mater Atoms</source> (<year>1999</year>) <volume>155</volume>:<fpage>349</fpage>&#x2013;<lpage>56</lpage>. <pub-id pub-id-type="doi">10.1016/s0168-583x(99)00479-6</pub-id> </citation>
</ref>
<ref id="B71">
<label>71.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tessonnier</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Mairani</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Brons</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Haberer</surname>
<given-names>T</given-names>
</name>
<name>
<surname>Debus</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Parodi</surname>
<given-names>K</given-names>
</name>
</person-group> <article-title>Experimental Dosimetric Comparison of1H,4He,12C and16O Scanned Ion Beams</article-title>. <source>Phys Med Biol</source> (<year>2017</year>) <volume>62</volume>:<fpage>3958</fpage>&#x2013;<lpage>82</lpage>. <pub-id pub-id-type="doi">10.1088/1361-6560/aa6516</pub-id> </citation>
</ref>
<ref id="B72">
<label>72.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tessonnier</surname>
<given-names>T</given-names>
</name>
<name>
<surname>B&#xf6;hlen</surname>
<given-names>TT</given-names>
</name>
<name>
<surname>Ceruti</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Ferrari</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Sala</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Brons</surname>
<given-names>S</given-names>
</name>
<etal/>
</person-group> <article-title>Dosimetric Verification in Water of a Monte Carlo Treatment Planning Tool for Proton, Helium, Carbon and Oxygen Ion Beams at the Heidelberg Ion Beam Therapy Center</article-title>. <source>Phys Med Biol</source> (<year>2017</year>) <volume>62</volume>:<fpage>6579</fpage>&#x2013;<lpage>94</lpage>. <pub-id pub-id-type="doi">10.1088/1361-6560/aa7be4</pub-id> </citation>
</ref>
<ref id="B73">
<label>73.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gajewski</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Garbacz</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Chang</surname>
<given-names>C-W</given-names>
</name>
<name>
<surname>Czerska</surname>
<given-names>K</given-names>
</name>
<name>
<surname>Durante</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Krah</surname>
<given-names>N</given-names>
</name>
<etal/>
</person-group> <article-title>Commissioning of GPU-Accelerated Monte Carlo Code FRED for Clinical Applications in Proton Therapy</article-title>. <source>Front Phys</source> (<year>2021</year>) <volume>8</volume>:<fpage>403</fpage>. <pub-id pub-id-type="doi">10.3389/fphy.2020.567300</pub-id> </citation>
</ref>
<ref id="B74">
<label>74.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Garbacz</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Battistoni</surname>
<given-names>G</given-names>
</name>
<name>
<surname>Durante</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Gajewski</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Krah</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Patera</surname>
<given-names>V</given-names>
</name>
<etal/>
</person-group> <article-title>Proton Therapy Treatment Plan Verification in CCB Krakow Using Fred Monte Carlo TPS Tool</article-title>. In: <source>World Congress on Medical Physics and Biomedical Engineering 2018</source>. <publisher-loc>Singapore</publisher-loc>: <publisher-name>Springer</publisher-name> (<year>2019</year>). p. <fpage>783</fpage>&#x2013;<lpage>7</lpage>. <pub-id pub-id-type="doi">10.1007/978-981-10-9035-6_144</pub-id> </citation>
</ref>
<ref id="B75">
<label>75.</label>
<citation citation-type="thesis">
<person-group person-group-type="author">
<name>
<surname>Tessonnier</surname>
<given-names>T</given-names>
</name>
</person-group> <source>Treatment of Low-Grade Meningiomas with Protons and Helium Ions</source>. [<comment>PhD thesis</comment>]. <publisher-name>Ludwig-Maximillians-University Munich</publisher-name> (<year>2017</year>).</citation>
</ref>
</ref-list>
</back>
</article>