ThePEG::DecayHandler Class Reference

The DecayHandler is the base class of all handlers implementing the administration of decays of unstable particles. More...

#include <DecayHandler.h>

Inheritance diagram for ThePEG::DecayHandler:

ThePEG::StepHandler ThePEG::HandlerBase ThePEG::HandlerBaseT< T > ThePEG::Interfaced ThePEG::InterfacedBase ThePEG::Base ThePEG::Named ThePEG::Pointer::ReferenceCounted

List of all members.

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

DecayHandleroperator= (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.


Detailed Description

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.

See also:
The interfaces defined for DecayHandler.

StepHandler

EventHandler

SubProcessHandler

Definition at line 31 of file DecayHandler.h.


Member Function Documentation

virtual void ThePEG::DecayHandler::handle ( EventHandler eh,
const tPVector tagged,
const Hint hint 
) [virtual]

Look through all tagged particled and decay all unstable ones.

Parameters:
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.

void ThePEG::DecayHandler::performDecay ( tPPtr  parent,
Step s 
) const

Perform the decay of one unstable particle.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Returns:
a pointer to the new 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.

Returns:
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.


The documentation for this class was generated from the following file:

Generated on Thu Apr 29 12:43:02 2010 for ThePEG by  doxygen 1.5.5