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

Comparing UserCode/VHbb/python/prepare_environment.py (file contents):
Revision 1.2 by peller, Wed May 9 09:48:23 2012 UTC vs.
Revision 1.3 by peller, Wed May 9 15:25:27 2012 UTC

# Line 5 | Line 5 | from samplesclass import sample
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  
# Line 68 | Line 68 | info = []
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines