5 |
|
import pickle |
6 |
|
|
7 |
|
|
8 |
< |
prefix='ZllH.May5Reg.' |
8 |
> |
prefix='ZllH.May8Reg.' |
9 |
|
|
10 |
|
lumi=4700 |
11 |
|
|
12 |
< |
pathIN='/scratch/May05/' |
13 |
< |
pathOUT='/scratch/May05/env/' |
12 |
> |
pathIN='/scratch/May08/' |
13 |
> |
pathOUT='/scratch/May08/env/' |
14 |
|
|
15 |
|
weightexpression='((0.46502*PUweight+0.53498*PUweight2011B)*weightTrig)' |
16 |
|
|
17 |
< |
#this is only to speed it up, rwmove for final trees! |
18 |
< |
Precut='& V.pt > 50 & V.mass > 75. & V.mass < 105 & hJet_pt[0] > 20. & hJet_pt[1] > 20. & abs(hJet_eta[0]) < 2.4 & abs(hJet_eta[1]) < 2.4 & deltaPullAngleAK7 < 10.' |
17 |
> |
#this is only to speed it up, remove for final trees! |
18 |
> |
Precut='& V.pt > 50 & V.mass > 75. & V.mass < 105 & hJet_pt[0] > 20. & hJet_pt[1] > 20. & abs(hJet_eta[0]) < 2.4 & abs(hJet_eta[1]) < 2.4' |
19 |
|
|
20 |
|
|
21 |
|
|
68 |
|
|
69 |
|
# i>1 because no WW sample!!! only temporary fix |
70 |
|
|
71 |
< |
for i in range(1,len(InFiles0)): |
71 |
> |
for i in range(0,len(InFiles0)): |
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 |