ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Fatras/include/ActsFatras/Physics/Scattering/Highland.hpp>
Public Member Functions | |
template<typename generator_t > | |
double | operator() (generator_t &generator, const Acts::MaterialProperties &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 23 of file Highland.hpp.
View newest version in sPHENIX GitHub at line 23 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 33 of file Highland.hpp.
View newest version in sPHENIX GitHub at line 33 of file Highland.hpp
References ActsFatras::Particle::absMomentum(), ActsFatras::Particle::charge(), Acts::computeMultipleScatteringTheta0(), ActsFatras::Particle::mass(), and ActsFatras::Particle::pdg().