From 3324642932a7a7e02925d53413a09ab6d4b662e4 Mon Sep 17 00:00:00 2001 From: 9GaoHong <88077350+9GaoHong@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:22:14 +0800 Subject: [PATCH] Update test_jetmet_tools.py Related issue is #1066 --- tests/test_jetmet_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_jetmet_tools.py b/tests/test_jetmet_tools.py index 3443f4837..61297fdbb 100644 --- a/tests/test_jetmet_tools.py +++ b/tests/test_jetmet_tools.py @@ -919,12 +919,12 @@ def smear_factor(jetPt, pt_gen, jersf): toc = time.time() print("setup corrected MET time =", toc - tic) - + rawmet = events.RawMET met = events.MET tic = time.time() # prof = pyinstrument.Profiler() # prof.start() - corrected_met = met_factory.build(met, corrected_jets) + corrected_met = met_factory.build(rawmet, met, corrected_jets) # prof.stop() toc = time.time()