Skip to content

Commit

Permalink
change phi to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
jeyserma committed Dec 9, 2023
1 parent 435c1f2 commit 57a0b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wremnants/recoil_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def setup_MET(self):

# uncorrected MET
self.df = self.df.Define("met_uncorr_pt", f"return (std::isfinite({met_pt})) ? {met_pt} : 10000")
self.df = self.df.Define("met_uncorr_phi", f"return (std::isfinite({met_phi})) ? {met_phi} : 10000")
self.df = self.df.Define("met_uncorr_phi", f"return (std::isfinite({met_phi})) ? {met_phi} : 0")
self.df = self.df.Define("met_uncorr_x", "met_uncorr_pt*cos(met_uncorr_phi)")
self.df = self.df.Define("met_uncorr_y", "met_uncorr_pt*sin(met_uncorr_phi)")

Expand Down

0 comments on commit 57a0b3a

Please sign in to comment.