File: WidthGenerator.h
Description:
WidthGenerator is an abstract base class to be used to
encapsulate models for giving the partial decay width of a
ParticleData given the specified
DecayModes.
See
also:
namespace Pythia7
CLASS
WidthGenerator:
Base class:
Public members:
typedef Selector<tDMPtr> DecayMap;
inline WidthGenerator();
inline WidthGenerator(const WidthGenerator &);
virtual ~WidthGenerator();
Standard ctors and dtor
virtual bool accept(const ParticleData &) const = 0;
Return true if this rater can be used for the given particle with
the given decay map.
Energy width(const Particle &) const;
virtual Energy width(const ParticleData &, Energy m) const = 0;
Given a particle type and a mass of an instance of that particle
type, calculate a width.
virtual Length lifeTime(const ParticleData &, Energy m, Energy w) const;
Given a particle type and a mass and a width of an instance of
that particle type, generate a life time.
virtual DecayMap rate(const ParticleData &) const = 0;
Initialize the given decay map for the given particle type.
virtual DecayMap rate(const Particle &);
Return a decay map for a given particleinstance.
static void Init();
Standard Init function used to initialize the interface.
Private members:
static AbstractNoPIOClassDescription<WidthGenerator> initWidthGenerator;
WidthGenerator & operator=(const WidthGenerator &);
Private and non-existent assignment operator.
template <>
STRUCT
BaseClassTrait<WidthGenerator,1>
Public members:
typedef Interfaced NthBase;
template <>
STRUCT
ClassTraits<WidthGenerator>:
Public members:
static string className() { return "/Pythia7/WidthGenerator"; }
DEFINED MACROS
INCLUDED FILES
Pythia7/Config/Pythia7.h
WidthGenerator.fh
Pythia7/Interface/Interfaced.h
Pythia7/Utilities/Selector.h
Pythia7/PDT/DecayMode.fh
WidthGenerator.icc