Skip to content

Commit

Permalink
update InvariantMass() call
Browse files Browse the repository at this point in the history
  • Loading branch information
ammitra committed Jan 4, 2022
1 parent e519a5e commit f09148f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/nminus1_sol.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def select(setname,year):
jets.Add("lead_vect", "hardware::TLvector(FatJet_pt[jetIdx[0]],FatJet_eta[jetIdx[0]],FatJet_phi[jetIdx[0]],FatJet_msoftdrop[jetIdx[0]])")
jets.Add("sublead_vect","hardware::TLvector(FatJet_pt[jetIdx[1]],FatJet_eta[jetIdx[1]],FatJet_phi[jetIdx[1]],FatJet_msoftdrop[jetIdx[1]])")
jets.Add("deltaY", "abs(lead_vect.Rapidity()-sublead_vect.Rapidity())")
jets.Add("mtw", "hardware::invariantMass({lead_vect,sublead_vect})")
jets.Add("mtw", "hardware::InvariantMass({lead_vect,sublead_vect})")

#########
# N - 1 #
Expand Down

0 comments on commit f09148f

Please sign in to comment.