9 #ifndef THEPEG_WeakToHadronsDecayer_H
10 #define THEPEG_WeakToHadronsDecayer_H
13 #include "ThePEG/PDT/QuarksToHadronsDecayer.h"
53 const PVector & children)
const;
127 struct BaseClassTrait<WeakToHadronsDecayer,1>:
public ClassTraitsType {
129 typedef QuarksToHadronsDecayer
NthBase;
136 struct ClassTraits<WeakToHadronsDecayer>
137 :
public ClassTraitsBase<WeakToHadronsDecayer> {
139 static string className() {
return "ThePEG::WeakToHadronsDecayer"; }
143 static string library() {
return "WeakToHadronsDecayer.so"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
The Particle class is used to describe an instance of a particle.
static ClassDescription< WeakToHadronsDecayer > initWeakToHadronsDecayer
Describe a concrete class with persistent data.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
vector< tcPDPtr > tcPDVector
A vector of transient pointers to const ParticleData objects.
This is the main namespace within which all identifiers in ThePEG are declared.
virtual IBPtr clone() const
Make a simple clone of this object.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
WeakToHadronsDecayer & operator=(const WeakToHadronsDecayer &)
Private and non-existent assignment operator.
The WeakToHadronsDecayer class inherits from QuarksToHadronsDecayer and can performs weak decays of t...
static string library()
The name of a file containing the dynamic library where the class T is implemented.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
RCPtr is a reference counted (smart) pointer.
static void Init()
Standard Init function used to initialize the interfaces.
virtual bool accept(const DecayMode &dm) const
Check if this decayer can perfom the decay specified by the given decay mode.
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).
virtual PVector getHadrons(int Nh, tcPDVector quarks) const
Produce Nh hadrons from the specified quarks.
The QuarksToHadronsDecayer class inherits from Decayer and is able to decay particles to (2 or 4) qu...
vector< PPtr > PVector
A vector of pointers to Particle objects.
virtual double reweight(const Particle &parent, const PVector &children) const
Called by QuarksToHadronsDecayer::distribute() to reweight the default flat phase spece...