Skip to content

Commit

Permalink
missing quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
arizzi committed Sep 18, 2015
1 parent dc33510 commit afa59c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions VHbbAnalysis/Heppy/python/vhbbobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,12 @@
])

genJetType = NTupleObjectType("genJet", baseObjectTypes = [ genParticleType ], variables = [
NTupleVariable("numBHadrons", lambda x : getattr(x,numBHadronsBeforeTop,-1), int, mcOnly=True, help="number of matched b hadrons before top quark decay"),
NTupleVariable("numCHadrons", lambda x : getattr(x,numCHadronsBeforeTop,-1), int, mcOnly=True, help="number of matched c hadrons before top quark decay"),
NTupleVariable("numBHadronsFromTop", lambda x : getattr(x,numBHadronsFromTop,-1), int, mcOnly=True, help="number of matched b hadrons from top quark decay"),
NTupleVariable("numCHadronsFromTop", lambda x : getattr(x,numCHadronsFromTop,-1), int, mcOnly=True, help="number of matched c hadrons from top quark decay"),
NTupleVariable("numBHadronsAfterTop", lambda x : getattr(x,numBHadronsAfterTop,-1), int, mcOnly=True, help="number of matched b hadrons after top quark decay"),
NTupleVariable("numCHadronsAfterTop", lambda x : getattr(x,numCHadronsAfterTop,-1), int, mcOnly=True, help="number of matched c hadrons after top quark decay"),
NTupleVariable("numBHadrons", lambda x : getattr(x,"numBHadronsBeforeTop",-1), int, mcOnly=True, help="number of matched b hadrons before top quark decay"),
NTupleVariable("numCHadrons", lambda x : getattr(x,"numCHadronsBeforeTop",-1), int, mcOnly=True, help="number of matched c hadrons before top quark decay"),
NTupleVariable("numBHadronsFromTop", lambda x : getattr(x,"numBHadronsFromTop",-1), int, mcOnly=True, help="number of matched b hadrons from top quark decay"),
NTupleVariable("numCHadronsFromTop", lambda x : getattr(x,"numCHadronsFromTop",-1), int, mcOnly=True, help="number of matched c hadrons from top quark decay"),
NTupleVariable("numBHadronsAfterTop", lambda x : getattr(x,"numBHadronsAfterTop",-1), int, mcOnly=True, help="number of matched b hadrons after top quark decay"),
NTupleVariable("numCHadronsAfterTop", lambda x : getattr(x,"numCHadronsAfterTop",-1), int, mcOnly=True, help="number of matched c hadrons after top quark decay"),
NTupleVariable("wNuPt", lambda x : (x.p4()+x.nu).pt() if hasattr(x,"nu") else x.p4().pt() ,float, mcOnly=True, help="pt of jet adding back the neutrinos"),
NTupleVariable("wNuEta", lambda x : (x.p4()+x.nu).eta() if hasattr(x,"nu") else x.p4().eta() ,float, mcOnly=True, help="eta of jet adding back the neutrinos"),
NTupleVariable("wNuPhi", lambda x : (x.p4()+x.nu).phi() if hasattr(x,"nu") else x.p4().phi() ,float, mcOnly=True, help="phi of jet adding back the neutrinos"),
Expand Down

0 comments on commit afa59c5

Please sign in to comment.