{ "cells": [ { "cell_type": "markdown", "metadata": { "deletable": true, "editable": true }, "source": [ "TTTT Analysis\n", "======\n", "This Notebook is simply a playground to examine the resulting histograms from the main TTTT analysis executable." ] }, { "cell_type": "code", "execution_count": 50, "metadata": { "collapsed": false, "deletable": true, "editable": true }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "The autoreload extension is already loaded. To reload it, use:\n", " %reload_ext autoreload\n" ] } ], "source": [ "import ROOT\n", "from IPython.display import display, display_markdown\n", "%load_ext autoreload\n", "%autoreload 2\n", "import random\n", "from utils import HistCollection as HC\n", "from utils import clear, show_event, show_value, normalize_columns, CANVAS, PDG" ] }, { "cell_type": "markdown", "metadata": { "deletable": true, "editable": true }, "source": [ "First, we need to load the pre-processed datafiles. These will generally contain a set of histograms of various quantities calculated from data in the input MiniTrees. However, they can also contain things besides histograms. For example, C++ STL containers can be serialized to the ROOT file to save things such as counters or even \"raw\" event information." ] }, { "cell_type": "code", "execution_count": 51, "metadata": { "collapsed": false, "deletable": true, "editable": true }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Running analysis for sample: TTZ\n", "Writing log data to ../data/TTZToLLNuNu_treeProducerSusyMultilepton_tree_result.log\n", "Running analysis for sample: TTW\n", "Writing log data to ../data/TTWToLNu_treeProducerSusyMultilepton_tree_result.log\n", "Running analysis for sample: TTTT\n", "Writing log data to ../data/TTTT_ext_treeProducerSusyMultilepton_tree_result.log\n" ] } ], "source": [ "hists_TTZ = HC(\"TTZ\", \"../data/TTZToLLNuNu_treeProducerSusyMultilepton_tree.root\")\n", "hists_TTW = HC(\"TTW\", \"../data/TTWToLNu_treeProducerSusyMultilepton_tree.root\")\n", "hists_TTTT = HC(\"TTTT\", \"../data/TTTT_ext_treeProducerSusyMultilepton_tree.root\")" ] }, { "cell_type": "code", "execution_count": 52, "metadata": { "collapsed": false, "deletable": true, "editable": true, "scrolled": false }, "outputs": [ { "data": { "text/html": [ "\n", "