File: MassGenerator.h
Description:
MassGenerator is an abstract base class used by the
ParticleData to generate a mass for a particle
instance.
See
also:
namespace Pythia7
CLASS
MassGenerator:
Base class:
Public members:
inline MassGenerator();
inline MassGenerator(const MassGenerator &);
virtual ~MassGenerator();
Standard ctors and dtor
virtual bool accept(const ParticleData &) const = 0;
Return true if this mass generator can handle the given particle
type.
virtual Energy mass(const ParticleData &) const = 0;
Generate a mass for an instance of a given particle type.
static void Init();
Standard Init function used to initialize the interface.
Protected members:
inline virtual void doupdate() throw(UpdateException);
inline virtual void doinit() throw(InitException);
inline virtual void dofinish();
Standard Interfaced virtual functions.
inline virtual void rebind(const TranslationMap & trans)
throw(RebindException);
Change all pointers to Interfaced objects to corresponding clones.
inline virtual IVector getReferences();
Return pointers to all Interfaced objects refered to by this.
Private members:
static AbstractNoPIOClassDescription<MassGenerator> initMassGenerator;
MassGenerator & operator=(const MassGenerator &);
Private and non-existent assignment operator.
template <>
STRUCT
BaseClassTrait<MassGenerator,1>
Public members:
typedef Interfaced NthBase;
template <>
STRUCT
ClassTraits<MassGenerator>:
Public members:
static string className() {
return "/Pythia7/MassGenerator";
DEFINED MACROS
INCLUDED FILES
Pythia7/Config/Pythia7.h
Pythia7/Interface/Interfaced.h
MassGenerator.fh
MassGenerator.icc