ThePEG::GaussianPtGenerator Class Reference

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

#include <GaussianPtGenerator.h>

Inheritance diagram for ThePEG::GaussianPtGenerator:

ThePEG::PtGenerator ThePEG::HandlerBase ThePEG::HandlerBaseT< T > ThePEG::Interfaced ThePEG::InterfacedBase ThePEG::Base ThePEG::Named ThePEG::Pointer::ReferenceCounted

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.

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 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::persistentOutput ( PersistentOStream os  )  const

Function used to write out object persistently.

Parameters:
os the persistent output stream written to.

Reimplemented from ThePEG::Interfaced.

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

Function used to read in object persistently.

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

Reimplemented from ThePEG::Interfaced.

virtual IBPtr ThePEG::GaussianPtGenerator::clone (  )  const [protected, virtual]

Make a simple clone of this object.

Returns:
a pointer to the new object.

Implements ThePEG::InterfacedBase.

virtual IBPtr ThePEG::GaussianPtGenerator::fullclone (  )  const [protected, virtual]

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.


Member Data Documentation

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:

Generated on Thu Apr 29 12:43:03 2010 for ThePEG by  doxygen 1.5.5