From 6cf2f70fc7bdbb4618774ba2d782186bb4ddd54e Mon Sep 17 00:00:00 2001
From: Andrea Tugores <tugoresa@jupyterMiLAB>
Date: Mon, 17 May 2021 22:22:43 -0500
Subject: [PATCH] reference

---
 ...hon-13-TeV-framework-script-analysis.ipynb | 41 +++++++++++++++++--
 1 file changed, 38 insertions(+), 3 deletions(-)

diff --git a/ATLAS-Open-Data-Python-13-TeV-framework-script-analysis.ipynb b/ATLAS-Open-Data-Python-13-TeV-framework-script-analysis.ipynb
index e6b233a..4c289b7 100644
--- a/ATLAS-Open-Data-Python-13-TeV-framework-script-analysis.ipynb
+++ b/ATLAS-Open-Data-Python-13-TeV-framework-script-analysis.ipynb
@@ -55,9 +55,12 @@
     "**TMath** encapsulate most frequently used Math functions. The basic functions Min, Max, Abs and Sign are defined in TMathBase.\n",
     "\n",
     "<p style='text-align: justify;'>\n",
-    "Finally, the <strong>pandas</strong> library is a Python library that serves as a tool for reading, writing and manipulating data in the form of DataFrames and Series objects. It will not be used to running or plotting the Analysis, but to read the ATLAS Open Data database with the descriptions of the analysis that can be done in this notebook.\n",
+    "The <strong>pandas</strong> library is a Python library that serves as a tool for reading, writing and manipulating data in the form of DataFrames and Series objects. It will not be used to running or plotting the Analysis, but to read the ATLAS Open Data database with the descriptions of the analysis that can be done in this notebook.\n",
     "</p>\n",
     "\n",
+    "<p style='text-align: justify;'>\n",
+    "Finally, <strong>matplotlib.pyplot</strong> is a collection of functions that make matplotlib work like MATLAB. Each pyplot function makes some change to a figure: e.g., creates a figure, creates a plotting area in a figure, plots some lines in a plotting area, decorates the plot with labels, etc.\n",
+    "<p/>\n",
     "\n",
     "#### Install modules or packages in python\n",
     "\n",
@@ -74,8 +77,8 @@
    "source": [
     "import os\n",
     "import datetime\n",
-    "#import ROOT\n",
-    "#from ROOT import TMath\n",
+    "import ROOT\n",
+    "from ROOT import TMath\n",
     "import pandas as pd\n",
     "import matplotlib.pyplot as plt"
    ]
@@ -472,6 +475,18 @@
     "print(\"The options are:\\n WBosonAnalysis\\n ZBosonAnalysis\\n TTbarAnalysis\\n SingleTopAnalysis\\n WZDiBosonAnalysis\\n ZZDiBosonAnalysis\\n HZZAnalysis\\n HWWAnalysis\\n ZTauTauAnalysis\\n HyyAnalysis\\n SUSYAnalysis\\n ZPrimeBoostedAnalysis\")"
    ]
   },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "The **try except** statement can handle exceptions. Exceptions may happen when you run a program. Exceptions are errors that happen during execution of the program.\n",
+    "\n",
+    "**try:** the code with the exception(s) to catch. If an exception is raised, it jumps straight into the except block.\n",
+    "\n",
+    "**except:** this code is only executed if an exception occured in the try block.\n",
+    "\n"
+   ]
+  },
   {
    "cell_type": "code",
    "execution_count": null,
@@ -857,6 +872,26 @@
    "source": [
     "### Done!"
    ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "## Reference\n",
+    "[OS module](https://docs.python.org/3/library/os.html) \n",
+    "\n",
+    "[datetime module](https://docs.python.org/3/library/datetime.html) \n",
+    "\n",
+    "[ROOT](https://root.cern/primer/) \n",
+    "\n",
+    "[pandas](https://pandas.pydata.org/pandas-docs/stable/) \n",
+    "\n",
+    "[matplotlib.pyplot](https://matplotlib.org/stable/tutorials/introductory/pyplot.html)\n",
+    "\n",
+    "[try except](https://pythonbasics.org/try-except/)\n",
+    "\n",
+    "[ATLAS_OpenData_13-TeV_python_full_HyyAnalysis_5min.ipynb](https://github.com/atlas-outreach-data-tools/notebooks-collection-opendata/blob/master/13-TeV-examples/python/ATLAS_OpenData_13-TeV_python_full_HyyAnalysis_5min.ipynb)\n"
+   ]
   }
  ],
  "metadata": {
-- 
GitLab