9 #ifndef THEPEG_SimpleZGenerator_H
10 #define THEPEG_SimpleZGenerator_H
13 #include "ThePEG/Handlers/ZGenerator.h"
112 #include "ThePEG/Utilities/ClassTraits.h"
123 struct BaseClassTrait<SimpleZGenerator,1>:
public ClassTraitsType {
133 struct ClassTraits<SimpleZGenerator>
134 :
public ClassTraitsBase<SimpleZGenerator> {
136 static string className() {
return "ThePEG::SimpleZGenerator"; }
142 static string library() {
return "SimpleZGenerator.so"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
virtual IBPtr clone() const
Make a simple clone of this object.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ZGenerator is the base class for all classes implementing models to generate the momentum fraction...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
ConstRCPtr is a reference counted (smart) const pointer.
This is the main namespace within which all identifiers in ThePEG are declared.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
SimpleZGenerator & operator=(const SimpleZGenerator &)
Private and non-existent assignment operator.
static string library()
The name of a file containing the dynamic library where the class T is implemented.
static ClassDescription< SimpleZGenerator > initSimpleZGenerator
Describe a concrete class with persistent data.
SimpleZGenerator is a very simple concrete subclass of ZGenerator.
static void Init()
Standard Init function used to initialize the interfaces.
RCPtr is a reference counted (smart) pointer.
virtual double generate(cPDPtr q1, cPDPtr q2, Energy2 mT2) const
Return the momentum fraction.
virtual ~SimpleZGenerator()
Destructor.
static string className()
Return the name of class T.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).