5 |
|
import pickle |
6 |
|
import sys |
7 |
|
|
8 |
< |
prefix='ZllH.May23Like.' |
8 |
> |
prefix='ZllH.May23Likelihood.' |
9 |
|
|
10 |
|
lumi=4980 |
11 |
|
|
12 |
– |
#pathIN='/scratch/May08/' |
13 |
– |
#pathOUT='/scratch/May08/env/' |
14 |
– |
|
12 |
|
pathIN=sys.argv[1] |
13 |
|
pathOUT=sys.argv[2] |
14 |
|
|
69 |
|
# i>1 because no WW sample!!! only temporary fix |
70 |
|
|
71 |
|
for i in range(0,len(InFiles0)): |
72 |
< |
#copytree(pathIN,pathOUT,prefix,InFiles0[i],Aprefix0[0],cut0[0]+Precut) |
72 |
> |
copytree(pathIN,pathOUT,prefix,InFiles0[i],Aprefix0[0],cut0[0]+Precut) |
73 |
|
info.append(sample(samplenames0[i],sampletypes0[i])) |
74 |
|
info[-1].path=pathOUT |
75 |
|
info[-1].identifier=Aprefix0[0]+InFiles0[i] |
82 |
|
info[-1].addtreecut(cut0[0]) |
83 |
|
|
84 |
|
for i in range(3): |
85 |
< |
#copytree(pathIN,pathOUT,prefix,InFiles1[i],Aprefix1[i],cut1[i]+Precut) |
85 |
> |
copytree(pathIN,pathOUT,prefix,InFiles1[i],Aprefix1[i],cut1[i]+Precut) |
86 |
|
info.append(sample(samplenames1[i],sampletypes1[i])) |
87 |
|
info[-1].path=pathOUT |
88 |
|
info[-1].identifier=Aprefix1[i]+InFiles1[i] |
95 |
|
info[-1].addtreecut(cut1[i]) |
96 |
|
|
97 |
|
for i in range(3): |
98 |
< |
#copytree(pathIN,pathOUT,prefix,InFiles2[i],Aprefix2[i],cut2[i]+Precut) |
98 |
> |
copytree(pathIN,pathOUT,prefix,InFiles2[i],Aprefix2[i],cut2[i]+Precut) |
99 |
|
info.append(sample(samplenames2[i],sampletypes2[i])) |
100 |
|
info[-1].path=pathOUT |
101 |
|
info[-1].identifier=Aprefix2[i]+InFiles2[i] |