ThePEG
1.8.0
|
ColourPairDecayer inherits from the FlatDecayer class and performs decays according to phase space into two or more particles, some of which may be coloured. More...
#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. | |
![]() | |
virtual ParticleVector | decay (const DecayMode &dm, const Particle &p) const |
Perform a decay for a given DecayMode and a given Particle instance. | |
virtual double | reweight (const DecayMode &, const Particle &, const ParticleVector &) const |
Give a weight to a phase space point. | |
![]() | |
Ptr< Amplitude >::pointer | amplitude () const |
Return an amplitude associated with this decay matrix element. | |
virtual bool | needsFullStep () const |
Return true if this Decayer need to access the full current step when a particle is decayed. | |
virtual ParticleVector | decay (const DecayMode &dm, const Particle &p, Step &step) const |
Perform a decay for a given DecayMode and a given Particle instance. | |
virtual double | brat (const DecayMode &dm, const ParticleData &pd, double oldbrat) const |
Calculate branching ratio. | |
virtual double | brat (const DecayMode &dm, const Particle &p, double oldbrat) const |
Calculate branching ratio. | |
virtual void | finalBoost (const Particle &parent, const ParticleVector &children) const |
Boost the decay products. | |
virtual void | setScales (const Particle &parent, const ParticleVector &children) const |
Set the scales. |
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. | |
Clone Methods. |
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. |
ColourPairDecayer inherits from the FlatDecayer class and performs decays according to phase space into two or more particles, some of which may be coloured.
The coloured particles must come in pairs and will be colour connected pair-wise.
Definition at line 26 of file ColourPairDecayer.h.
|
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.
|
protectedvirtual |
Make a simple clone of this object.
Reimplemented from ThePEG::FlatDecayer.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::FlatDecayer.
|
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.
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.
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.
|
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.