Skip to content

Commit

Permalink
Re-add protection against pt_resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
DennRoy committed Nov 9, 2018
1 parent 9c5da45 commit 5180219
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ def var_plots(d_sample, var_name, hdict):
if part != 0:
if index >= float(len(hvardict.items())) / (totalparts-1) * (part-1): break
if index < float(len(hvardict.items())) / (totalparts-1) * (part-2): continue

if runtype not in ['ZTT', 'TTbarTau'] and h_name.find('pt_resolution') != -1:
continue

print "Doing",index+1, ":", h_name
var_plots(sampledict, h_name, h_dict)
Expand Down

0 comments on commit 5180219

Please sign in to comment.