From afb3270d3f3b0ae6ad36a6d9958049cbf5f999d8 Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Wed, 15 Jan 2025 15:17:09 +0100 Subject: [PATCH] fixes after merge --- Core/include/Acts/Propagator/Propagator.ipp | 11 ++++++----- .../ActsFatras/Kernel/detail/SimulationActor.hpp | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Core/include/Acts/Propagator/Propagator.ipp b/Core/include/Acts/Propagator/Propagator.ipp index 9def3449f61..0790a5d906b 100644 --- a/Core/include/Acts/Propagator/Propagator.ipp +++ b/Core/include/Acts/Propagator/Propagator.ipp @@ -59,7 +59,7 @@ auto Acts::Propagator::propagate(propagator_state_t& state) const state.stepping, *nextTarget.surface, nextTarget.surfaceIntersectionIndex, state.options.direction, nextTarget.boundaryTolerance, state.options.surfaceTolerance, - ConstrainedStep::navigator, logger()); + ConstrainedStep::Type::Navigator, logger()); if (preStepSurfaceStatus == IntersectionStatus::reachable || preStepSurfaceStatus == IntersectionStatus::onSurface) { return nextTarget; @@ -109,8 +109,8 @@ auto Acts::Propagator::propagate(propagator_state_t& state) const << state.direction.transpose()); // release actor and aborter constrains after step was performed - m_stepper.releaseStepSize(state.stepping, ConstrainedStep::navigator); - m_stepper.releaseStepSize(state.stepping, ConstrainedStep::actor); + m_stepper.releaseStepSize(state.stepping, ConstrainedStep::Type::Navigator); + m_stepper.releaseStepSize(state.stepping, ConstrainedStep::Type::Actor); // Post-stepping: check target status, call actors, check abort conditions state.stage = PropagatorStage::postStep; @@ -120,7 +120,7 @@ auto Acts::Propagator::propagate(propagator_state_t& state) const state.stepping, *nextTarget.surface, nextTarget.surfaceIntersectionIndex, state.options.direction, nextTarget.boundaryTolerance, state.options.surfaceTolerance, - ConstrainedStep::navigator, logger()); + ConstrainedStep::Type::Navigator, logger()); if (postStepSurfaceStatus == IntersectionStatus::onSurface) { m_navigator.handleSurfaceReached(state.navigation, state.position, state.direction, *nextTarget.surface); @@ -155,7 +155,8 @@ auto Acts::Propagator::propagate(propagator_state_t& state) const if (nextTarget.isNone()) { // navigator step constraint is not valid anymore - m_stepper.releaseStepSize(state.stepping, ConstrainedStep::navigator); + m_stepper.releaseStepSize(state.stepping, + ConstrainedStep::Type::Navigator); nextTargetResult = getNextTarget(); if (!nextTargetResult.ok()) { diff --git a/Fatras/include/ActsFatras/Kernel/detail/SimulationActor.hpp b/Fatras/include/ActsFatras/Kernel/detail/SimulationActor.hpp index 2408f281aaa..12bba048d6d 100644 --- a/Fatras/include/ActsFatras/Kernel/detail/SimulationActor.hpp +++ b/Fatras/include/ActsFatras/Kernel/detail/SimulationActor.hpp @@ -122,7 +122,8 @@ struct SimulationActor { const auto stepSize = properTimeDiff * result.particle.absoluteMomentum() / result.particle.mass(); - stepper.releaseStepSize(state.stepping, Acts::ConstrainedStep::user); + stepper.releaseStepSize(state.stepping, + Acts::ConstrainedStep::Type::User); stepper.updateStepSize(state.stepping, stepSize, Acts::ConstrainedStep::Type::User); }