Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def deltaR(eta1, eta2, phi1, phi2): | |
import math | |
''' | |
Definition: | |
----------- | |
Function that calculates DR between two objects given their etas and phis | |
Args: | |
----- | |
eta1 = float, eta of first object | |
eta2 = float, eta of second object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rootpy.plotting.style import set_style | |
set_style('ATLAS', mpl=True) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from root_numpy.tmva import add_classification_events, evaluate_reader | |
from rootpy.io import root_open | |
from rootpy import stl, log | |
from rootpy.tree import Tree | |
from rootpy.vector import Vector3, LorentzVector | |
from ROOT import TMVA, TFile | |
import xml.etree.ElementTree as ET | |
from array import array | |
import pandas as pd | |
import pandautils as pup |
OlderNewer