<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.iac.isu.edu/index.php?action=history&amp;feed=atom&amp;title=LH2_target3</id>
	<title>LH2 target3 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.iac.isu.edu/index.php?action=history&amp;feed=atom&amp;title=LH2_target3"/>
	<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=LH2_target3&amp;action=history"/>
	<updated>2026-05-08T13:10:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=LH2_target3&amp;diff=122303&amp;oldid=prev</id>
		<title>Vanwdani: /* Detector Material and Construction */</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=LH2_target3&amp;diff=122303&amp;oldid=prev"/>
		<updated>2018-04-04T03:08:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Detector Material and Construction&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 03:08, 4 April 2018&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-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;=Detector Material and Construction=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;=Detector Material and Construction=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;Using GEANT4, the '''ExampleN02''' file was edited to run for a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;NH3 &lt;/del&gt;target.  The file '''ExN02DetectorConstruction.cc''' was edited with&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;Using GEANT4, the '''ExampleN02''' file was edited to run for a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;LH2 &lt;/ins&gt;target.  The file '''ExN02DetectorConstruction.cc''' was edited with&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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='diff-marker'&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;/table&gt;</summary>
		<author><name>Vanwdani</name></author>
	</entry>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=LH2_target3&amp;diff=122302&amp;oldid=prev</id>
		<title>Vanwdani: /* Detector Material and Construction */</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=LH2_target3&amp;diff=122302&amp;oldid=prev"/>
		<updated>2018-04-04T03:07:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Detector Material and Construction&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 03:07, 4 April 2018&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-l12&quot; &gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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='diff-marker'&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='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The target is a cylinder with a 1.5 cm diameter and 1 cm thickness following dimensions listed on page 8 of  [[File:PHY02-33.pdf ]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;//--------- Sizes of the principal geometrical components (solids)  ---------&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;//--------- Sizes of the principal geometrical components (solids)  ---------&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key iacwikidb-iacwiki_:diff::1.12:old-122301:rev-122302 --&gt;
&lt;/table&gt;</summary>
		<author><name>Vanwdani</name></author>
	</entry>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=LH2_target3&amp;diff=122301&amp;oldid=prev</id>
		<title>Vanwdani: /* Detector Material and Construction */</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=LH2_target3&amp;diff=122301&amp;oldid=prev"/>
		<updated>2018-04-04T03:07:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Detector Material and Construction&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 03:07, 4 April 2018&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-l33&quot; &gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;   G4double targetSize  = 0.5*fTargetLength;    // Half length of the Target&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;   G4double targetSize  = 0.5*fTargetLength;    // Half length of the Target&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;   G4double trackerSize = 0.5*fTrackerLength;   // Half length of the Tracker&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;   G4double trackerSize = 0.5*fTrackerLength;   // Half length of the Tracker&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  // Target&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  //------------------------------&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  G4ThreeVector positionTarget = G4ThreeVector(0,0,-(targetSize+trackerSize)-10*cm);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  //solidTarget = new G4Box(&amp;quot;target&amp;quot;,20*cm,20*cm,targetSize);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;G4double innerRadiusOfTheTube = 0.*cm;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  G4double outerRadiusOfTheTube = 1.25*cm;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  G4double hightOfTheTube = 0.05*cm;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  G4double startAngleOfTheTube = 0.*deg;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  G4double spanningAngleOfTheTube = 360.*deg;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  solidTarget  = new G4Tubs(&amp;quot;tracker_tube&amp;quot;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                 innerRadiusOfTheTube,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                 outerRadiusOfTheTube,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                 hightOfTheTube,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                 startAngleOfTheTube,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                 spanningAngleOfTheTube);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  //logicTarget = new G4LogicalVolume(solidTarget,TargetMater,&amp;quot;Target&amp;quot;,0,0,0);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  logicTarget = new G4LogicalVolume(solidTarget,TargetMater,&amp;quot;Target&amp;quot;,0,0,0);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  physiTarget = new G4PVPlacement(0,               // no rotation&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                  positionTarget,  // at (x,y,z)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                  logicTarget,     // its logical volume&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                  &amp;quot;Target&amp;quot;,        // its name&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                  logicWorld,	   // its mother  volume&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                  false,           // no boolean operations&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;                                  0);              // copy number&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  G4cout &amp;lt;&amp;lt; &amp;quot;Target is &amp;quot; &amp;lt;&amp;lt; fTargetLength/cm &amp;lt;&amp;lt; &amp;quot; cm of &amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &amp;lt;&amp;lt; TargetMater-&amp;gt;GetName() &amp;lt;&amp;lt; G4endl;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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='diff-marker'&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='diff-marker'&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;/td&gt;&lt;td class='diff-marker'&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;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key iacwikidb-iacwiki_:diff::1.12:old-122300:rev-122301 --&gt;
&lt;/table&gt;</summary>
		<author><name>Vanwdani</name></author>
	</entry>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=LH2_target3&amp;diff=122300&amp;oldid=prev</id>
		<title>Vanwdani: Created page with &quot;=Detector Material and Construction= Using GEANT4, the '''ExampleN02''' file was edited to run for a NH3 target.  The file '''ExN02DetectorConstruction.cc''' was edited with...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=LH2_target3&amp;diff=122300&amp;oldid=prev"/>
		<updated>2018-04-04T03:05:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Detector Material and Construction= Using GEANT4, the &amp;#039;&amp;#039;&amp;#039;ExampleN02&amp;#039;&amp;#039;&amp;#039; file was edited to run for a NH3 target.  The file &amp;#039;&amp;#039;&amp;#039;ExN02DetectorConstruction.cc&amp;#039;&amp;#039;&amp;#039; was edited with...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Detector Material and Construction=&lt;br /&gt;
Using GEANT4, the '''ExampleN02''' file was edited to run for a NH3 target.  The file '''ExN02DetectorConstruction.cc''' was edited with&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//--------- Material definition ---------&lt;br /&gt;
  &lt;br /&gt;
  G4double a, z;&lt;br /&gt;
  G4double density, temperature, pressure;&lt;br /&gt;
&lt;br /&gt;
//Liquid Hydrogen&lt;br /&gt;
G4Material* LH2 = new G4Material(&amp;quot;Hydrogen&amp;quot;, z=2., a=2.02*g/mole,  density=0.07*g/cm3, kStateGas,3*kelvin,1.7e5*pascal);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The target is a cylinder with a 1.5 cm diameter and 1 cm thickness following dimensions listed on page 8 of  [[File:PHY02-33.pdf ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//--------- Sizes of the principal geometrical components (solids)  ---------&lt;br /&gt;
&lt;br /&gt;
  NbOfChambers = 1;&lt;br /&gt;
  ChamberWidth = 1.5*cm;&lt;br /&gt;
  ChamberSpacing = 40*cm;&lt;br /&gt;
&lt;br /&gt;
  fTrackerLength = (NbOfChambers+1)*ChamberSpacing; // Full length of Tracker&lt;br /&gt;
  fTargetLength  = 0.1 * cm;                        // Full length of Target&lt;br /&gt;
&lt;br /&gt;
  TargetMater = LH2;&lt;br /&gt;
  ChamberMater = BadVacuum;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  //fWorldLength= 1.2 *(fTargetLength+fTrackerLength);&lt;br /&gt;
  fWorldLength= 1.2 *(10+fTrackerLength)+100 *cm;&lt;br /&gt;
&lt;br /&gt;
  G4double targetSize  = 0.5*fTargetLength;    // Half length of the Target&lt;br /&gt;
  G4double trackerSize = 0.5*fTrackerLength;   // Half length of the Tracker&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Recording Moller Events=&lt;br /&gt;
Moller scattering does not have a GEANT4 specific setting, so the file '''ExN02SteppingVerbose.cc''' was edited to record only events that would correspond to Moller events.  Since Moller scattering is simply electron-electron scattering, we can look for events where electron ionization is the process in the data stream.  We will limit this to only particles with a parentID of 0 and 1 representing the parent and daughter (Moller) electrons.  This eliminates second generation Moller scatterings, which only ocur about 2 times out of 1E6 incoming electrons.  This method also eliminates Delta Rays or Knock-on-Electrons.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The file ExN02SteppingVerbose.cc is read for each step in the GEANT4 simulation, so recording the momentum, position, and energies of the electrons before and after the collision can be found in multiple loops.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the first pass of SteppingVerbose, the data is recorded into a temporary variable set.  The physical process of ionization occurs after the collision of the two electrons.  This implies that the data could possible be the initial state of the incoming electron.  This is read every time to be prepared for the subsequent pass where the process of ionization (scattering) is active.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
void ExN02SteppingVerbose::StepInfo()&lt;br /&gt;
{&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
if(fTrack-&amp;gt;GetDefinition()-&amp;gt;GetPDGEncoding()==11 &amp;amp;&amp;amp; fStep-&amp;gt;GetPostStepPoint()-&amp;gt;GetProcessDefinedStep()-&amp;gt;GetProcessName()!=&amp;quot;eIoni&amp;quot; &amp;amp;&amp;amp; fTrack-&amp;gt;GetParentID()==0)&lt;br /&gt;
    {&lt;br /&gt;
        Temp_Energy=fTrack-&amp;gt;GetKineticEnergy();&lt;br /&gt;
        Temp_Mom_x=fTrack-&amp;gt;GetMomentum().x();&lt;br /&gt;
        Temp_Mom_y=fTrack-&amp;gt;GetMomentum().y();&lt;br /&gt;
        Temp_Mom_z=fTrack-&amp;gt;GetMomentum().z();&lt;br /&gt;
        Temp_Pos_x=fTrack-&amp;gt;GetPosition().x();&lt;br /&gt;
        Temp_Pos_y=fTrack-&amp;gt;GetPosition().y();&lt;br /&gt;
        Temp_Pos_z=fTrack-&amp;gt;GetPosition().z();&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On a pass afterwards, the data is read into a variable for the final state when the physical state is ionization, representing the Moller scattering.  The the temporary variable is read into the initial state.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if( fTrack-&amp;gt;GetDefinition()-&amp;gt;GetPDGEncoding()==11 &amp;amp;&amp;amp; fStep-&amp;gt;GetPostStepPoint()-&amp;gt;GetProcessDefinedStep()-&amp;gt;GetProcessName()==&amp;quot;eIoni&amp;quot; &amp;amp;&amp;amp; fTrack-&amp;gt;GetParentID()==0)&lt;br /&gt;
    {&lt;br /&gt;
        Final_Energy= fTrack-&amp;gt;GetKineticEnergy();&lt;br /&gt;
        Final_Mom_x=fTrack-&amp;gt;GetMomentum().x();&lt;br /&gt;
        Final_Mom_y=fTrack-&amp;gt;GetMomentum().y();&lt;br /&gt;
        Final_Mom_z=fTrack-&amp;gt;GetMomentum().z();&lt;br /&gt;
        Final_Pos_x=fTrack-&amp;gt;GetPosition().x();&lt;br /&gt;
        Final_Pos_y=fTrack-&amp;gt;GetPosition().y();&lt;br /&gt;
        Final_Pos_z=fTrack-&amp;gt;GetPosition().z();&lt;br /&gt;
       &lt;br /&gt;
        Init_Energy=Temp_Energy;&lt;br /&gt;
        Init_Mom_x=Temp_Mom_x; &lt;br /&gt;
        Init_Mom_y=Temp_Mom_y; &lt;br /&gt;
        Init_Mom_z=Temp_Mom_z; &lt;br /&gt;
        Init_Pos_x=Temp_Pos_x; &lt;br /&gt;
        Init_Pos_y=Temp_Pos_y; &lt;br /&gt;
        Init_Pos_z=Temp_Pos_z;&lt;br /&gt;
        &lt;br /&gt;
        }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will write the data to an external file only for a 1st generation daughter particle and an active trigger.  Afterwards, the trigger is turned off so that the recording process can start again.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
if(fTrack-&amp;gt;GetDefinition()-&amp;gt;GetPDGEncoding()==11 &amp;amp;&amp;amp; fTrack-&amp;gt;GetParentID()==1 &amp;amp;&amp;amp; trigger==1 )&lt;br /&gt;
   {&lt;br /&gt;
     outfile&lt;br /&gt;
     //G4cout&lt;br /&gt;
       &amp;lt;&amp;lt; Init_Energy&amp;lt;&amp;lt; &amp;quot;    &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Init_Mom_x &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Init_Mom_y &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Init_Mom_z &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Init_Pos_x &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Init_Pos_y &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Init_Pos_z &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt; Final_Energy &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Final_Mom_x &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Final_Mom_y &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Final_Mom_z &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Final_Pos_x &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Final_Pos_y &amp;lt;&amp;lt; &amp;quot;     &amp;quot;  &lt;br /&gt;
       &amp;lt;&amp;lt;  Final_Pos_z &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt; Mol_Energy &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Mol_Mom_x &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Mol_Mom_y &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Mol_Mom_z &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Mol_Pos_x &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Mol_Pos_y &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt;  Mol_Pos_z &amp;lt;&amp;lt; &amp;quot;     &amp;quot;&lt;br /&gt;
       &amp;lt;&amp;lt; G4endl;&lt;br /&gt;
  trigger=0;&lt;br /&gt;
   }&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On a later pass, the condition that the parentID no longer represents the parent.  This implies that the particle a Moller electron and the data is recorded into the Moller final state.  The trigger is activated, which on the next pass of the program will allow a printout of all Moller Scattering data.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
void ExN02SteppingVerbose::TrackingStarted()&lt;br /&gt;
{&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
if(fTrack-&amp;gt;GetDefinition()-&amp;gt;GetPDGEncoding()==11 &amp;amp;&amp;amp; fTrack-&amp;gt;GetParentID()&amp;gt;0)&lt;br /&gt;
   {&lt;br /&gt;
     Mol_Energy=fTrack-&amp;gt;GetKineticEnergy();&lt;br /&gt;
     Mol_Mom_x=fTrack-&amp;gt;GetMomentum().x();&lt;br /&gt;
     Mol_Mom_y=fTrack-&amp;gt;GetMomentum().y();&lt;br /&gt;
     Mol_Mom_z=fTrack-&amp;gt;GetMomentum().z();&lt;br /&gt;
     Mol_Pos_x=fTrack-&amp;gt;GetPosition().x();&lt;br /&gt;
     Mol_Pos_y=fTrack-&amp;gt;GetPosition().y();&lt;br /&gt;
     Mol_Pos_z=fTrack-&amp;gt;GetPosition().z();&lt;br /&gt;
     trigger=1; &lt;br /&gt;
   }&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Running the simulation&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake .&lt;br /&gt;
make -f Makefile&lt;br /&gt;
./exampleN02 run4.mac&amp;gt;/dev/null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where the run4.mac file is&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/gun/particle e-&lt;br /&gt;
/gun/energy 11 GeV&lt;br /&gt;
/event/verbose 0&lt;br /&gt;
/tracking/verbose 1&lt;br /&gt;
/run/beamOn 6000000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=Working with Moller Data=&lt;br /&gt;
The event data from the GEANT4 simulation is written to a data file in the following format:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; align=center&lt;br /&gt;
|-&lt;br /&gt;
! KE&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; &lt;br /&gt;
! Px&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; &lt;br /&gt;
! Py&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; &lt;br /&gt;
! Pz&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; &lt;br /&gt;
! x&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; &lt;br /&gt;
! y&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; &lt;br /&gt;
! z&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &lt;br /&gt;
! KE&amp;lt;sub&amp;gt;f&amp;lt;/sub&amp;gt; &lt;br /&gt;
! Px&amp;lt;sub&amp;gt;f&amp;lt;/sub&amp;gt; &lt;br /&gt;
! Py&amp;lt;sub&amp;gt;f&amp;lt;/sub&amp;gt; &lt;br /&gt;
! Pz&amp;lt;sub&amp;gt;f&amp;lt;/sub&amp;gt; &lt;br /&gt;
! x&amp;lt;sub&amp;gt;f&amp;lt;/sub&amp;gt; &lt;br /&gt;
! y&amp;lt;sub&amp;gt;f&amp;lt;/sub&amp;gt; &lt;br /&gt;
! z&amp;lt;sub&amp;gt;f&amp;lt;/sub&amp;gt; &lt;br /&gt;
! KE&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt; &lt;br /&gt;
! Px&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt; &lt;br /&gt;
! Py&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt; &lt;br /&gt;
! Pz&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt; &lt;br /&gt;
! x&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt; &lt;br /&gt;
! y&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt; &lt;br /&gt;
! z&amp;lt;sub&amp;gt;m&amp;lt;/sub&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 11000 &lt;br /&gt;
| 0 &lt;br /&gt;
| 0 &lt;br /&gt;
| 11000.5 &lt;br /&gt;
| 0 &lt;br /&gt;
| 0 &lt;br /&gt;
| -510 &lt;br /&gt;
| 10999.1 &lt;br /&gt;
| 0.433025 &lt;br /&gt;
| -0.858867 &lt;br /&gt;
| 10999.6 &lt;br /&gt;
| 0 &lt;br /&gt;
| 0 &lt;br /&gt;
| -509.276 &lt;br /&gt;
| 0.905324 &lt;br /&gt;
| -0.433025 &lt;br /&gt;
| 0.858867 &lt;br /&gt;
| 0.905366 &lt;br /&gt;
| 0 &lt;br /&gt;
| 0 &lt;br /&gt;
| -509.276&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;center&amp;gt;'''Table 1:'''Data format for Moller events in GEANT4 simulation.  &amp;quot;i&amp;quot; represents the incoming electron, &amp;quot;f&amp;quot; represents the scattered, or final state, of the incoming electron, and &amp;quot;m&amp;quot; stands for the Moller electron.&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Where each line represents a Moller scattering with the kinematic variables of kinetic energy, momentum in the x, y, and z directions, as well as the x, y, and z position of the collision for the Incoming electron, the scattered state of the incoming electron, and the scattered Moller electron in that specific order.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using a c++ macro, the variables are read into a Root tree, with branches for each variable.  Specific histograms are also created for the total momentum and the scattering angle theta for the scattered and Moller electron, both in the Lab frame and Center of Mass frame.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tree-&amp;gt;Branch(&amp;quot;evt&amp;quot;,&amp;amp;evt.event,&amp;quot;event/I:IntKE/F:IntPx:IntPy:IntPz:IntPosx:IntPosy:IntPosz:FnlKE:FnlPx:FnlPy:FnlPz:FnlPosx:FnlPosy:FnlPosz:&lt;br /&gt;
                MolKE:MolPx:MolPy:MolPz:MolPosx:MolPosy:MolPosz&amp;quot;);&lt;br /&gt;
        while(in.good())&lt;br /&gt;
                {&lt;br /&gt;
//Create Tree from GEANT4 simulation data&lt;br /&gt;
                evt.event=nlines;&lt;br /&gt;
                in &amp;gt;&amp;gt; evt.IntKE &amp;gt;&amp;gt; evt.IntMom[0] &amp;gt;&amp;gt; evt.IntMom[1] &amp;gt;&amp;gt; evt.IntMom[2]   &amp;gt;&amp;gt; evt.IntPos[0]&lt;br /&gt;
                &amp;gt;&amp;gt; evt.IntPos[1] &amp;gt;&amp;gt; evt.IntPos[2] &amp;gt;&amp;gt; evt.FnlKE &amp;gt;&amp;gt; evt.FnlMom[0] &amp;gt;&amp;gt; evt.FnlMom[1] &amp;gt;&amp;gt; evt.FnlMom[2]&lt;br /&gt;
                &amp;gt;&amp;gt; evt.FnlPos[0] &amp;gt;&amp;gt; evt.FnlPos[1] &amp;gt;&amp;gt; evt.FnlPos[2] &amp;gt;&amp;gt; evt.MolKE &amp;gt;&amp;gt; evt.MolMom[0] &amp;gt;&amp;gt; evt.MolMom[1]&lt;br /&gt;
                &amp;gt;&amp;gt; evt.MolMom[2] &amp;gt;&amp;gt; evt.MolPos[0] &amp;gt;&amp;gt; evt.MolPos[1] &amp;gt;&amp;gt; evt.MolPos[2];&lt;br /&gt;
             &lt;br /&gt;
                nlines++;&lt;br /&gt;
&lt;br /&gt;
                tree-&amp;gt;Fill();&lt;br /&gt;
&lt;br /&gt;
                FnlE=sqrt(evt.FnlMom[0]*evt.FnlMom[0]+evt.FnlMom[1]*evt.FnlMom[1]+evt.FnlMom[2]*evt.FnlMom[2]+0.511*0.511);&lt;br /&gt;
                IntE=sqrt(evt.IntMom[0]*evt.IntMom[0]+evt.IntMom[1]*evt.IntMom[1]+evt.IntMom[2]*evt.IntMom[2]+0.511*0.511);&lt;br /&gt;
                MolE=sqrt(evt.MolMom[0]*evt.MolMom[0]+evt.MolMom[1]*evt.MolMom[1]+evt.MolMom[2]*evt.MolMom[2]+0.511*0.511);//Define 4Vectors&lt;br /&gt;
                Fnl4Mom.SetPxPyPzE(evt.FnlMom[0],evt.FnlMom[1],evt.FnlMom[2],FnlE);&lt;br /&gt;
                Int4Mom.SetPxPyPzE(evt.IntMom[0],evt.IntMom[1],evt.IntMom[2],IntE);&lt;br /&gt;
                Mol4Mom.SetPxPyPzE(evt.MolMom[0],evt.MolMom[1],evt.MolMom[2],MolE);&lt;br /&gt;
                  &lt;br /&gt;
        //Create Lab Frame Histograms&lt;br /&gt;
                FinalMomentum-&amp;gt;Fill(Fnl4Mom.P());&lt;br /&gt;
                MollerMomentum-&amp;gt;Fill(Mol4Mom.P());&lt;br /&gt;
                FinalTheta-&amp;gt;Fill(Fnl4Mom.Theta()*180/3.14);&lt;br /&gt;
                MollerTheta-&amp;gt;Fill(Mol4Mom.Theta()*180/3.14);&lt;br /&gt;
        //Boost to Center of Mass Frame&lt;br /&gt;
                CMS=Fnl4Mom+Mol4Mom;&lt;br /&gt;
                Fnl4Mom.Boost(-CMS.BoostVector());&lt;br /&gt;
               &lt;br /&gt;
                Mol4Mom.Boost(-CMS.BoostVector());&lt;br /&gt;
        //Create CM Histograms&lt;br /&gt;
                FinalMomentumCM-&amp;gt;Fill(Fnl4Mom.P());&lt;br /&gt;
                MollerMomentumCM-&amp;gt;Fill(Mol4Mom.P());&lt;br /&gt;
                FinalThetaCM-&amp;gt;Fill(Fnl4Mom.Theta()*180/3.14);&lt;br /&gt;
                MollerThetaCM-&amp;gt;Fill(Mol4Mom.Theta()*180/3.14);&lt;br /&gt;
                }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=Links=&lt;br /&gt;
[[DV_RunGroupC_Moller#Simulation_Setup| Back]]&lt;/div&gt;</summary>
		<author><name>Vanwdani</name></author>
	</entry>
</feed>