Skip to content

Commit

Permalink
avoid some gsf diff
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Dec 16, 2024
1 parent 005eba6 commit 833f510
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Core/include/Acts/TrackFitting/detail/GsfActor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,11 @@ struct GsfActor {

// Evaluate material slab
auto slab = surface.surfaceMaterial()->materialSlab(
old_bound.position(state.stepping.options.geoContext),
state.options.direction, MaterialUpdateStage::FullUpdate);
old_bound.position(state.geoContext), state.options.direction,
MaterialUpdateStage::FullUpdate);

const auto pathCorrection = surface.pathCorrection(
state.stepping.options.geoContext,
old_bound.position(state.stepping.options.geoContext),
state.geoContext, old_bound.position(state.geoContext),
old_bound.direction());
slab.scaleThickness(pathCorrection);

Expand Down Expand Up @@ -492,8 +491,8 @@ struct GsfActor {

auto proxy = tmpStates.traj.getTrackState(idx);

cmp.pars() = MultiTrajectoryHelpers::freeFiltered(
state.stepping.options.geoContext, proxy);
cmp.pars() =
MultiTrajectoryHelpers::freeFiltered(state.geoContext, proxy);
cmp.cov() = proxy.filteredCovariance();
cmp.weight() = tmpStates.weights.at(idx);
}
Expand Down Expand Up @@ -533,8 +532,7 @@ struct GsfActor {
auto& cmp = *res;
auto freeParams = cmp.pars();
cmp.jacToGlobal() = surface.boundToFreeJacobian(
state.stepping.options.geoContext,
freeParams.template segment<3>(eFreePos0),
state.geoContext, freeParams.template segment<3>(eFreePos0),
freeParams.template segment<3>(eFreeDir0));
cmp.pathAccumulated() = state.stepping.pathAccumulated;
cmp.jacobian() = BoundMatrix::Identity();
Expand Down

0 comments on commit 833f510

Please sign in to comment.