|
Celeritas 0.7.0-dev.194+develop.0df4cab59
|
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.