Skip to content

Commit

Permalink
refactor: Improve verbose logging in Kalman Filter (#1581)
Browse files Browse the repository at this point in the history
This is a super small PR, that additionally prints some information in the KF verbose logger, I believe the current position of the propagation is a missing information there. I need this very often, e.g. during the debugging of the GSF and have it there in all my local branches.

I would like it to add this to the main branch, since it shouldn't cost performance and then I do not need to add this always manually.
  • Loading branch information
benjaminhuth committed Oct 7, 2022
1 parent 465fe6f commit cd5da0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Core/include/Acts/TrackFitting/KalmanFitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,10 @@ class KalmanFitter {
return;
}

ACTS_VERBOSE("KalmanFitter step");
ACTS_VERBOSE("KalmanFitter step at pos: "
<< stepper.position(state.stepping).transpose()
<< " dir: " << stepper.direction(state.stepping).transpose()
<< " momentum: " << stepper.momentum(state.stepping));

// Add the measurement surface as external surface to navigator.
// We will try to hit those surface by ignoring boundary checks.
Expand Down

0 comments on commit cd5da0c

Please sign in to comment.