ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/python/manualStack.py
(Generate patch)

Comparing UserCode/VHbb/python/manualStack.py (file contents):
Revision 1.3 by bortigno, Mon Apr 29 18:10:46 2013 UTC vs.
Revision 1.4 by bortigno, Mon Apr 29 18:49:25 2013 UTC

# Line 124 | Line 124 | def plot():
124                  max_sb = 1.
125                  max_ssb = 1.
126          for th1 in get_th1(file):
127 +            th1.Sumw2()
128              if 's/b' in opts.fom:
129                  th1.Scale(get_s_over_b(file)/max_sb)
130              elif 's/s+b' in opts.fom:
# Line 179 | Line 180 | def plot():
180      if mjj_sub == False:
181              stack.doPlot()
182      elif mjj_sub == True:
183 <            stack.options['pdfName'] = stack.options['pdfName'].replace('.pdf','_subtructed.pdf')
183 >            stack.options['pdfName'] = stack.options['pdfName'].replace('.pdf','_subtracted.pdf')
184              stack.doSubPlot(['VH','VV'])
185      print 'i am done!\n'
186  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines