diff --git a/Tracking/Acts/FaserActsKalmanFilter/src/ResPlotTool.cxx b/Tracking/Acts/FaserActsKalmanFilter/src/ResPlotTool.cxx index fb38d44d08f1d8f697b8e12dee5727d66df735c1..11c1483a7762679e42ce41542d1a5b165aaf4f0c 100644 --- a/Tracking/Acts/FaserActsKalmanFilter/src/ResPlotTool.cxx +++ b/Tracking/Acts/FaserActsKalmanFilter/src/ResPlotTool.cxx @@ -1,4 +1,5 @@ -#include "FaserActsKalmanFilter/ResPlotTool.h" #include "Acts/Utilities/Helpers.hpp" +#include "FaserActsKalmanFilter/ResPlotTool.h" +#include "Acts/Utilities/Helpers.hpp" #include "HepMC/GenVertex.h" void ResPlotTool::book(ResPlotTool::ResPlotCache& resPlotCache) const { @@ -135,7 +136,7 @@ void ResPlotTool::fill( // get the truth eta and pT const auto truthEta = eta(truthParameters->momentum().normalized()); - const auto truthPt = perp(truthParameters->momentum().normalized()); + const auto truthPt = truthParameters->absoluteMomentum() * perp(truthParameters->momentum().normalized()); // fill the histograms for residual and pull for (unsigned int parID = 0; parID < Acts::eBoundSize; parID++) {