#include <LundPtGenerator.h>
Public Member Functions | |
Standard constructors and destructors. | |
LundPtGenerator () | |
Default constructor. | |
LundPtGenerator (const LundPtGenerator &) | |
Copy-constructor. | |
virtual | ~LundPtGenerator () |
Destructor. | |
Virtual functions required by the PtGenerator class. | |
virtual TransverseMomentum | generate () const |
Generate () components of the transverse momentum. | |
Access to parameters. | |
Energy | Sigma () const |
Get the gaussian width. | |
double | NGaussFraction () const |
Get the non-Gaussian fraction of the Gaussian transverse momentum distribution to be enhanced by the factor nGaussFactor(). | |
double | NGaussFactor () const |
Get the non-Gaussian tails enhancement factor. | |
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 interface. | |
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. | |
Standard Interfaced functions. | |
virtual void | doupdate () throw (UpdateException) |
Check sanity of the object during the setup phase. | |
virtual void | doinit () throw (InitException) |
Initialize this object after the setup phase before saving an EventGenerator to disk. | |
virtual void | dofinish () |
Finalize this object. | |
Private Member Functions | |
LundPtGenerator & | operator= (const LundPtGenerator &) |
Private and non-existent assignment operator. | |
Private Attributes | |
Energy | sigma |
The gaussian width. | |
double | nGaussfraction |
The non-Gaussian fraction of the Gaussian transverse momentum distribution to be enhanced by the factor nGaussFactor(). | |
double | nGaussfactor |
The non-Gaussian tails enhancement factor. | |
Static Private Attributes | |
static ClassDescription < LundPtGenerator > | initLundPtGenerator |
Describe a concrete class with persistent data. |
It generates the components of the transverse momentum of a quark (diquark) in a (or a ) pair created in the string colour field, according to the flavour independent Gaussian distribution in and including the possibility of non-Gaussian tails.
LundPtGenerator inherits the from the PtGenerator class and overrides the generate() function.
Note that the 4-vector version of the transverse momentum is obtained given the transverse vectors of the StringRegion where the pair is produced.
Definition at line 34 of file LundPtGenerator.h.
virtual TransverseMomentum Pythia7::LundPtGenerator::generate | ( | ) | const [virtual] |
Generate () components of the transverse momentum.
They will be distributed as with and Sigma().
Implements ThePEG::PtGenerator.
void Pythia7::LundPtGenerator::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::Interfaced.
void Pythia7::LundPtGenerator::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 Pythia7::LundPtGenerator::clone | ( | ) | const [inline, protected, virtual] |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
virtual IBPtr Pythia7::LundPtGenerator::fullclone | ( | ) | const [inline, protected, virtual] |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
virtual void Pythia7::LundPtGenerator::doinit | ( | ) | throw (InitException) [inline, protected, virtual] |
Initialize this object after the setup phase before saving an EventGenerator to disk.
InitException | if object could not be initialized properly. |
Reimplemented from ThePEG::InterfacedBase.
virtual void Pythia7::LundPtGenerator::dofinish | ( | ) | [inline, protected, virtual] |
Finalize this object.
Called in the run phase just after a run has ended. Used eg. to write out statistics.
Reimplemented from ThePEG::InterfacedBase.