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

Generate x flat. More...

#include <RandomHelpers.h>

Public Member Functions

 Generator (double low, double up)
 Construct from boundaries.
 
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.
 

Private Attributes

double theLower
 The lower boundary.
 
double theUpper
 The upper boundary.
 

Detailed Description

template<>
class Herwig::RandomHelpers::Generator< Flat >

Generate x flat.

Author
Simon Platzer

Definition at line 841 of file RandomHelpers.h.


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