#include <V2PPDecayer.h>
Public Member Functions | |
Standard constructors and destructors. | |
virtual | ~V2PPDecayer () |
Destructor. | |
Virtual functions required by the Decayer class. | |
virtual bool | accept (const DecayMode &dm) const |
Check if this decayer can perfom the decay specified by the given decay mode. | |
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 &dm, const Particle &parent, const ParticleVector &children) const |
Give a weight to a phase space point. | |
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 | |
V2PPDecayer & | operator= (const V2PPDecayer &) |
Private and non-existent assignment operator. | |
Private Attributes | |
tPPtr | grandParent |
The grand parent in case reweighting should be done. | |
tPPtr | sibling |
The decaying particles sibling in case reweighting should be done. | |
Static Private Attributes | |
static ClassDescription < V2PPDecayer > | initV2PPDecayer |
Describe a concrete class with persistent data. |
If, however the decaying particle comes from a pseudo-scalar and has only one sibling which is a pseudo-scalar (or a photon) the decay is reweighted with ( for photon) of the angle between one of the decay products and its grand parent.
Definition at line 30 of file V2PPDecayer.h.
virtual bool ThePEG::V2PPDecayer::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::V2PPDecayer::decay | ( | const DecayMode & | dm, | |
const Particle & | p | |||
) | const [virtual] |
Perform a decay for a given DecayMode and a given Particle instance.
Reimplemented from ThePEG::FlatDecayer.
virtual double ThePEG::V2PPDecayer::reweight | ( | const DecayMode & | dm, | |
const Particle & | parent, | |||
const ParticleVector & | children | |||
) | const [virtual] |
Give a weight to a phase space point.
To be overridden by subclasses. For a given decay mode, dm, decaying parent particle and decayproducts, children, distributed according to a flat distribution in phase space, return a weight (less or equal to unity) modifying the flat distribution to the desired one. Note that the chosen phase space point may be rejected, but the chosen decay channel will not. This means that the weight returned by this function does not influence the branching ratios.
Reimplemented from ThePEG::FlatDecayer.
void ThePEG::V2PPDecayer::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::Decayer.
void ThePEG::V2PPDecayer::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::V2PPDecayer::clone | ( | ) | const [protected, virtual] |
Make a simple clone of this object.
Reimplemented from ThePEG::FlatDecayer.
virtual IBPtr ThePEG::V2PPDecayer::fullclone | ( | ) | const [protected, virtual] |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::FlatDecayer.