9 #ifndef ThePEG_FlatDecayer_H
10 #define ThePEG_FlatDecayer_H
13 #include "ThePEG/PDT/Decayer.h"
121 struct BaseClassTrait<FlatDecayer,1>:
public ClassTraitsType {
129 struct ClassTraits<FlatDecayer>:
public ClassTraitsBase<FlatDecayer> {
131 static string className() {
return "ThePEG::FlatDecayer"; }
virtual bool accept(const DecayMode &dm) const
Check if this decayer can perfom the decay specified by the given decay mode.
The Particle class is used to describe an instance of a particle.
virtual IBPtr clone() const
Make a simple clone of this object.
This is the main namespace within which all identifiers in ThePEG are declared.
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
virtual double reweight(const DecayMode &, const Particle &, const ParticleVector &) const
Give a weight to a phase space point.
virtual ParticleVector decay(const DecayMode &dm, const Particle &p) const
Perform a decay for a given DecayMode and a given Particle instance.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
static void Init()
Standard Init function used to initialize the interfaces.
RCPtr is a reference counted (smart) pointer.
FlatDecayer & operator=(const FlatDecayer &)
Private and non-existent assignment operator.
The DecayMode class describes a decay channel of a particle.
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).
Decayer is an abstract base class to specify objects modelling the decay of a particle.
vector< PPtr > ParticleVector
A vector of pointers to Particle objects.
static NoPIOClassDescription< FlatDecayer > initFlatDecayer
Describe a concrete class without persistent data.
The FlatDecayer class inrerits from the abstract Decayer class and implements the decay of a given Pa...