# | 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]) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |