9 #ifndef THEPEG_ColourPairDecayer_H
10 #define THEPEG_ColourPairDecayer_H
13 #include "ThePEG/PDT/FlatDecayer.h"
137 struct BaseClassTrait<ColourPairDecayer,1>:
public ClassTraitsType {
146 struct ClassTraits<ColourPairDecayer>
147 :
public ClassTraitsBase<ColourPairDecayer> {
149 static string className() {
return "ThePEG::ColourPairDecayer"; }
153 static string library() {
return "ColourPairDecayer.so"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
The Particle class is used to describe an instance of a particle.
static ClassDescription< ColourPairDecayer > initColourPairDecayer
Describe a concrete class with persistent data.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
bool doShower
If true the produced gluons and quarks should be showered.
virtual bool accept(const DecayMode &dm) const
Check if this decayer can perfom the decay specified by the given decay mode.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ColourPairDecayer inherits from the FlatDecayer class and performs decays according to phase space in...
This is the main namespace within which all identifiers in ThePEG are declared.
virtual IBPtr clone() const
Make a simple clone of this object.
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.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ColourPairDecayer()
Default constructor.
bool shower() const
Return true if the produced gluons and quarks should be showered.
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 ParticleVector getChildren(const DecayMode &dm, const Particle &parent) const
Produce children.
vector< PPtr > ParticleVector
A vector of pointers to Particle objects.
The FlatDecayer class inrerits from the abstract Decayer class and implements the decay of a given Pa...
ColourPairDecayer & operator=(const ColourPairDecayer &)
Private and non-existent assignment operator.
static void Init()
Standard Init function used to initialize the interfaces.