<?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=Burg_jeff_E1_E2.py</id>
	<title>Burg jeff E1 E2.py - 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=Burg_jeff_E1_E2.py"/>
	<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Burg_jeff_E1_E2.py&amp;action=history"/>
	<updated>2026-05-09T15:39:31Z</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=Burg_jeff_E1_E2.py&amp;diff=121664&amp;oldid=prev</id>
		<title>Burgjeff at 05:15, 20 February 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Burg_jeff_E1_E2.py&amp;diff=121664&amp;oldid=prev"/>
		<updated>2018-02-20T05:15:06Z</updated>

		<summary type="html">&lt;p&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 05:15, 20 February 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;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;  &amp;lt;nowiki&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;File:&lt;/del&gt;import mytools2 as mt2&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;  &amp;lt;nowiki&amp;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;import mytools2 as mt2&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;import mytools as mt&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;import mytools as mt&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;import ROOT&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;import ROOT&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key iacwikidb-iacwiki_:diff::1.12:old-121663:rev-121664 --&gt;
&lt;/table&gt;</summary>
		<author><name>Burgjeff</name></author>
	</entry>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=Burg_jeff_E1_E2.py&amp;diff=121663&amp;oldid=prev</id>
		<title>Burgjeff at 05:14, 20 February 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Burg_jeff_E1_E2.py&amp;diff=121663&amp;oldid=prev"/>
		<updated>2018-02-20T05:14:05Z</updated>

		<summary type="html">&lt;p&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 05:14, 20 February 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;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;&amp;lt;nowiki&amp;gt;import mytools2 as mt2&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;&amp;lt;nowiki&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;File:&lt;/ins&gt;import mytools2 as mt2&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;import mytools as mt&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;import mytools as mt&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;import ROOT&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;import ROOT&lt;/div&gt;&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-l139&quot; &gt;Line 139:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 139:&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;         except(KeyboardInterrupt, SystemExit):&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;         except(KeyboardInterrupt, SystemExit):&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;             ___input_p___.terminate()&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;             ___input_p___.terminate()&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 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;/nowiki&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;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Burgjeff</name></author>
	</entry>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=Burg_jeff_E1_E2.py&amp;diff=121662&amp;oldid=prev</id>
		<title>Burgjeff at 05:12, 20 February 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Burg_jeff_E1_E2.py&amp;diff=121662&amp;oldid=prev"/>
		<updated>2018-02-20T05:12:12Z</updated>

		<summary type="html">&lt;p&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 05:12, 20 February 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;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;import mytools2 as mt2&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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;import mytools2 as mt2&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;import mytools as mt&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;import mytools as mt&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;import ROOT&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;import ROOT&lt;/div&gt;&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-l139&quot; &gt;Line 139:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 139:&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;         except(KeyboardInterrupt, SystemExit):&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;         except(KeyboardInterrupt, SystemExit):&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;             ___input_p___.terminate()&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;             ___input_p___.terminate()&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;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Burgjeff</name></author>
	</entry>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=Burg_jeff_E1_E2.py&amp;diff=121661&amp;oldid=prev</id>
		<title>Burgjeff: Created page with &quot;import mytools2 as mt2 import mytools as mt import ROOT import numpy as np from TH1Wrapper import TH2F,TH3F  target = &quot;D2O&quot; forward = 1 particle = &quot;neutrons&quot; binwidth=1.25 del...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Burg_jeff_E1_E2.py&amp;diff=121661&amp;oldid=prev"/>
		<updated>2018-02-20T05:11:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;import mytools2 as mt2 import mytools as mt import ROOT import numpy as np from TH1Wrapper import TH2F,TH3F  target = &amp;quot;D2O&amp;quot; forward = 1 particle = &amp;quot;neutrons&amp;quot; binwidth=1.25 del...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;import mytools2 as mt2&lt;br /&gt;
import mytools as mt&lt;br /&gt;
import ROOT&lt;br /&gt;
import numpy as np&lt;br /&gt;
from TH1Wrapper import TH2F,TH3F&lt;br /&gt;
&lt;br /&gt;
target = &amp;quot;D2O&amp;quot;&lt;br /&gt;
forward = 1&lt;br /&gt;
particle = &amp;quot;neutrons&amp;quot;&lt;br /&gt;
binwidth=1.25&lt;br /&gt;
delta_thetaperp = 45&lt;br /&gt;
cutmode = 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if forward:&lt;br /&gt;
    treeSP, n_pulses_SP = getattr(mt2.NCorrRun(&amp;quot;SP&amp;quot;,target,Forward = forward),&amp;quot;{}_doubles_tree&amp;quot;.format(particle))&lt;br /&gt;
    treeDP,n_pulses_DP = getattr(mt2.NCorrRun(&amp;quot;DP&amp;quot;,target, Forward = forward),&amp;quot;{}_doubles_tree&amp;quot;.format(particle))&lt;br /&gt;
else:&lt;br /&gt;
    treeSP, n_pulses_SP = getattr(mt2.NCorrRun(&amp;quot;SP&amp;quot;, target), &amp;quot;{}_doubles_tree&amp;quot;.format(particle))&lt;br /&gt;
    treeDP, n_pulses_DP = getattr(mt2.NCorrRun(&amp;quot;DP&amp;quot;, target), &amp;quot;{}_doubles_tree&amp;quot;.format(particle))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
