Skip to content

Commit

Permalink
Merge pull request #85 from yhaddad/VBS
Browse files Browse the repository at this point in the history
fixed typos
  • Loading branch information
yhaddad authored Apr 7, 2021
2 parents 2ba2c02 + 8bc9b2f commit 48e3666
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/VBSProducer.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,19 @@ def analyze(self, event):
lead_jet_eta = getattr(event, "lead_jet_eta{}".format(self.syst_suffix))
lead_jet_phi = getattr(event, "lead_jet_phi{}".format(self.syst_suffix))
lead_jet_p4 = ROOT.TLorentzVector()
lead_jet_p4.SetPtEtaPhiM(Z_pt, Z_eta, Z_phi, Z_mass)
lead_jet_p4.SetPtEtaPhiM(lead_jet_pt, lead_jet_eta, lead_jet_phi, lead_jet_mass)

trail_jet_pt = getattr(event, "trail_jet_pt{}".format(self.syst_suffix))
trail_jet_eta = getattr(event, "trail_jet_eta{}".format(self.syst_suffix))
trail_jet_phi = getattr(event, "trail_jet_phi{}".format(self.syst_suffix))
trail_jet_p4 = ROOT.TLorentzVector()
trail_jet_p4.SetPtEtaPhiM(Z_pt, Z_eta, Z_phi, Z_mass)
trail_jet_p4.SetPtEtaPhiM(trail_jet_pt, trail_jet_eta, trail_jet_phi, trail_jet_mass)

third_jet_pt = getattr(event, "third_jet_pt{}".format(self.syst_suffix))
third_jet_eta = getattr(event, "third_jet_eta{}".format(self.syst_suffix))
third_jet_phi = getattr(event, "third_jet_phi{}".format(self.syst_suffix))
third_jet_p4 = ROOT.TLorentzVector()
third_jet_p4.SetPtEtaPhiM(Z_pt, Z_eta, Z_phi, Z_mass)
third_jet_p4.SetPtEtaPhiM(third_jet_pt, third_jet_eta, third_jet_phi, third_jet_mass)

# more variables
H_T = getattr(event, "H_T{}".format(self.syst_suffix))
Expand Down

0 comments on commit 48e3666

Please sign in to comment.