<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.hep.ucl.ac.uk/pbt/pbtWiki/index.php?action=history&amp;feed=atom&amp;title=Software%2FGeant4%2FTutorials%2FBasic%2FElectron_Beam_Using_Phase-Space_Files</id>
	<title>Software/Geant4/Tutorials/Basic/Electron Beam Using Phase-Space Files - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.hep.ucl.ac.uk/pbt/pbtWiki/index.php?action=history&amp;feed=atom&amp;title=Software%2FGeant4%2FTutorials%2FBasic%2FElectron_Beam_Using_Phase-Space_Files"/>
	<link rel="alternate" type="text/html" href="https://www.hep.ucl.ac.uk/pbt/pbtWiki/index.php?title=Software/Geant4/Tutorials/Basic/Electron_Beam_Using_Phase-Space_Files&amp;action=history"/>
	<updated>2026-04-14T23:17:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://www.hep.ucl.ac.uk/pbt/pbtWiki/index.php?title=Software/Geant4/Tutorials/Basic/Electron_Beam_Using_Phase-Space_Files&amp;diff=488&amp;oldid=prev</id>
		<title>SimonJolly at 17:50, 5 October 2016</title>
		<link rel="alternate" type="text/html" href="https://www.hep.ucl.ac.uk/pbt/pbtWiki/index.php?title=Software/Geant4/Tutorials/Basic/Electron_Beam_Using_Phase-Space_Files&amp;diff=488&amp;oldid=prev"/>
		<updated>2016-10-05T17:50:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:50, 5 October 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[username@plus1 ElectronPHSPFolder]$ source /unix/pbt/software/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dev/bin&lt;/del&gt;/pbt&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-dev&lt;/del&gt;.sh &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[username@plus1 ElectronPHSPFolder]$ source /unix/pbt/software/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;scripts&lt;/ins&gt;/pbt.sh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SimonJolly</name></author>
	</entry>
	<entry>
		<id>https://www.hep.ucl.ac.uk/pbt/pbtWiki/index.php?title=Software/Geant4/Tutorials/Basic/Electron_Beam_Using_Phase-Space_Files&amp;diff=118&amp;oldid=prev</id>
		<title>SimonJolly: Created page with &quot;== Introduction ==  This example shows the dose distribution in water along the incident electron beam. The volume of the water cube is divided into slices perpendicular to the i...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.hep.ucl.ac.uk/pbt/pbtWiki/index.php?title=Software/Geant4/Tutorials/Basic/Electron_Beam_Using_Phase-Space_Files&amp;diff=118&amp;oldid=prev"/>
		<updated>2016-05-12T15:46:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Introduction ==  This example shows the dose distribution in water along the incident electron beam. The volume of the water cube is divided into slices perpendicular to the i...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This example shows the dose distribution in water along the incident electron beam. The volume of the water cube is divided into slices perpendicular to the incident beam. At each slice the deposited dose and energy is computed. &lt;br /&gt;
&lt;br /&gt;
The slices are created using class &amp;#039;&amp;#039;&amp;#039;G4PVReplica&amp;#039;&amp;#039;&amp;#039;. The energy and dose are scored using classes &amp;#039;&amp;#039;&amp;#039;G4UserSteppingAction&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;G4UserRunAction&amp;#039;&amp;#039;&amp;#039;. The electron beam is generated using &amp;#039;&amp;#039;&amp;#039;Varian Clinac 2100 C/D&amp;#039;&amp;#039;&amp;#039; [http://www.hep.ucl.ac.uk/pbt/RadiotherapyWorkbook/skins/common/images/ElectronPHSP/phase-spacedata.txt phase-space data] files. You can find more information about phase-space data at the [https://www-nds.iaea.org/phsp/phsp.htmlx IAEA website]. [https://www-nds.iaea.org/phsp/electron1/VarianClinac_2100CD-readme.pdf Here] you can read more about the &amp;#039;&amp;#039;&amp;#039;Varian Clinac 2100 C/D&amp;#039;&amp;#039;&amp;#039; electron beam. There is an option to chose among several &amp;#039;&amp;#039;&amp;#039;EM&amp;#039;&amp;#039;&amp;#039; physics lists.&lt;br /&gt;
&lt;br /&gt;
== How to run the tutorial == &lt;br /&gt;
&lt;br /&gt;
; Connect to the HEP cluster and create folder ElectronPHSPFolder in your area&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh -X username@plus1.hep.ucl.ac.uk &lt;br /&gt;
&lt;br /&gt;
username@plus1.hep.ucl.ac.uk&amp;#039;s password: type your password here&lt;br /&gt;
 &lt;br /&gt;
[username@plus1 ~]$ mkdir ElectronPHSPFolder &lt;br /&gt;
&lt;br /&gt;
[username@plus1 ~]$ cd ElectronPHSPFolder  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Setup your environment&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[username@plus1 ElectronPHSPFolder]$ source /unix/pbt/software/dev/bin/pbt-dev.sh  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Copy the code to your working directory and rename it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[username@plus1 ElectronPHSPFolder]$ cp -r /unix/pbt/tutorials/basic/ElectronPHSP .&lt;br /&gt;
  &lt;br /&gt;
[username@plus1 ElectronPHSPFolder]$ mv ElectronPHS ElectronPHSP_source&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Inside /home/username/ElectronPHSPFolder/ create a directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[username@plus1 ElectronPHSPFolder]$ mkdir ElectronPHSP_build  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; To compile the code enter this directory and run cmake and make &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[username@plus1 ElectronPHSPFolder]$ cd ElectronPHSP_build &lt;br /&gt;
&lt;br /&gt;
[username@plus1 ElectronPHSP_build]$ cmake -DGeant4_DIR=/unix/pbt/software/dev /home/username/ElectronPHSPFolder &lt;br /&gt;
/ElectronPHSP_source &lt;br /&gt;
&lt;br /&gt;
[username@plus1 ElectronPHSP_build]$ make  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Run macro electron.mac &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[username@plus1 ElectronPHSP_build]$ ./electronPHSP electron.mac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
== How to analyze data ==&lt;br /&gt;
&lt;br /&gt;
=== Text files ===&lt;br /&gt;
&lt;br /&gt;
=== Run with different settings ===&lt;br /&gt;
&lt;br /&gt;
=== Visualisation ===&lt;br /&gt;
&lt;br /&gt;
== Files ==&lt;/div&gt;</summary>
		<author><name>SimonJolly</name></author>
	</entry>
</feed>