#include <SimpleZGenerator.h>
Public Member Functions | |
Standard constructors and destructors. | |
virtual | ~SimpleZGenerator () |
Destructor. | |
Virtual functions mandated by the ZGenerator base class. | |
virtual double | generate (cPDPtr q1, cPDPtr q2, Energy2 mT2) const |
Return the momentum fraction. | |
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 | |
SimpleZGenerator & | operator= (const SimpleZGenerator &) |
Private and non-existent assignment operator. | |
Static Private Attributes | |
static ClassDescription < SimpleZGenerator > | initSimpleZGenerator |
Describe a concrete class with persistent data. |
It implements a naive unphysical model to generate the momentum fraction, , taken by hadrons produced in a hadronization scenario. It should only be used for testing purposes.
Definition at line 26 of file SimpleZGenerator.h.
virtual double ThePEG::SimpleZGenerator::generate | ( | cPDPtr | q1, | |
cPDPtr | q2, | |||
Energy2 | mT2 | |||
) | const [virtual] |
Return the momentum fraction.
Assume that an initial (anti-)(di-)quark q1 produces a hadron and leaves behind another (anti-)(di-)quark q2. The hadron is assumed to have a squared transverse mass, mT2, w.r.t. the initial quark direction.
Implements ThePEG::ZGenerator.
void ThePEG::SimpleZGenerator::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::Interfaced.
void ThePEG::SimpleZGenerator::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::SimpleZGenerator::clone | ( | ) | const [protected, virtual] |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
virtual IBPtr ThePEG::SimpleZGenerator::fullclone | ( | ) | const [protected, virtual] |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.