Skip to content

Struct rayx::HardEdge

ClassList > rayx > HardEdge

More...

  • #include <EnergyDistribution.h>

Public Attributes

Type Name
double m_centerEnergy
double m_energySpread

Public Functions

Type Name
HardEdge (double centerEnergy, double energySpread)

Detailed Description

Describes a uniform distribution over the interval [m_CenterEnergy - m_EnergySpread/2, m_CenterEnergy + m_EnergySpread/2]. https://en.wikipedia.org/wiki/Discrete_uniform_distribution

Public Attributes Documentation

variable m_centerEnergy

double rayx::HardEdge::m_centerEnergy;

variable m_energySpread

double rayx::HardEdge::m_energySpread;

Public Functions Documentation

function HardEdge

inline rayx::HardEdge::HardEdge (
    double centerEnergy,
    double energySpread
) 


The documentation for this class was generated from the following file Intern/rayx-core/src/Beamline/EnergyDistribution.h