Skip to content

Instantly share code, notes, and snippets.

View lukedeo's full-sized avatar

Luke de Oliveira lukedeo

View GitHub Profile
import rootpy
from rootpy.io import root_open
from rootpy.tree import Tree, TreeChain
# -- Let me real quick grab a nasty d3pd
f = root_open('user.dguest.050909._00001.skim-output.root')
# -- Yank that tree out of there...
T = f['physics']