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

Comparing UserCode/VHbb/python/train.py (file contents):
Revision 1.1 by peller, Tue May 8 10:37:17 2012 UTC vs.
Revision 1.2 by peller, Wed May 9 09:48:24 2012 UTC

# Line 49 | Line 49 | def getScale(job):
49      CountWithPU = input.Get("CountWithPU")
50      CountWithPU2011B = input.Get("CountWithPU2011B")
51      #print lumi*xsecs[i]/hist.GetBinContent(1)
52 <    return float(job.lumi)*float(job.xsec)/(0.46502*CountWithPU.GetBinContent(1)+0.53498*CountWithPU2011B.GetBinContent(1))*2/float(job.split)
52 >    return float(job.lumi)*float(job.xsec)*float(job.sf)/(0.46502*CountWithPU.GetBinContent(1)+0.53498*CountWithPU2011B.GetBinContent(1))*2/float(job.split)
53  
54  
55  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines