Skip to content

Commit

Permalink
pre-review ready
Browse files Browse the repository at this point in the history
  • Loading branch information
asalzburger committed Feb 3, 2025
1 parent 7065d65 commit e57bbb3
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,13 @@ class DetrayPropagator : public PropagatorInterface {
stepper_t, DetrayNavigator,
detray::actor_chain<detray::dtuple, MaterialTracer>>;

// Context & Config
using DetrayContext = Propagator::state::context_type;
using DetrayContext = typename Propagator::state::context_type;
DetrayContext dCtx{};
using DetrayConfig = detray::propagation::config;
DetrayConfig dCfg{};

// Add common configuration here
typename Propagator::state propagation(track, m_cfg.detrayStore->detector,
dCtx);

Propagator propagator(dCfg);

MaterialTracer::state materialTracerState{
Expand Down Expand Up @@ -166,16 +164,15 @@ class DetrayPropagator : public PropagatorInterface {
using Propagator =
detray::propagator<stepper_t, DetrayNavigator, detray::actor_chain<>>;

// Context & Config
using DetrayContext = Propagator::state::context_type;
using DetrayContext = typename Propagator::state::context_type;
DetrayContext dCtx{};
using DetrayConfig = detray::propagation::config;
DetrayConfig dCfg{};

// Add common configuration here
typename Propagator::state propagation(track, m_cfg.detrayStore->detector,
dCtx);

Propagator propagator(dCfg);

// Run the actual propagation
propagator.propagate(propagation);
}
Expand Down

0 comments on commit e57bbb3

Please sign in to comment.