ThePEG  1.8.0
Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
ThePEG::GaussianPtGenerator Class Reference

GaussianPtGenerator inherits from the abstract PtGenerator class. More...

#include <GaussianPtGenerator.h>

Inheritance diagram for ThePEG::GaussianPtGenerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Standard constructors and destructors.
 GaussianPtGenerator ()
 Default constructor.
virtual ~GaussianPtGenerator ()
 Destructor.
Virtual functions required by the PtGenerator class.
virtual TransverseMomentum generate () const
 Generate ( $k_x, k_y$) components of the transverse momentum.
Functions used by the persistent I/O system.
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.
Virtual functions to be implemented by sub-classes.

Static Public Member Functions

static void Init ()
 Standard Init function used to initialize the interfaces.

Protected Member Functions

Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object.
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.

Private Member Functions

GaussianPtGeneratoroperator= (const GaussianPtGenerator &)
 Private and non-existent assignment operator.

Private Attributes

Energy theSigma
 The width of the Gaussian distribution.
Energy theUpperCut
 Upper cutoff for the transverse momentum distribution.

Static Private Attributes

static ClassDescription
< GaussianPtGenerator
initGaussianPtGenerator
 Describe a concrete class with persistent data.

Detailed Description

GaussianPtGenerator inherits from the abstract PtGenerator class.

It will generate a transverse momentum distributed according to a gaussian.

See also:
The interfaces defined for GaussianPtGenerator.

Definition at line 25 of file GaussianPtGenerator.h.


Member Function Documentation

virtual IBPtr ThePEG::GaussianPtGenerator::clone ( ) const
protectedvirtual

Make a simple clone of this object.

Returns:
a pointer to the new object.

Implements ThePEG::InterfacedBase.

virtual IBPtr ThePEG::GaussianPtGenerator::fullclone ( ) const
protectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns:
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

virtual TransverseMomentum ThePEG::GaussianPtGenerator::generate ( ) const
virtual

Generate ( $k_x, k_y$) components of the transverse momentum.

They will be distributed as $\exp(-k_\perp^2/\sigma^2)k_\perp dk_\perp$ with $k_\perp^2=k_x^2+k_y^2$ and $\sigma=$ theSigma. The distribution is cutoff at $k_\perp=$ theUpperCut.

Implements ThePEG::PtGenerator.

void ThePEG::GaussianPtGenerator::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters:
isthe persistent input stream read from.
versionthe version number of the object when written.

Reimplemented from ThePEG::Interfaced.

void ThePEG::GaussianPtGenerator::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters:
osthe persistent output stream written to.

Reimplemented from ThePEG::Interfaced.


Member Data Documentation

Energy ThePEG::GaussianPtGenerator::theSigma
private

The width of the Gaussian distribution.

The average squared transverse momentum is theSigma squared.

Definition at line 102 of file GaussianPtGenerator.h.


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