ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsFatras::detail::Scattering< scattering_model_t > Struct Template Reference

#include <acts/blob/master/Fatras/include/ActsFatras/Physics/Scattering/detail/Scattering.hpp>

Public Member Functions

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

Public Attributes

scattering_model_t angle
 The scattering formula.
 

Detailed Description

template<typename scattering_model_t>
struct ActsFatras::detail::Scattering< 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 26 of file Scattering.hpp.

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

Member Function Documentation

template<typename scattering_model_t >
template<typename generator_t >
std::array<Particle, 0> ActsFatras::detail::Scattering< scattering_model_t >::operator() ( generator_t &  generator,
const Acts::MaterialProperties 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 39 of file Scattering.hpp.

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

References ActsFatras::detail::Scattering< scattering_model_t >::angle, M_PI, Acts::makeCurvilinearUnitU(), ActsFatras::Particle::setDirection(), theta(), and ActsFatras::Particle::unitDirection().

+ Here is the call graph for this function:

Member Data Documentation

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

The scattering formula.

Definition at line 28 of file Scattering.hpp.

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

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


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