ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/Configuration/scripts/makePlots.py
(Generate patch)

Comparing UserCode/OSUT3Analysis/Configuration/scripts/makePlots.py (file contents):
Revision 1.4 by lantonel, Thu Jan 31 21:58:09 2013 UTC vs.
Revision 1.5 by lantonel, Fri Feb 1 09:05:04 2013 UTC

# Line 184 | Line 184 | for channel in channels: # loop over fin
184                  BgMCLegend.AddEntry(Histogram,labels[sample],"LEP")
185                  DataHistograms.append(Histogram)
186  
187 <        if dataIntegral is not 0 and backgroundIntegral is not 0:
187 >        if dataIntegral > 0 and backgroundIntegral > 0:
188              scaleFactor = dataIntegral/backgroundIntegral
189          for bgMCHist in BgMCHistograms:
190              if options.normalize:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines