herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
Herwig::RandomHelpers::Generator< Density > Struct Template Reference

Define the generator concept. More...

#include <RandomHelpers.h>

Inheritance diagram for Herwig::RandomHelpers::Generator< Density >:

Public Member Functions

double lower () const
 Return the lower bound of the density generated.
 
double upper () const
 Return the upper bound of the density generated.
 
double value (double x) const
 Return the density's value.
 
double normalization () const
 Return the density's normalization.
 
double operator() (double r) const
 Generate the return value according to the implemented density, given a flat random number on the unit interval.
 

Detailed Description

template<class Density>
struct Herwig::RandomHelpers::Generator< Density >

Define the generator concept.

Author
Simon Platzer

Definition at line 40 of file RandomHelpers.h.


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