Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Fatras/include/ActsFatras/Physics/ElectroMagnetic/detail/Highland.hpp>
Public Member Functions | |
template<typename generator_t > | |
double | operator() (generator_t &generator, const Acts::MaterialSlab &slab, Particle &particle) const |
Generate scattering angles using the Highland/PDG parametrization.
The angles are drawn from a single normal distribution with a width given by the Highland/PDG formula.
Definition at line 22 of file Highland.hpp.
View newest version in sPHENIX GitHub at line 22 of file Highland.hpp
|
inline |
Generate a single 3D scattering angle.
[in] | generator | is the random number generator |
[in] | slab | defines the passed material |
[in,out] | particle | is the particle being scattered |
generator_t | is a RandomNumberEngine |
Definition at line 32 of file Highland.hpp.
View newest version in sPHENIX GitHub at line 32 of file Highland.hpp
References ActsFatras::Particle::absoluteCharge(), ActsFatras::Particle::absolutePdg(), Acts::computeMultipleScatteringTheta0(), ActsFatras::Particle::mass(), and ActsFatras::Particle::qOverP().