Skip to content

Commit

Permalink
visualize node tree
Browse files Browse the repository at this point in the history
  • Loading branch information
ammitra committed Jan 11, 2022
1 parent ace34d1 commit dc2fafe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exercises/nminus1.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ def select(setname,year):
nodeToPlot = a.Apply([jets,plotting_vars])
nminus1Nodes = a.Nminus1(N_cuts,node=nodeToPlot) # constructs N nodes with a different N-1 selection for each
nminus1Hists = HistGroup('nminus1Hists')

a.PrintNodeTree(plotdir+'/nminus1_tree.dot',verbose=True)

binning = {
'mtop': [25,50,300],
'mW': [25,30,270],
Expand Down

0 comments on commit dc2fafe

Please sign in to comment.