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 |
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 |