#include <GaussianPtGenerator.h>
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 () 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 | |
GaussianPtGenerator & | operator= (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. |
It will generate a transverse momentum distributed according to a gaussian.
Definition at line 25 of file GaussianPtGenerator.h.
virtual TransverseMomentum ThePEG::GaussianPtGenerator::generate | ( | ) | const [virtual] |
Generate () components of the transverse momentum.
They will be distributed as with and theSigma. The distribution is cutoff at theUpperCut.
Implements ThePEG::PtGenerator.
void ThePEG::GaussianPtGenerator::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
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.
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.
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.
Reimplemented from ThePEG::InterfacedBase.
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.