ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/claudioc/ScansICHEP2012/scripts/merge.py
(Generate patch)

Comparing UserCode/claudioc/ScansICHEP2012/scripts/merge.py (file contents):
Revision 1.1 by mdunser, Tue Jun 12 17:20:17 2012 UTC vs.
Revision 1.2 by claudioc, Thu Jun 14 23:02:37 2012 UTC

# Line 47 | Line 47 | def loadInfo(models):
47                          dic[sig][reg]['totErr'] = {}
48                          for p in dic[sig][reg]['acc'].keys():
49                                  dic[sig][reg]['corrAcc'][p] = dic[sig][reg]['acc'][p] - dic[sig][reg]['sigCont'][p]
50 <                                dic[sig][reg]['totErr'][p]  = math.sqrt(dic[sig][reg]['btagErr'][p]**2)# more errors here once available
50 >                                dic[sig][reg]['totErr'][p]  = math.sqrt(dic[sig][reg]['btagErr'][p]**2 + dic[sig][reg]['jmetErr'][p]**2)# more errors here once available
51                                  ## add here also the ULs. will do that once everything is ready
52                                  
53          return dic

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines