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.44 by wulsin, Fri Jun 21 13:06:43 2013 UTC vs.
Revision 1.45 by wulsin, Tue Jun 25 11:17:16 2013 UTC

# Line 265 | Line 265 | def MakeOneDHist(pathToDir,histogramName
265              numDataSamples += 1
266              dataIntegral += Histogram.Integral()
267              
268 +            Histogram.SetMarkerStyle(20);
269              Histogram.SetFillStyle(0)
270              Histogram.SetLineColor(colors[sample])
271              Histogram.SetLineStyle(1)
# Line 354 | Line 355 | def MakeOneDHist(pathToDir,histogramName
355      makeRatioPlots = arguments.makeRatioPlots
356      makeDiffPlots = arguments.makeDiffPlots
357  
358 +    yAxisMin = 0.0001
359 +    if arguments.setYMin:
360 +        yAxisMin = float(arguments.setYMin)
361 +
362      if numBgMCSamples is 0 or numDataSamples is not 1:
363          makeRatioPlots = False
364          makeDiffPlots = False
# Line 381 | Line 386 | def MakeOneDHist(pathToDir,histogramName
386  
387      if numBgMCSamples is not 0: # the first thing to draw to the canvas is a bgMC sample
388          
384        yAxisMin = 0.0001
385        if arguments.setYMin:
386            yAxisMin = float(arguments.setYMin)
389          if not arguments.noStack: # draw unstacked background samples
390              Stack.SetTitle(histoTitle)
391              Stack.Draw("HIST")

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines