9 #ifndef ThePEG_DecayHandler_H 10 #define ThePEG_DecayHandler_H 13 #include "StepHandler.h" 179 static string className() {
return "ThePEG::DecayHandler"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
bool lifeTimeOption() const
Option for whether the maximum lifetime should be applied to the mean lifetime of the particle specie...
The EventHandler is the base class used to implement event handlers in ThePEG.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ClassTraitsType is an empty, non-polymorphic, base class.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
Length theMaxLifeTime
The maximum lifetime above which a particle is not decayed.
This is the main namespace within which all identifiers in ThePEG are declared.
long theMaxLoop
The maximum number of failed decay attempts allowed for each particle.
StepHandler is the base class for implementing any model for a step in the event generation chain...
static void Init()
Standard Init function used to initialize the interface.
bool theLifeTimeOption
Option for how theMaxLifeTime should be interpreted.
static ClassDescription< DecayHandler > initDecayHandler
Describe a concrete class with persistent data.
DecayHandler & operator=(const DecayHandler &)
Private and non-existent assignment operator.
The DecayHandler is the base class of all handlers implementing the administration of decays of unsta...
QTY< 1, 0, 0 >::Type Length
Length.
void performDecay(tPPtr parent, Step &s) const
Perform the decay of one unstable particle.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Hint is a base class to be used to pass information between StepHandler s, which cannot be convayed t...
virtual ~DecayHandler()
Destructor.
virtual IBPtr clone() const
Make a simple clone of this object.
RCPtr is a reference counted (smart) pointer.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
The default concrete implementation of ClassTraitsBase.
virtual void handle(EventHandler &eh, const tPVector &tagged, const Hint &hint)
Look through all tagged particled and decay all unstable ones.
DecayHandler()
Default constructor.
vector< tPPtr > tPVector
A vector of transient pointers to Particle objects.
Length maxLifeTime() const
Get the maximum lifetime above which a particle is not decayed.
BaseClassTraits describes the base classes of the templated class.
long maxLoop() const
The maximum number of failed decay attempts allowed for each particle.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
The Step class contains information of all particles present after certain step in the event generati...