ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#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. | |
Simulate (multiple) scattering using a configurable scattering model.
scattering_model_t | Model 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
|
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 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().
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()().