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

Generate nothing. 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< Zero >

Generate nothing.

Author
Simon Platzer

Definition at line 915 of file RandomHelpers.h.


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