#include <DecayHandler.h>
Public Member Functions | |
void | performDecay (tPPtr parent, Step &s) const |
Perform the decay of one unstable particle. | |
long | maxLoop () const |
The maximum number of failed decay attempts allowed for each particle. | |
Length | maxLifeTime () const |
Get the maximum lifetime above which a particle is not decayed. | |
bool | lifeTimeOption () const |
Option for whether the maximum lifetime should be applied to the mean lifetime of the particle species or the lifetime of the particle instance. | |
Standard constructors and destructors. | |
DecayHandler () | |
Default constructor. | |
virtual | ~DecayHandler () |
Destructor. | |
Virtual functions required by the StepHandler class. | |
virtual void | handle (EventHandler &eh, const tPVector &tagged, const Hint &hint) |
Look through all tagged particled and decay all unstable ones. | |
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 interface. | |
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 | |
DecayHandler & | operator= (const DecayHandler &) |
Private and non-existent assignment operator. | |
Private Attributes | |
long | theMaxLoop |
The maximum number of failed decay attempts allowed for each particle. | |
Length | theMaxLifeTime |
The maximum lifetime above which a particle is not decayed. | |
bool | theLifeTimeOption |
Option for how theMaxLifeTime should be interpreted. | |
Static Private Attributes | |
static ClassDescription < DecayHandler > | initDecayHandler |
Describe a concrete class with persistent data. |
It is derived from the more general StepHandler class, and overrides the handle() method. This base class simply decays all unstable particle in the current step.
Definition at line 31 of file DecayHandler.h.
virtual void ThePEG::DecayHandler::handle | ( | EventHandler & | eh, | |
const tPVector & | tagged, | |||
const Hint & | hint | |||
) | [virtual] |
Look through all tagged particled and decay all unstable ones.
eh | the EventHandler in charge of the generation. | |
tagged | the vector of particles to consider. If empty, all final state particles in the current Step is considered. | |
hint | a possible Hint which is ignored in this implementation. |
Implements ThePEG::StepHandler.
Perform the decay of one unstable particle.
parent | the particle to be decayed. | |
s | the Step where decay products are inserted. |
void ThePEG::DecayHandler::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::Interfaced.
void ThePEG::DecayHandler::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::Interfaced.
virtual IBPtr ThePEG::DecayHandler::clone | ( | ) | const [protected, virtual] |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
virtual IBPtr ThePEG::DecayHandler::fullclone | ( | ) | const [protected, virtual] |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.