ThePEG
1.8.0
|
The DecayHandler is the base class of all handlers implementing the administration of decays of unstable particles. More...
#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. | |
![]() | |
virtual | ~StepHandler () |
The destructor. | |
tEHPtr | eventHandler () const |
Get a pointer to the EventHandler which made the last call to handle(). | |
void | eventHandler (tEHPtr) |
Set a pointer to the EventHandler which made the last call to handle(). | |
tStepPtr | newStep () |
Return a pointer to a new step. | |
tStepPtr | currentStep () |
If a new step has been created, return it, otherwise return the current step from the eventHandler(). |
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. | |
![]() | |
void | createNewStep () |
Use the collision handler to create a new step. |
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. |
The DecayHandler is the base class of all handlers implementing the administration of decays of unstable particles.
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.
|
protectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
|
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::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.
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.