ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::actor::pointwise_material_interactor< algebra_t >::kernel Struct Reference

Material store visitor. More...

#include <detray/propagator/actors/pointwise_material_interactor.hpp>

Public Types

using state = typename pointwise_material_interactor::state
 State type shared with the interactor.

Public Member Functions

template<typename mat_group_t, typename index_t>
bool operator() (const mat_group_t &material_group, const index_t &mat_index, state &s, const pdg_particle< scalar_type > &ptc, const bound_track_parameters< algebra_t > &bound_params, const scalar_type cos_inc_angle, const scalar_type approach) const
 Evaluate pointwise effects for a material group entry.

Detailed Description

template<concepts::algebra algebra_t>
struct detray::actor::pointwise_material_interactor< algebra_t >::kernel

Material store visitor.

Member Function Documentation

◆ operator()()

template<concepts::algebra algebra_t>
template<typename mat_group_t, typename index_t>
bool detray::actor::pointwise_material_interactor< algebra_t >::kernel::operator() ( const mat_group_t & material_group,
const index_t & mat_index,
state & s,
const pdg_particle< scalar_type > & ptc,
const bound_track_parameters< algebra_t > & bound_params,
const scalar_type cos_inc_angle,
const scalar_type approach ) const

Evaluate pointwise effects for a material group entry.

Template Parameters
mat_group_tMaterial group type.
index_tMaterial index type.
Parameters
material_groupMaterial group being visited.
mat_indexIndex of the material entry.
sInteractor state receiving calculated effects.
ptcParticle hypothesis.
bound_paramsTrack parameters at the surface.
cos_inc_angleCosine of the incidence angle.
approachClosest approach for line-surface material.
Returns
True when pointwise material effects were evaluated.