Herwig
7.1.5

Phase space generation utilities. More...
Classes  
struct  BreitWigner 
The density 1/((xz)^2 + abs(w z)) More...  
struct  Container 
A density container. More...  
struct  Expression 
A density expression. More...  
struct  Flat 
A constant density. More...  
struct  Generator 
Define the generator concept. More...  
class  Generator< BreitWigner > 
Generate x with density 1/((xz)^2 + abs(w z)) More...  
class  Generator< Container< Density > > 
Container class for a general density. More...  
struct  Generator< Expression > 
Container base class for a general density. More...  
class  Generator< Flat > 
Generate x flat. More...  
class  Generator< Inverse > 
Generate x with density 1/xz. More...  
struct  Generator< Piecewise< Density, ToBeDefined > > 
Generate a piecewise defined density. More...  
class  Generator< Piecewise< Density1, Density2 > > 
Generate a piecewise defined density. More...  
struct  Generator< Piecewise< ToBeDefined, ToBeDefined > > 
Generate a piecewise defined density. More...  
class  Generator< Power > 
Generate x with density (xz)^p. More...  
class  Generator< Remap< Density > > 
Generate a density remapped to a new interval. More...  
class  Generator< Rescale< Density > > 
Generate a rescaled density. More...  
class  Generator< Sum< Density1, Density2 > > 
Generate the sum of two densities. More...  
class  Generator< Zero > 
Generate nothing. More...  
struct  Inverse 
A density 1/xz. More...  
struct  matcher 
Indicate that the argument density should be matched to the previous one in a piecewise definition. More...  
struct  on 
Indicate remapping of a density. More...  
struct  Piecewise 
A piecewise defined density. More...  
struct  Power 
The density (xz)^p. More...  
struct  Remap 
Remap a density to a new interval. More...  
struct  Rescale 
Rescale a density. More...  
struct  Sum 
Add two densities. More...  
struct  ToBeDefined 
Placeholder when constructing piecewise defined densities. More...  
struct  Zero 
A zero density. More...  
Functions  
double  sign (double x) 
Small helper. More...  
template<class Density >  
pair< double, double >  generate (const Generator< Density > &gen, double r) 
Generate a random variable and return its weight. More...  
template<class Density >  
Generator< Remap< Density > >  operator* (const Generator< Density > &gen, const on &interval) 
Construct a remapped density generator. More...  
template<class Density >  
Generator< Rescale< Density > >  operator* (double a, const Generator< Density > &gen) 
Construct a rescaled density. More...  
template<class Density1 , class Density2 >  
Generator< Sum< Density1, Density2 > >  operator+ (const Generator< Density1 > &first, const Generator< Density2 > &second) 
Construct the sum of two densities. More...  
template<class Density >  
matcher< Density >  match (const Generator< Density > &gen) 
Indicate that the argument density should be matched to the previous one in a piecewise definition. More...  
template<class Density1 , class Density2 >  
Generator< Sum< Density1, Rescale< Density2 > > >  operator+ (const Generator< Density1 > &first, const matcher< Density2 > &second) 
Construct the sum of two densities, matching the first summand at its upper bound to the second at its lower bound. More...  
Generator< Piecewise< ToBeDefined, ToBeDefined > >  piecewise () 
Construct a piecewise defined density. More...  
Generator< Flat >  flat (double low, double up) 
Construct a constant density. More...  
Generator< Zero >  zero (double low, double up) 
Construct a zero density. More...  
Generator< Inverse >  inverse (double z, double lower, double upper) 
Construct the density 1/xz. More...  
Generator< Power >  power (double z, double p, double lower, double upper) 
Construct the density (xz)^p. More...  
Generator< BreitWigner >  breitWigner (double z, double w, double lower, double upper) 
Construct the density 1/((xz)^2 + abs(w z)) More...  
Phase space generation utilities.