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

Comparing UserCode/VHbb/python/evaluateMVA.py (file contents):
Revision 1.15 by nmohr, Thu Oct 11 16:53:25 2012 UTC vs.
Revision 1.16 by nmohr, Thu Oct 18 14:02:33 2012 UTC

# Line 172 | Line 172 | for job in Ainfo:
172                  MVAbranches=[]
173                  MVAbranches4=[]
174                  for i in range(0,len(readers)):
175 <                    MVAbranches.append(array('f',[0]*9))
176 <                    MVAbranches4.append(array('f',[0]*9))
177 <                    newtree.Branch(MVAinfos[i].MVAname,MVAbranches[i],'nominal:JER_up:JER_down:JES_up:JES_down:beff_up:beff_down:bmis_up:bmis_down/F')
178 <                    newtree.Branch(MVAinfos[i].MVAname+'_4',MVAbranches4[i],'nominal:JER_up:JER_down:JES_up:JES_down:beff_up:beff_down:bmis_up:bmis_down/F')
175 >                    MVAbranches.append(array('f',[0]*11))
176 >                    MVAbranches4.append(array('f',[0]*11))
177 >                    newtree.Branch(MVAinfos[i].MVAname,MVAbranches[i],'nominal:JER_up:JER_down:JES_up:JES_down:beff_up:beff_down:bmis_up:bmis_down:beff1_up:beff1_down/F')
178 >                    newtree.Branch(MVAinfos[i].MVAname+'_4',MVAbranches4[i],'nominal:JER_up:JER_down:JES_up:JES_down:beff_up:beff_down:bmis_up:bmis_down:beff1_up:beff1_down/F')
179                  print '\n--> ' + job.name +':'
180                  #progbar setup
181                  if nEntries >= longe:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines