Skip to content

Commit

Permalink
Merge pull request cms-sw#128 from cirkovic/CMG_MiniAOD_Lite_V6_0_fro…
Browse files Browse the repository at this point in the history
…m-CMSSW_7_0_6_02-10-2014

Merging.
Please next time give a meaningful title for the pull request.
  • Loading branch information
gpetruc committed Oct 2, 2014
2 parents 412ba97 + 5d77d34 commit 6bc2819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMGTools/TTHAnalysis/python/tools/eventVars_2lss.py
Expand Up @@ -12,7 +12,7 @@ def __call__(self,event):
# make python lists as Collection does not support indexing in slices
leps = [l for l in Collection(event,"LepGood","nLepGood",4)]
jets = [j for j in Collection(event,"Jet","nJet25",8)]
(met, metphi) = event.met, event.met_phi
(met, metphi) = event.met_pt, event.met_phi
njet = len(jets); nlep = len(leps)
# prepare output
ret = dict([(name,0.0) for name in self.branches])
Expand Down
2 changes: 1 addition & 1 deletion CMGTools/TTHAnalysis/python/tools/ttbarEventReco_2lss.py
Expand Up @@ -462,7 +462,7 @@ def __call__(self,event):
bjets = [ j for j in jets if j.btagCSV > 0.679 ]
if len(bjets) == 0:
jsorted = jets[:]
jsorted.sort(key=lambda j:j.tagCSV)
jsorted.sort(key=lambda j:j.btagCSV)
bjets.append(jsorted[-1])
nb = len(bjets)
(met, metphi) = event.met_pt, event.met_phi
Expand Down

0 comments on commit 6bc2819

Please sign in to comment.