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

Comparing UserCode/VHbb/python/gethistofromtree.py (file contents):
Revision 1.18 by peller, Fri Oct 19 15:44:07 2012 UTC vs.
Revision 1.19 by peller, Thu Nov 8 12:47:20 2012 UTC

# Line 63 | Line 63 | def getHistoFromTree(job,path,config,opt
63          elif type(options[7])==list:
64              cutcut=config.get('Cuts',options[7][0])
65              cutcut=cutcut.replace(options[7][1],options[7][2])
66 <            print cutcut
66 >            #print cutcut
67          if subsample>-1:
68              treeCut='%s & %s%s'%(cutcut,job.subcuts[subsample],traincut)        
69          else:
# Line 147 | Line 147 | def orderandadd(histos,typs,setup):
147      num=[0]*len(setup)
148      for i in range(0,len(setup)):
149          for j in range(0,len(histos)):
150 <            if typs[j] in setup[i]:
150 >            if typs[j] == setup[i]:
151                  num[i]+=1
152                  ordnung.append(histos[j])
153                  ordnungtyp.append(typs[j])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines