9 #ifndef THEPEG_GaussianPtGenerator_H
10 #define THEPEG_GaussianPtGenerator_H
13 #include "ThePEG/Handlers/PtGenerator.h"
126 #include "ThePEG/Utilities/ClassTraits.h"
137 struct BaseClassTrait<GaussianPtGenerator,1>:
public ClassTraitsType {
148 struct ClassTraits<GaussianPtGenerator>
149 :
public ClassTraitsBase<GaussianPtGenerator> {
151 static string className() {
return "ThePEG::GaussianPtGenerator"; }
155 static string library() {
return "GaussianPtGenerator.so"; }
GaussianPtGenerator inherits from the abstract PtGenerator class.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
GaussianPtGenerator & operator=(const GaussianPtGenerator &)
Private and non-existent assignment operator.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
GaussianPtGenerator()
Default constructor.
This is the main namespace within which all identifiers in ThePEG are declared.
PtGenerator is the base for all classes implementing alternative models for transverse momentum gener...
QTY< 0, 1, 0 >::Type Energy
Energy.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Energy theSigma
The width of the Gaussian distribution.
static string library()
The name of a file containing the dynamic library where the class T is implemented.
Energy theUpperCut
Upper cutoff for the transverse momentum distribution.
static void Init()
Standard Init function used to initialize the interfaces.
RCPtr is a reference counted (smart) pointer.
virtual TransverseMomentum generate() const
Generate ( ) components of the transverse momentum.
virtual IBPtr clone() const
Make a simple clone of this object.
static ClassDescription< GaussianPtGenerator > initGaussianPtGenerator
Describe a concrete class with persistent data.
virtual ~GaussianPtGenerator()
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).