<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://zeus.phys.uconn.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=ROOT_Data_Analysis_Framework_Overview</id>
	<title>ROOT Data Analysis Framework Overview - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://zeus.phys.uconn.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=ROOT_Data_Analysis_Framework_Overview"/>
	<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=ROOT_Data_Analysis_Framework_Overview&amp;action=history"/>
	<updated>2026-04-14T12:09:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=ROOT_Data_Analysis_Framework_Overview&amp;diff=11678&amp;oldid=prev</id>
		<title>Mcintyre at 03:45, 4 June 2022</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=ROOT_Data_Analysis_Framework_Overview&amp;diff=11678&amp;oldid=prev"/>
		<updated>2022-06-04T03:45:44Z</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 03:45, 4 June 2022&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-l89&quot; &gt;Line 89:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 89:&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;* [https://zeus.phys.uconn.edu/tutorials/ROOT_Training/TwoG_jan_8_2021.h Header file used to perform data analysis.] &amp;lt;br&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;* [https://zeus.phys.uconn.edu/tutorials/ROOT_Training/TwoG_jan_8_2021.h Header file used to perform data analysis.] &amp;lt;br&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;* [https://zeus.phys.uconn.edu/tutorials/ROOT_Training/TwoG_jan_8_2021.C TSelector used to perform data analysis.] &amp;lt;br&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;* [https://zeus.phys.uconn.edu/tutorials/ROOT_Training/TwoG_jan_8_2021.C TSelector used to perform data analysis.] &amp;lt;br&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;&amp;lt;br&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;&amp;lt;br&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;&amp;lt;font&amp;gt;&amp;lt;i&amp;gt; A GitHub page containing ROOT training material and tutorials given to CERN Summer Students. There is a link to the ROOT introductory course part of the CERN Training Catalogue. &amp;lt;/i&amp;gt; &amp;lt;br&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;* [https://github.com/root-project/training GitHub page containing ROOT training material from CERN] &amp;lt;br&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 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;br&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;br&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;&amp;lt;br&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;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mcintyre</name></author>
	</entry>
	<entry>
		<id>https://zeus.phys.uconn.edu/wiki/index.php?title=ROOT_Data_Analysis_Framework_Overview&amp;diff=11677&amp;oldid=prev</id>
		<title>Mcintyre: Created page with &quot;== ROOT Tutorials == &lt;font&gt;&lt;i&gt;In general, my lesson plan was as follows:&lt;/i&gt;&lt;/font&gt; * Show you how to run PROOF (emphasizing the code needed) ** TChain files together ** Make...&quot;</title>
		<link rel="alternate" type="text/html" href="https://zeus.phys.uconn.edu/wiki/index.php?title=ROOT_Data_Analysis_Framework_Overview&amp;diff=11677&amp;oldid=prev"/>
		<updated>2022-06-04T03:22:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== ROOT Tutorials == &amp;lt;font&amp;gt;&amp;lt;i&amp;gt;In general, my lesson plan was as follows:&amp;lt;/i&amp;gt;&amp;lt;/font&amp;gt; * Show you how to run PROOF (emphasizing the code needed) ** TChain files together ** Make...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== ROOT Tutorials ==&lt;br /&gt;
&amp;lt;font&amp;gt;&amp;lt;i&amp;gt;In general, my lesson plan was as follows:&amp;lt;/i&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;
* Show you how to run PROOF (emphasizing the code needed)&lt;br /&gt;
** TChain files together&lt;br /&gt;
** Make template header, code, and PROOF starting files for specific .root data files&lt;br /&gt;
** Troubleshooting PROOF run errors (whether it's your code or the cluster's errors)&lt;br /&gt;
&lt;br /&gt;
* Basic analysis code&lt;br /&gt;
** Explain online &amp;amp; offline triggers&lt;br /&gt;
** Analysis cut (lots to discuss)&lt;br /&gt;
** Ways to display data (and interpret it)&lt;br /&gt;
** Calculating invariant mass, delta phi, etc.&lt;br /&gt;
** Calculating Accidental Scaling Factor&lt;br /&gt;
** Tag weighting (accidental subtraction)&lt;br /&gt;
** Two calculations for Sideband Subtraction&lt;br /&gt;
** Fitting histograms&lt;br /&gt;
** Cross section (differential and total)&lt;br /&gt;
&lt;br /&gt;
* Provide sample code and tricks&lt;br /&gt;
** Setup an array (using a for loop or with direct input, depending on the occasion)&lt;br /&gt;
** Reorder things from high to low mass (how to deal with multiple combinations at once)&lt;br /&gt;
** TLorentzVectors&lt;br /&gt;
** Create new .root files&lt;br /&gt;
** Create marcos to print, make GIF's, fit data, etc.&lt;br /&gt;
** TGraphs &amp;amp; TSplines&lt;br /&gt;
 &lt;br /&gt;
* Final Summary&lt;br /&gt;
** Walk you through my analysis for determining the Eta meson cross section&lt;br /&gt;
** Big picture stuff that puts everything all together and hopefully makes it all make sense&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;u&amp;gt;Lesson #1&amp;lt;/u&amp;gt; ===&lt;br /&gt;
[https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_1/ROOT_Framework_Lesson1.mp4 Lesson #1 Video] &amp;lt;br&amp;gt;&lt;br /&gt;
{{#widget:Video|url=https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_1/ROOT_Framework_Lesson1.mp4|width=200|height=120}} &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_1/Lesson_1.C C++ code examples used in lesson #1] &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;u&amp;gt;Lesson #2&amp;lt;/u&amp;gt; ===&lt;br /&gt;
[https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_2/ROOT_Framework_Lesson2.mp4 Lesson #2 Video] &amp;lt;br&amp;gt;&lt;br /&gt;
{{#widget:Video|url=https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_2/ROOT_Framework_Lesson2.mp4|width=200|height=120}} &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;u&amp;gt;Lesson #3&amp;lt;/u&amp;gt; ===&lt;br /&gt;
[https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_3/ROOT_Framework_Lesson3.mp4 Lesson #3] &amp;lt;br&amp;gt;&lt;br /&gt;
{{#widget:Video|url=https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_3/ROOT_Framework_Lesson3.mp4|width=200|height=120}} &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_3/Lesson3_CodeHints.C C++ code examples used in lesson #3] &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_3/Lesson3.C Additional C++ code examples added to the file used in lesson #1] &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;u&amp;gt;Lesson #4&amp;lt;/u&amp;gt; ===&lt;br /&gt;
[https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_4/ROOT_Framework_Lesson4.mp4 Lesson #4]&amp;lt;br&amp;gt;&lt;br /&gt;
{{#widget:Video|url=https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_4/ROOT_Framework_Lesson4.mp4|width=200|height=120}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;u&amp;gt;Lesson #5&amp;lt;/u&amp;gt; ===&lt;br /&gt;
[https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_5/ROOT_Framework_Lesson5.mp4 Lesson #5]&amp;lt;br&amp;gt;&lt;br /&gt;
{{#widget:Video|url=https://zeus.phys.uconn.edu/tutorials/ROOT_Training/Lesson_5/ROOT_Framework_Lesson5.mp4|width=200|height=120}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;u&amp;gt;Additional Resource Files&amp;lt;/u&amp;gt; ===&lt;br /&gt;
&amp;lt;font&amp;gt;&amp;lt;i&amp;gt;This file can be uploaded in to a personal annex directory on gluey and manipulated with ROOT to plot the TH1D's and TH2D's contained within.&amp;lt;/i&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
* [https://zeus.phys.uconn.edu/tutorials/ROOT_Training/TwoG_jul_16_2021Analysis.root ROOT file with TTree h1] &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p style = &amp;quot;text-indent: 40px&amp;quot;&amp;gt; &amp;lt;u&amp;gt;If inside the folder containing the .root file, use the command&amp;lt;/u&amp;gt;: &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style = &amp;quot;text-indent: 80px&amp;quot;&amp;gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;root -l TwoG_jul_16_2021Analysis.root&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p style = &amp;quot;text-indent: 40px&amp;quot;&amp;gt; &amp;lt;u&amp;gt;If you know the path to the file then use&amp;lt;/u&amp;gt;: &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style = &amp;quot;text-indent: 80px&amp;quot;&amp;gt; &amp;lt;i&amp;gt;&amp;lt;b&amp;gt;root -l&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt; &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p style = &amp;quot;text-indent: 80px&amp;quot;&amp;gt; &amp;lt;i&amp;gt;&amp;lt;b&amp;gt;TFile *_file0 = TFile::Open(&amp;quot;/nfs/direct/annex/mcintyre/AnalysisXII/TwoG/inv_mass/TwoG_jul_16_2021Analysis.root&amp;quot;)&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt; &amp;lt;/p&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p style = &amp;quot;text-indent: 240px&amp;quot;&amp;gt;&amp;lt;u&amp;gt;or&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;p style = &amp;quot;text-indent: 80px&amp;quot;&amp;gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;root -l /nfs/direct/annex/mcintyre/AnalysisXII/TwoG/inv_mass/TwoG_jul_16_2021Analysis.root&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font&amp;gt;&amp;lt;i&amp;gt;These files are the three files needed to run a PROOF session. These files, written in C++, contain basic clean-up cuts for Radphi data analysis as discussed during the tutorial videos. Running a PROOF session on files such as these are how the .root file (listed above) was created.&amp;lt;/i&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
* [https://zeus.phys.uconn.edu/tutorials/ROOT_Training/proof_TwoG_jan_8_2021.C C++ code used to TChain data files and setup PROOF service.] &amp;lt;br&amp;gt;&lt;br /&gt;
* [https://zeus.phys.uconn.edu/tutorials/ROOT_Training/TwoG_jan_8_2021.h Header file used to perform data analysis.] &amp;lt;br&amp;gt;&lt;br /&gt;
* [https://zeus.phys.uconn.edu/tutorials/ROOT_Training/TwoG_jan_8_2021.C TSelector used to perform data analysis.] &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery caption=&amp;quot;Images of histograms contained within the TTree of TwoG_jul_16_2021Analysis.root. These are three examples of the type of histograms you can produce using the ROOT framework.&amp;quot; widths=&amp;quot;400px&amp;quot; heights=&amp;quot;300px&amp;quot; class=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
   NoBeamHoleCut_6g.png|Figure 1: A TH2D histogram plotting polar angle of a photon in the LGD versus its energy. This plot was generated with all clean-up cuts except the beamhole cut.&lt;br /&gt;
   BeamHoleCut_6g.png|Figure 2: A TH2D histogram plotting polar angle of a photon in the LGD versus its energy. This plot was generated with all clean-up cuts including the beamhole cut.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
[[Image:t_histogram.png|center|thumb|475px|Figure 3: A TH1D histogram of the Mandelstam variable t for the two gamma final state sample.]]&lt;/div&gt;</summary>
		<author><name>Mcintyre</name></author>
	</entry>
</feed>