Skip to content

Commit 3324642

Browse files
authored
Update test_jetmet_tools.py
Related issue is scikit-hep#1066
1 parent befbdf6 commit 3324642

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_jetmet_tools.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -919,12 +919,12 @@ def smear_factor(jetPt, pt_gen, jersf):
919919
toc = time.time()
920920

921921
print("setup corrected MET time =", toc - tic)
922-
922+
rawmet = events.RawMET
923923
met = events.MET
924924
tic = time.time()
925925
# prof = pyinstrument.Profiler()
926926
# prof.start()
927-
corrected_met = met_factory.build(met, corrected_jets)
927+
corrected_met = met_factory.build(rawmet, met, corrected_jets)
928928
# prof.stop()
929929
toc = time.time()
930930

0 commit comments

Comments
 (0)