Analysis Software
Documentation for sPHENIX simulation software
|
#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. | |
Simulate (multiple) scattering using a configurable scattering model.
scattering_model_t | Model 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
|
inline |
Simulate scattering and update the particle parameters.
[in] | generator | is the random number generator |
[in] | slab | defines the passed material |
[in,out] | particle | is the particle being updated |
generator_t | is 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.
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()().