#include <ZGenerator.h>
Public Member Functions | |
Virtual functions mandated by the ZGenerator base class. | |
virtual double | generate (cPDPtr q1, cPDPtr q2, Energy2 mT2) const =0 |
Return the momentum fraction. | |
Static Public Member Functions | |
static void | Init () |
Standard Init function used to initialize the interface. | |
Static Private Attributes | |
static AbstractClassDescription < ZGenerator > | initZGenerator |
Describe an abstract class without persistent data. |
It inherits from HandlerBase
class which among other things provides forward access to the random number generator of the EventGenerator class.
Definition at line 32 of file ZGenerator.h.
virtual double ThePEG::ZGenerator::generate | ( | cPDPtr | q1, | |
cPDPtr | q2, | |||
Energy2 | mT2 | |||
) | const [pure 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.
Implemented in ThePEG::SimpleZGenerator.