Skip to content

Commit

Permalink
A few annoying theta issues I had to work out with respect to naming …
Browse files Browse the repository at this point in the history
…schema
  • Loading branch information
rappoccio committed Jan 30, 2014
1 parent 1a9d322 commit 6574227
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Binary file modified IHeartNY/test/histfiles/normalized_mujets.root
Binary file not shown.
11 changes: 6 additions & 5 deletions IHeartNY/test/makeBarePlots.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
e_TT_Mtt_0_700 = 1.0 - e_TT_Mtt_700_1000 - e_TT_Mtt_1000_Inf
#

names = [ 'Data', 'TTbar', 'WJets', 'SingleTop', 'QCD' ]
names = [ 'DATA', 'TTbar', 'WJets', 'SingleTop', 'QCD' ]
plots = [ 'jec__down' , 'jec__up' , 'jer__down' , 'jer__up' , 'pdf__down' , 'pdf__up' , 'nom' ]
canvs = []
histsData = []
Expand Down Expand Up @@ -531,11 +531,12 @@
for ihist in xrange(len(histsAll)) :
hist = histsAll[ihist]
if hist is not None :
if plots[m] != 'nom' :
hist.SetName(options.hist + '__' + names[ihist] + '__' + plots [m] )
else :
if plots[m] == 'nom' :
hist.SetName(options.hist + '__' + names[ihist] )
hist.Write()
hist.Write()
elif ihist != 0 :
hist.SetName(options.hist + '__' + names[ihist] + '__' + plots [m] )
hist.Write()

fout.Close()

Expand Down

0 comments on commit 6574227

Please sign in to comment.