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

Comparing UserCode/VHbb/python/StackMaker.py (file contents):
Revision 1.5 by peller, Thu Oct 25 09:49:58 2012 UTC vs.
Revision 1.6 by nmohr, Fri Oct 26 08:45:48 2012 UTC

# Line 55 | Line 55 | class StackMaker:
55          self.anaTag = config.get("Analysis","tag")
56          self.xAxis = plotConfig.get('plotDef:%s'%var,'xAxis')
57          self.options = [self.name,'',self.xAxis,self.nBins,self.xMin,self.xMax,'%s_%s.pdf'%(region,var),region,datacut,self.mass,data,blindopt]
58 +        self.maxRatioUncert = 0.5
59 +        if self.SignalRegion:
60 +            self.maxRatioUncert = 1000.
61          self.config = config
62          self.datas = None
63          self.datatyps = None
# Line 218 | Line 221 | class StackMaker:
221          #l2.SetTextSize(0.035)
222          l2.SetNColumns(2)
223  
224 <        ratio, error = getRatio(d1,allMC,self.xMin,self.xMax)
224 >
225 >        ratio, error = getRatio(d1,allMC,self.xMin,self.xMax,"",self.maxRatioUncert)
226          ksScore = d1.KolmogorovTest( allMC )
227          chiScore = d1.Chi2Test( allMC , "UWCHI2/NDF")
228          print ksScore

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines