ThePEG
1.8.0
|
GaussianPtGenerator inherits from the abstract PtGenerator class. More...
#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 ( ![]() | |
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 | |
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. |
GaussianPtGenerator inherits from the abstract PtGenerator class.
It will generate a transverse momentum distributed according to a gaussian.
Definition at line 25 of file GaussianPtGenerator.h.
|
protectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
|
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::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.
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.
|
private |
The width of the Gaussian distribution.
The average squared transverse momentum is theSigma squared.
Definition at line 102 of file GaussianPtGenerator.h.