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

Container base class for a general density. More...

#include <RandomHelpers.h>

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

Public Member Functions

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

Detailed Description

template<>
struct Herwig::RandomHelpers::Generator< Expression >

Container base class for a general density.

Author
Simon Platzer

Definition at line 83 of file RandomHelpers.h.


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