# | Line 24 | Line 24 | def getScale(job,rescale): | |
---|---|---|
24 | CountWithPU = input.Get("CountWithPU") | |
25 | CountWithPU2011B = input.Get("CountWithPU2011B") | |
26 | #print lumi*xsecs[i]/hist.GetBinContent(1) | |
27 | < | return float(job.lumi)*float(job.xsec)*float(job.sf)/(0.46502*CountWithPU.GetBinContent(1)+0.53498*CountWithPU2011B.GetBinContent(1))*rescale/float(job.split) |
27 | > | return float(job.lumi)*float(job.xsec)*float(job.sf)/(CountWithPU.GetBinContent(1))*rescale/float(job.split) |
28 | ||
29 | ||
30 | def getHistoFromTree(job,options,rescale=1): |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |