#include <ColourPairDecayer.h>
Public Member Functions | |
bool | shower () const |
Return true if the produced gluons and quarks should be showered. | |
Standard constructors and destructors. | |
ColourPairDecayer () | |
Default constructor. | |
Virtual functions required by the Decayer and FlatDecayer classes. | |
virtual bool | accept (const DecayMode &dm) const |
Check if this decayer can perfom the decay specified by the given decay mode. | |
virtual ParticleVector | getChildren (const DecayMode &dm, const Particle &parent) const |
Produce children. | |
Functions used by the persistent I/O system. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. | |
Static Public Member Functions | |
static void | Init () |
Standard Init function used to initialize the interfaces. | |
Protected Member Functions | |
Clone Methods. | |
virtual IBPtr | clone () const |
Make a simple clone of this object. | |
virtual IBPtr | fullclone () const |
Make a clone of this object, possibly modifying the cloned object to make it sane. | |
Private Member Functions | |
ColourPairDecayer & | operator= (const ColourPairDecayer &) |
Private and non-existent assignment operator. | |
Private Attributes | |
bool | doShower |
If true the produced gluons and quarks should be showered. | |
Static Private Attributes | |
static ClassDescription < ColourPairDecayer > | initColourPairDecayer |
Describe a concrete class with persistent data. |
The coloured particles must come in pairs and will be colour connected pair-wise.
Definition at line 26 of file ColourPairDecayer.h.
virtual bool ThePEG::ColourPairDecayer::accept | ( | const DecayMode & | dm | ) | const [virtual] |
Check if this decayer can perfom the decay specified by the given decay mode.
dm | the DecayMode describing the decay. |
Reimplemented from ThePEG::FlatDecayer.
virtual ParticleVector ThePEG::ColourPairDecayer::getChildren | ( | const DecayMode & | dm, | |
const Particle & | parent | |||
) | const [virtual] |
Produce children.
Used by the FlatDecayer::decay() to produce instances of the children given a DecayMode dm and the decaying particle parent..
Reimplemented from ThePEG::Decayer.
bool ThePEG::ColourPairDecayer::shower | ( | ) | const [inline] |
Return true if the produced gluons and quarks should be showered.
The corresponding flag is set though the interface.
Definition at line 64 of file ColourPairDecayer.h.
References doShower.
void ThePEG::ColourPairDecayer::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::Decayer.
void ThePEG::ColourPairDecayer::persistentInput | ( | PersistentIStream & | is, | |
int | version | |||
) |
Function used to read in object persistently.
is | the persistent input stream read from. | |
version | the version number of the object when written. |
Reimplemented from ThePEG::Decayer.
virtual IBPtr ThePEG::ColourPairDecayer::clone | ( | ) | const [protected, virtual] |
Make a simple clone of this object.
Reimplemented from ThePEG::FlatDecayer.
virtual IBPtr ThePEG::ColourPairDecayer::fullclone | ( | ) | const [protected, virtual] |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::FlatDecayer.