delta_thetapar= 90- delta_thetaperp&lt;br /&gt;
cutPerp = mt.cut_rangeAND([(3.1415/180)*(90-delta_thetaperp), (3.1415/180)*(90+delta_thetaperp)],&amp;quot;neutrons.coinc_hits.theta_abs[0][1]&amp;quot;)&lt;br /&gt;
cutPar = mt.cut_range_outer([(3.1415/180)*(delta_thetapar), (3.1415/180)*(180-delta_thetapar)],&amp;quot;neutrons.coinc_hits.theta_abs[0][1]&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
histSP = TH2F(mins=0,maxs=6,binwidths=1.5)&lt;br /&gt;
histDP = TH2F(mins=0,maxs=6,binwidths=1.5)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if forward:&lt;br /&gt;
    # cut = &amp;quot;{0}.coinc_hits[].ForwardDet[0]==0 &amp;amp;&amp;amp; {0}.coinc_hits[].ForwardDet[1]==0 &amp;quot;.format(particle)&lt;br /&gt;
    cut = [&amp;quot;&amp;quot;,cutPar,cutPerp][cutmode]&lt;br /&gt;
    drw_str = &amp;quot;neutrons.coinc_hits[0].erg[0]:neutrons.coinc_hits[0].erg[1]&amp;quot;&lt;br /&gt;
else:&lt;br /&gt;
    drw_str = &amp;quot;neutrons.hits[0].erg:neutrons.hits[1].erg&amp;quot;&lt;br /&gt;
    cut = &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
histSP.Project(treeSP,drw_str, cut, weight=1.0/n_pulses_SP)&lt;br /&gt;
histDP.Project(treeDP,drw_str, cut, weight=1.0/n_pulses_DP)&lt;br /&gt;
&lt;br /&gt;
c1 = ROOT.TCanvas()&lt;br /&gt;
&lt;br /&gt;
c1.Divide(2)&lt;br /&gt;
c1.cd(1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
histSP -= 0.5*histDP&lt;br /&gt;
&lt;br /&gt;
histSP.normalize()&lt;br /&gt;
histDP.normalize()&lt;br /&gt;
&lt;br /&gt;
histSP /= histDP&lt;br /&gt;
&lt;br /&gt;
histSP.GetXaxis().SetTitle(&amp;quot;E1 [MeV]&amp;quot;)&lt;br /&gt;
histSP.GetYaxis().SetTitle(&amp;quot;E2 [MeV]&amp;quot;)&lt;br /&gt;
histSP.GetZaxis().SetTitle(&amp;quot;normalized correlation [arb. units]&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
histSP.GetYaxis().SetTitleOffset(1.75)&lt;br /&gt;
histSP.GetXaxis().SetTitleOffset(1.75)&lt;br /&gt;
histSP.GetZaxis().SetTitleOffset(1.4)&lt;br /&gt;
# print histSP.GetTitleOffset(0)&lt;br /&gt;
# print histSP.GetTitleOffset(1)&lt;br /&gt;
&lt;br /&gt;
histSPTr = histSP.__copy__()&lt;br /&gt;
histSPTr.transpose()&lt;br /&gt;
histSP += histSPTr&lt;br /&gt;
histSP *=0.5&lt;br /&gt;
&lt;br /&gt;
histSP.SetName(&amp;quot;E1vsE2&amp;quot;)&lt;br /&gt;
histSP.SetTitle([&amp;quot;No #theta_{{abs}} cut&amp;quot;, &amp;quot;parallel to beam  (#parallel #pm {par}#circ) &amp;quot;, &amp;quot;perpendicular to beam (#perp #pm {perp})&amp;quot;][cutmode].format(par=delta_thetapar, perp = delta_thetaperp))&lt;br /&gt;
histSP.SetStats(0)&lt;br /&gt;
&lt;br /&gt;
histSP.Draw(&amp;quot;Lego2 E&amp;quot;,False)&lt;br /&gt;
&lt;br /&gt;
c1.cd(2)&lt;br /&gt;
ROOT.TGaxis.SetMaxDigits(2)&lt;br /&gt;
&lt;br /&gt;
_ = histSP.__copy__()&lt;br /&gt;
_.SetTitle(&amp;quot;same data&amp;quot;)&lt;br /&gt;
_.SetStats(0)&lt;br /&gt;
# _.Draw(&amp;quot;colz&amp;quot;,False)&lt;br /&gt;
&lt;br /&gt;
errors = histSP.getErrorsHistogram(relative_error=False if target==&amp;quot;D2O&amp;quot; else False)&lt;br /&gt;
errors.SetStats(0)&lt;br /&gt;
errors.GetZaxis().SetTitleOffset(1.65)&lt;br /&gt;
&lt;br /&gt;
t = &amp;quot;relative error&amp;quot; if target!=&amp;quot;D2O&amp;quot; else &amp;quot;Absolute error&amp;quot;&lt;br /&gt;
&lt;br /&gt;
errors.GetZaxis().SetTitle(t)&lt;br /&gt;
&lt;br /&gt;
errors.SetTitle(t)&lt;br /&gt;
errors.Draw(&amp;quot;Lego&amp;quot;,False)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if __name__ == &amp;quot;__main__&amp;quot;:&lt;br /&gt;
    import ROOT as ROOT&lt;br /&gt;
    from multiprocessing import Process, Queue&lt;br /&gt;
    import time, sys, os&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    def input_thread(q, stdin):&lt;br /&gt;
        while True:&lt;br /&gt;
            print 'ROOT: '&lt;br /&gt;
            cmd = stdin.readline()&lt;br /&gt;
            q.put(cmd)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    def root(char):&lt;br /&gt;
        assert isinstance(char, str), &amp;quot;Argument must be string!&amp;quot;&lt;br /&gt;
        ROOT.gROOT.ProcessLine(char)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    if __name__ == '__main__':&lt;br /&gt;
        ___queue___ = Queue()&lt;br /&gt;
        ___newstdin___ = os.fdopen(os.dup(sys.stdin.fileno()))&lt;br /&gt;
        ___input_p___ = Process(target=input_thread,&lt;br /&gt;
                                args=(___queue___, ___newstdin___))&lt;br /&gt;
        ___input_p___.daemon = True&lt;br /&gt;
        ___input_p___.start()&lt;br /&gt;
        ___g___ = ROOT.gSystem.ProcessEvents&lt;br /&gt;
        try:&lt;br /&gt;
            while 1:&lt;br /&gt;
                if not ___queue___.empty():&lt;br /&gt;
                    ___cmd___ = ___queue___.get()&lt;br /&gt;
                    try:&lt;br /&gt;
                        exec (___cmd___, globals())&lt;br /&gt;
                    except:&lt;br /&gt;
                        print sys.exc_info()&lt;br /&gt;
                time.sleep(0.01)&lt;br /&gt;
                ___g___()&lt;br /&gt;
        except(KeyboardInterrupt, SystemExit):&lt;br /&gt;
            ___input_p___.terminate()&lt;/div&gt;</summary>
		<author><name>Burgjeff</name></author>
	</entry>
</feed>