2 from PhysicsTools.HeppyCore.statistics.tree
import Tree
5 outfile = TFile(filename,
'recreate')
6 tree = Tree(
'test_tree',
'A test tree')
11 print 'creating a tree', tree.tree.GetName(),\
12 tree.tree.GetEntries(),
'entries in',\
def create_tree(filename="test_tree.root")