Celeritas
0.5.0-86+4a8eea4
|
Passthrough model for "no distribution" energy loss. More...
#include <EnergyLossDeltaDistribution.hh>
Public Types | |
Type aliases | |
using | Energy = units::MevEnergy |
Public Member Functions | |
CELER_FUNCTION | EnergyLossDeltaDistribution (EnergyLossHelper const &helper) |
Construct from helper-calculated mean. | |
template<class Generator > | |
CELER_FUNCTION Energy | operator() (Generator &) const |
Result is always the mean energy. | |
Passthrough model for "no distribution" energy loss.
The distribution is a Delta function so that the "sampled" value is always the mean energy.