Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsFatras::detail::ScatteringImpl< scattering_model_t > Struct Template Reference

#include <acts/blob/sPHENIX/Fatras/include/ActsFatras/Physics/ElectroMagnetic/Scattering.hpp>

Public Member Functions

template<typename generator_t >
std::array< Particle, 0 > operator() (generator_t &generator, const Acts::MaterialSlab &slab, Particle &particle) const
 

Public Attributes

scattering_model_t angle
 The scattering formula.
 

Detailed Description

template<typename scattering_model_t>
struct ActsFatras::detail::ScatteringImpl< scattering_model_t >

Simulate (multiple) scattering using a configurable scattering model.

Template Parameters
scattering_model_tModel implementation to draw a scattering angle.

Definition at line 29 of file Scattering.hpp.

View newest version in sPHENIX GitHub at line 29 of file Scattering.hpp

Member Function Documentation

template<typename scattering_model_t >
template<typename generator_t >
std::array<Particle, 0> ActsFatras::detail::ScatteringImpl< scattering_model_t >::operator() ( generator_t &  generator,
const Acts::MaterialSlab slab,
Particle particle 
) const
inline

Simulate scattering and update the particle parameters.

Parameters
[in]generatoris the random number generator
[in]slabdefines the passed material
[in,out]particleis the particle being updated
Returns
Empty secondaries containers.
Template Parameters
generator_tis a RandomNumberEngine

Definition at line 42 of file Scattering.hpp.

View newest version in sPHENIX GitHub at line 42 of file Scattering.hpp

References ActsFatras::detail::ScatteringImpl< scattering_model_t >::angle, ActsFatras::Particle::direction(), Acts::makeCurvilinearUnitU(), ActsFatras::Particle::setDirection(), and ActsTests::PropagationDatasets::theta.

+ Here is the call graph for this function:

Member Data Documentation

template<typename scattering_model_t >
scattering_model_t ActsFatras::detail::ScatteringImpl< scattering_model_t >::angle

The scattering formula.

Definition at line 31 of file Scattering.hpp.

View newest version in sPHENIX GitHub at line 31 of file Scattering.hpp

Referenced by ActsFatras::detail::ScatteringImpl< scattering_model_t >::operator()().


The documentation for this struct was generated from the following file: