9 #ifndef THEPEG_DalitzDecayer_H
10 #define THEPEG_DalitzDecayer_H
13 #include "ThePEG/PDT/Decayer.h"
162 struct BaseClassTrait<DalitzDecayer,1>:
public ClassTraitsType {
171 struct ClassTraits<DalitzDecayer>
172 :
public ClassTraitsBase<DalitzDecayer> {
174 static string className() {
return "ThePEG::DalitzDecayer"; }
178 static string library() {
return "DalitzDecayer.so"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
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 ~DalitzDecayer()
Destructor.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
virtual void rebind(const TranslationMap &trans)
Rebind pointer to other Interfaced objects.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
virtual IVector getReferences()
Return a vector of all pointers to Interfaced objects used in this object.
virtual ParticleVector decay(const DecayMode &dm, const Particle &p) const
Perform a decay for a given DecayMode and a given Particle instance.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
DalitzDecayer & operator=(const DalitzDecayer &)
Private and non-existent assignment operator.
Rebinder is a class associating pairs of pointers to objects.
This is the main namespace within which all identifiers in ThePEG are declared.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
static ClassDescription< DalitzDecayer > initDalitzDecayer
Describe a concrete class with persistent data.
static void Init()
Standard Init function used to initialize the interfaces.
static string library()
The name of a file containing the dynamic library where the class T is implemented.
RCPtr is a reference counted (smart) pointer.
PDPtr rho
Quick access to the rho particle data.
The DalitzDecayer inherits from the Decayer class and performs Dalitz decays into ...
The DecayMode class describes a decay channel of a particle.
static string className()
Return the name of class T.
virtual IBPtr clone() const
Make a simple clone of this object.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
vector< IBPtr > IVector
A vector of pointers to InterfacedBase objects.
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.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.