9 #ifndef ThePEG_MassGenerator_H
10 #define ThePEG_MassGenerator_H
13 #include "ThePEG/Config/ThePEG.h"
14 #include "ThePEG/Interface/Interfaced.h"
15 #include "MassGenerator.fh"
80 struct ClassTraits<MassGenerator>:
public ClassTraitsBase<MassGenerator> {
82 static string className() {
return "ThePEG::MassGenerator"; }
static AbstractNoPIOClassDescription< MassGenerator > initMassGenerator
The static object used to initialize the description of this class.
virtual bool accept(const ParticleData &) const =0
Return true if this mass generator can handle the given particle type.
ClassTraitsType is an empty, non-polymorphic, base class.
This is the main namespace within which all identifiers in ThePEG are declared.
ParticleData inherits from InterfacedBase and represents the properties of a particle type...
QTY< 0, 1, 0 >::Type Energy
Energy.
A concreate implementation of ClassDescriptionBase describing an abstract class without persistent da...
static void Init()
Standard Init function used to initialize the interface.
The Interfaced class is derived from the InterfacedBase class adding a couple of things particular to...
MassGenerator & operator=(const MassGenerator &)
Private and non-existent assignment operator.
static string className()
Return the name of class T.
virtual Energy mass(const ParticleData &) const =0
Generate a mass for an instance of a given particle type.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
BaseClassTraits describes the base classes of the templated class.
MassGenerator is an abstract base class used by the ParticleData class to generate a mass for a Parti...