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

Generate a density remapped to a new interval. More...

#include <RandomHelpers.h>

Private Member Functions

 Generator (const Generator< Density > &gen, double low, double up)
 Construct from generator and new boundaries.
 
const Generator< Density > & generator () const
 Return the generator.
 
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 y) 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

Generator< Density > theGenerator
 The underlying generator.
 
double theLower
 The new lower bound.
 
double theUpper
 The new upper bound.
 

Detailed Description

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

Generate a density remapped to a new interval.

Author
Simon Platzer

Definition at line 206 of file RandomHelpers.h.


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