Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::EnergyLossDeltaDistribution Class Reference

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.
 

Detailed Description

Passthrough model for "no distribution" energy loss.

The distribution is a Delta function so that the "sampled" value is always the mean energy.


The documentation for this class was generated from the following file: