<?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=Filling_2D_Energy_Theta_Histogram</id>
	<title>Filling 2D Energy Theta Histogram - 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=Filling_2D_Energy_Theta_Histogram"/>
	<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Filling_2D_Energy_Theta_Histogram&amp;action=history"/>
	<updated>2026-05-09T12:56:42Z</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=Filling_2D_Energy_Theta_Histogram&amp;diff=105380&amp;oldid=prev</id>
		<title>Vanwdani at 22:53, 2 April 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Filling_2D_Energy_Theta_Histogram&amp;diff=105380&amp;oldid=prev"/>
		<updated>2016-04-02T22:53:50Z</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 22:53, 2 April 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-l114&quot; &gt;Line 114:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 114:&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;}//End main&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;}//End main&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 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;----&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;=Links= &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;[[Calculations_of_4-momentum_components#Filling_Histogram|Back]]&lt;/ins&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=Filling_2D_Energy_Theta_Histogram&amp;diff=105378&amp;oldid=prev</id>
		<title>Vanwdani at 22:51, 2 April 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Filling_2D_Energy_Theta_Histogram&amp;diff=105378&amp;oldid=prev"/>
		<updated>2016-04-02T22:51:42Z</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 22:51, 2 April 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-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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;#include &amp;lt;math.h&amp;gt;&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;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;#include &amp;lt;math.h&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;div&gt;  #include &amp;lt;TRandom3.h&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;  #include &amp;lt;TRandom3.h&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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l112&quot; &gt;Line 112:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 113:&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;         delete f;&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;         delete f;&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;}//End main&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;}//End main&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;/table&gt;</summary>
		<author><name>Vanwdani</name></author>
	</entry>
	<entry>
		<id>https://wiki.iac.isu.edu/index.php?title=Filling_2D_Energy_Theta_Histogram&amp;diff=105377&amp;oldid=prev</id>
		<title>Vanwdani: Created page with &quot; #include &lt;math.h&gt;  #include &lt;TRandom3.h&gt;  void Reverse3_Moller() {         struct evt_t         {                 Int_t event;                 Float_t FnlMom[3], MolMom[3];     …&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.iac.isu.edu/index.php?title=Filling_2D_Energy_Theta_Histogram&amp;diff=105377&amp;oldid=prev"/>
		<updated>2016-04-02T22:51:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; #include &amp;lt;math.h&amp;gt;  #include &amp;lt;TRandom3.h&amp;gt;  void Reverse3_Moller() {         struct evt_t         {                 Int_t event;                 Float_t FnlMom[3], MolMom[3];     …&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; #include &amp;lt;math.h&amp;gt;&lt;br /&gt;
 #include &amp;lt;TRandom3.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
void Reverse3_Moller()&lt;br /&gt;
{&lt;br /&gt;
        struct evt_t&lt;br /&gt;
        {&lt;br /&gt;
                Int_t event;&lt;br /&gt;
                Float_t FnlMom[3], MolMom[3];&lt;br /&gt;
        };&lt;br /&gt;
&lt;br /&gt;
        ifstream in;&lt;br /&gt;
        in.open(&amp;quot;Just_Scattered_Momentum_4e8.dat&amp;quot;);&lt;br /&gt;
        evt_t evt;&lt;br /&gt;
        Int_t nlines=0;&lt;br /&gt;
&lt;br /&gt;
        TLorentzVector Fnl_Lab_4Mom;&lt;br /&gt;
        TLorentzVector Mol_Lab_4Mom;&lt;br /&gt;
        TLorentzVector Fnl_CM_4Mom;&lt;br /&gt;
        TLorentzVector Mol_CM_4Mom;&lt;br /&gt;
        TLorentzVector CMS;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        TFile *f = new TFile(&amp;quot;Reverse3_Moller_4e8.root&amp;quot;,&amp;quot;RECREATE&amp;quot;);&lt;br /&gt;
        TTree *tree = new TTree(&amp;quot;Moller&amp;quot;,&amp;quot;Moller data from ascii file&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
        TH2F* MolEThetaCM=new TH2F(&amp;quot;MolEThetaCM&amp;quot;,&amp;quot;Moller E and Theta CM&amp;quot;,42,35,56,183,90,181);&lt;br /&gt;
&lt;br /&gt;
        TH1F* FnlMomLab=new TH1F(&amp;quot;FnlMomLab&amp;quot;,&amp;quot;Final Scattered Electron Momentum Lab Frame &amp;quot;,30000,0,15000);&lt;br /&gt;
        TH1F* MolMomLab=new TH1F(&amp;quot;MolMomLab&amp;quot;,&amp;quot;Moller Momentum Lab Frame &amp;quot;, 12000,0,6000);&lt;br /&gt;
        TH1F* FnlMomCM=new TH1F(&amp;quot;FnlMomCM&amp;quot;,&amp;quot;Final Scattered Electron Momentum CM Frame &amp;quot;,1000,40,60);&lt;br /&gt;
        TH1F* MolMomCM=new TH1F(&amp;quot;MolMomCM&amp;quot;,&amp;quot;Moller Momentum CM Frame &amp;quot;,1000,40,60);&lt;br /&gt;
&lt;br /&gt;
        TH1F* FnlThetaLab=new TH1F(&amp;quot;FinalThetaLab&amp;quot;,&amp;quot;Final Scattered Electron Theta Lab Frame&amp;quot;,200,0,1);&lt;br /&gt;
        TH1F* MolThetaLab=new TH1F(&amp;quot;MolThetaLab&amp;quot;,&amp;quot;Moller Theta Lab Frame&amp;quot;,2000,0,90);&lt;br /&gt;
        TH1F* FnlThetaCM=new TH1F(&amp;quot;FnlThetaCM&amp;quot;,&amp;quot;Final Scattered Electron Theta CM Frame&amp;quot;,360,0,90);&lt;br /&gt;
        TH1F* MolThetaCM=new TH1F(&amp;quot;MolThetaCM&amp;quot;,&amp;quot;Moller Theta CM Frame&amp;quot;,360,90,180);&lt;br /&gt;
&lt;br /&gt;
        TH1F* FnlPhiCM=new TH1F(&amp;quot;FnlPhiCM&amp;quot;,&amp;quot;Final Scattered Electron Phi in CM&amp;quot;,720,-180,180);&lt;br /&gt;
        TH1F* MolPhiCM=new TH1F(&amp;quot;MolPhiCM&amp;quot;,&amp;quot;Final Moller Phi in CM&amp;quot;,720,-180,180);&lt;br /&gt;
        TH1F* FnlPhiLab=new TH1F(&amp;quot;FnlPhiLab&amp;quot;,&amp;quot;Final Scattered Electron Phi in Lab&amp;quot;,720,-180,180);&lt;br /&gt;
        TH1F* MolPhiLab=new TH1F(&amp;quot;MolPhiLab&amp;quot;,&amp;quot;Final Moller Phi in Lab&amp;quot;,720,-180,180);&lt;br /&gt;
&lt;br /&gt;
        tree-&amp;gt;Branch(&amp;quot;evt&amp;quot;,&amp;amp;evt.event,&amp;quot;event/I:FnlPx/F:FnlPy:FnlPz:MolPx:MolPy:MolPz&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
        while(in.good())&lt;br /&gt;
        {&lt;br /&gt;
                evt.event=nlines;&lt;br /&gt;
                in &amp;gt;&amp;gt; evt.FnlMom[0] &amp;gt;&amp;gt; evt.FnlMom[1] &amp;gt;&amp;gt; evt.FnlMom[2] &amp;gt;&amp;gt; evt.MolMom[0] &amp;gt;&amp;gt; evt.MolMom[1] &amp;gt;&amp;gt; evt.MolMom[2];&lt;br /&gt;
                nlines++;&lt;br /&gt;
                tree-&amp;gt;Fill();&lt;br /&gt;
&lt;br /&gt;
                //Define using Final Moller momentum&lt;br /&gt;
&lt;br /&gt;
                        //Define 4 vector&lt;br /&gt;
                                Mol_Lab_4Mom.SetPxPyPzE(evt.MolMom[0],evt.MolMom[1],evt.MolMom[2],&lt;br /&gt;
                                        sqrt(evt.MolMom[0]*evt.MolMom[0]+evt.MolMom[1]*evt.MolMom[1]+evt.MolMom[2]*evt.MolMom[2]+.511*.511));&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
                //Find 4 Momentum vector componets for Final Lab frame scattered electron&lt;br /&gt;
                        //Define 4vector&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
                                Fnl_Lab_4Mom.SetPxPyPzE(evt.FnlMom[0],evt.FnlMom[1],evt.FnlMom[2],&lt;br /&gt;
                                        sqrt(evt.FnlMom[0]*evt.FnlMom[0]+evt.FnlMom[1]*evt.FnlMom[1]+evt.FnlMom[2]*evt.FnlMom[2]+.511*.511));&lt;br /&gt;
 &lt;br /&gt;
        &lt;br /&gt;
                        //Boost vectors&lt;br /&gt;
                                CMS=Fnl_Lab_4Mom+Mol_Lab_4Mom;&lt;br /&gt;
                        //Boost to CM Frame  &lt;br /&gt;
                                Fnl_Lab_4Mom.Boost(-CMS.BoostVector());&lt;br /&gt;
                                Fnl_CM_4Mom=Fnl_Lab_4Mom;&lt;br /&gt;
                                Mol_Lab_4Mom.Boost(-CMS.BoostVector());&lt;br /&gt;
                                Mol_CM_4Mom=Mol_Lab_4Mom;&lt;br /&gt;
        &lt;br /&gt;
                        //Recover the original Final 4-Momentums&lt;br /&gt;
                                Fnl_Lab_4Mom.SetPxPyPzE(evt.FnlMom[0],evt.FnlMom[1],evt.FnlMom[2],&lt;br /&gt;
                                        sqrt(evt.FnlMom[0]*evt.FnlMom[0]+evt.FnlMom[1]*evt.FnlMom[1]+evt.FnlMom[2]*evt.FnlMom[2]+.511*.511));&lt;br /&gt;
                                Mol_Lab_4Mom.SetPxPyPzE(evt.MolMom[0],evt.MolMom[1],evt.MolMom[2],&lt;br /&gt;
                                        sqrt(evt.MolMom[0]*evt.MolMom[0]+evt.MolMom[1]*evt.MolMom[1]+evt.MolMom[2]*evt.MolMom[2]+.511*.511));&lt;br /&gt;
        &lt;br /&gt;
                                //Fill 2D Histogram with Moller Energy and Theta&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
                                if(Mol_Lab_4Mom.E()&amp;gt;500)&lt;br /&gt;
                                {&lt;br /&gt;
                                        MolEThetaCM-&amp;gt;Fill(Mol_CM_4Mom.E(),(Mol_CM_4Mom.Theta()*180/3.14159265359));&lt;br /&gt;
        &lt;br /&gt;
                                        MolThetaCM-&amp;gt;Fill(Mol_CM_4Mom.Theta()*180/3.14159265359);&lt;br /&gt;
                                        FnlThetaCM-&amp;gt;Fill(Fnl_CM_4Mom.Theta()*180/3.14159265359);&lt;br /&gt;
                                        MolThetaLab-&amp;gt;Fill(Mol_Lab_4Mom.Theta()*180/3.14159265359);&lt;br /&gt;
                                        FnlThetaLab-&amp;gt;Fill(Fnl_Lab_4Mom.Theta()*180/3.13159265359);   &lt;br /&gt;
                                        FnlPhiLab-&amp;gt;Fill(Fnl_Lab_4Mom.Phi()*180/3.14159265359);&lt;br /&gt;
                                        MolPhiLab-&amp;gt;Fill(Mol_Lab_4Mom.Phi()*180/3.14159265359);&lt;br /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
                                        MolMomLab-&amp;gt;Fill(Mol_Lab_4Mom.P());&lt;br /&gt;
                                        FnlMomLab-&amp;gt;Fill(Fnl_Lab_4Mom.P());&lt;br /&gt;
                                        MolMomCM-&amp;gt;Fill(Mol_CM_4Mom.P());&lt;br /&gt;
                                        FnlMomCM-&amp;gt;Fill(Fnl_CM_4Mom.P());&lt;br /&gt;
                                        FnlPhiCM-&amp;gt;Fill(Fnl_CM_4Mom.Phi()*180/3.14159265359);&lt;br /&gt;
                                        MolPhiCM-&amp;gt;Fill(Mol_CM_4Mom.Phi()*180/3.14159265359);&lt;br /&gt;
                                }&lt;br /&gt;
                }//End input loop&lt;br /&gt;
        &lt;br /&gt;
        in.close();&lt;br /&gt;
        tree-&amp;gt;Print();  &lt;br /&gt;
        tree-&amp;gt;Write(); &lt;br /&gt;
        f-&amp;gt;Write();&lt;br /&gt;
        delete tree;&lt;br /&gt;
        delete f;&lt;br /&gt;
}//End main&lt;/div&gt;</summary>
		<author><name>Vanwdani</name></author>
	</entry>
</feed>