herwig is hosted by Hepforge, IPPP Durham
Herwig++  2.7.0
Herwig::Smearing Class Reference

This is a pure static class which provides some useful methods for smearing. More...

#include <Smearing.h>

List of all members.

Static Public Member Functions

static bool gaussianSmearing (const double mean, const double sigma, double &x)
 It returns true if succeed in drawing a value (x) drawn from a gaussian of specified mean and sigma, false otherwise.
static bool azimuthalSmearing (const double r, double &vx, double &vy)
 It returns true if it succeed in drawing a rotated 2-vector (vx,vy) of given length r , false otherwise.

Private Member Functions

 Smearing ()
 Pure static class so no default constructor.
 Smearing (const Smearing &x)
 Pure static class so no copy constructor.
Smearingoperator= (const Smearing &x)
 The assignment operator is private and must never be called.

Detailed Description

This is a pure static class which provides some useful methods for smearing.

Definition at line 21 of file Smearing.h.


Member Function Documentation

static bool Herwig::Smearing::gaussianSmearing ( const double  mean,
const double  sigma,
double &  x 
) [static]

It returns true if succeed in drawing a value (x) drawn from a gaussian of specified mean and sigma, false otherwise.

Indeed, it generates uncorrelated pairs and throws one of them away.

Smearing& Herwig::Smearing::operator= ( const Smearing x) [private]

The assignment operator is private and must never be called.

In fact, it should not even be implemented.


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