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

Container class for a general density. More...

#include <RandomHelpers.h>

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

Public Member Functions

 Generator (const Generator< Density > &gen)
 Construct from generator.
virtual double lower () const
 Return the lower bound of the density generated.
virtual double upper () const
 Return the upper bound of the density generated.
virtual double value (double x) const
 Return the density's value.
virtual double normalization () const
 Return the density's normalization.
virtual double operator() (double r) const
 Generate the return value according to the implemented density, given a flat random number on the unit interval.
- Public Member Functions inherited from Herwig::RandomHelpers::Generator< Expression >
virtual ~Generator ()
 The destructor.

Private Attributes

Generator< Density > generator
 The generator.

Detailed Description

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

Container class for a general density.

Simon Platzer

Definition at line 132 of file RandomHelpers.h.

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