Herwig 7.3.0
|
The HwDecayHandler
is the Herwig decay handler which administers the decays of unstable particles in Herwig.
More...
#include <HwDecayHandler.h>
Public Member Functions | |
HwDecayHandler () | |
Default constructor. | |
virtual void | handle (EventHandler &eh, const tPVector &tagged, const Hint &hint) |
Look through all tagged particled and decay all unstable ones. | |
virtual void | performDecay (tPPtr parent, Step &s) const |
Perform the decay of one unstable particle. | |
void | addDecayedParticle (tPPtr parent, Step &s) const |
add the decay products of in intermediate particle produced in a decay | |
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 void | handle (EventHandler &eh, const tPVector &tagged, const Hint &hint) |
void | performDecay (tPPtr parent, Step &s) const |
virtual void | handle (EventHandler &eh, const tPVector &tagged, const Hint &hint) |
void | performDecay (tPPtr parent, Step &s) const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
long | maxLoop () const |
Length | maxLifeTime () const |
bool | lifeTimeOption () const |
![]() | |
virtual void | handle (EventHandler &eh, const tPVector &tagged, const Hint &hint)=0 |
tEHPtr | eventHandler () const |
void | eventHandler (tEHPtr) |
tStepPtr | newStep () |
tStepPtr | currentStep () |
virtual void | handle (EventHandler &eh, const tPVector &tagged, const Hint &hint)=0 |
![]() | |
double | rnd () const |
double | rnd (double xu) const |
double | rnd (double xl, double xu) const |
bool | rndbool () const |
bool | rndbool (double p) const |
bool | rndbool (double p1, double p2) const |
int | rndsign (double p1, double p2, double p3) const |
int | rnd2 (double p0, double p1) const |
int | rnd3 (double p0, double p1, double p2) const |
int | rnd4 (double p0, double p1, double p2, double p3) const |
long | irnd (long xu=2) const |
long | irnd (long xl, long xu) const |
const StandardModelBase & | SM () const |
tSMPtr | standardModel () const |
![]() | |
virtual bool | defaultInit () |
PPtr | getParticle (PID) const |
PDPtr | getParticleData (PID) const |
bool | used () const |
void | useMe () const |
tEGPtr | generator () const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
PPtr | getParticle (PID) const |
PDPtr | getParticleData (PID) const |
bool | used () const |
void | useMe () const |
tEGPtr | generator () const |
![]() | |
string | fullName () const |
string | name () const |
string | path () const |
string | comment () const |
void | setup (istream &is) |
void | update () |
void | init () |
virtual bool | preInitialize () const |
void | initrun () |
void | finish () |
void | touch () |
void | reset () |
void | clear () |
InitState | state () const |
bool | locked () const |
bool | touched () const |
virtual IBPtr | fullclone () const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
virtual void | debugme () const |
void | update () |
void | init () |
virtual bool | preInitialize () const |
void | initrun () |
void | finish () |
void | touch () |
void | reset () |
void | clear () |
InitState | state () const |
bool | locked () const |
bool | touched () const |
virtual IBPtr | fullclone () const |
![]() | |
void | debug () const |
virtual void | debugme () const |
![]() | |
CounterType | referenceCount () const |
![]() | |
Named (const string &newName=string()) | |
Named (const Named &)=default | |
const string & | name () const |
bool | operator== (const Named &other) const |
bool | operator< (const Named &other) const |
Static Public Member Functions | |
static void | Init () |
Standard Init function. | |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
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. | |
virtual IBPtr | clone () const |
virtual IBPtr | fullclone () const |
![]() | |
void | createNewStep () |
![]() | |
void | reporeg (IBPtr object, string name) const |
bool | setDefaultReference (PtrT &ptr, string classname, string objectname) |
Interfaced (const string &newName) | |
Interfaced (const Interfaced &i) | |
void | setGenerator (tEGPtr generator) |
![]() | |
virtual void | readSetup (istream &is) |
virtual void | doupdate () |
virtual void | doinit () |
virtual void | doinitrun () |
virtual void | dofinish () |
virtual IVector | getReferences () |
virtual void | rebind (const TranslationMap &) |
virtual IBPtr | clone () const=0 |
InterfacedBase (string newName) | |
InterfacedBase (const InterfacedBase &i) | |
virtual void | readSetup (istream &is) |
virtual void | doupdate () |
virtual void | doinit () |
virtual void | doinitrun () |
virtual void | dofinish () |
virtual IVector | getReferences () |
virtual void | rebind (const TranslationMap &) |
![]() | |
ReferenceCounted (const ReferenceCounted &) | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
![]() | |
const Named & | operator= (const Named &other) |
const string & | name (const string &newName) |
Standard Interfaced functions. | |
bool | _newstep |
Option for adding particles in a new Step. | |
set< tcPDPtr > | _excluded |
Particles which should not be decayed. | |
vector< PDPtr > | _excludedVector |
Vector to fill the set as an interface. | |
virtual void | doinit () |
Initialize this object after the setup phase before saving an EventGenerator to disk. | |
void | develop (tPPtr particle) const |
Develop a stable particle. | |
HwDecayHandler & | operator= (const HwDecayHandler &)=delete |
Private and non-existent assignment operator. | |
Additional Inherited Members | |
![]() | |
enum | InitState |
![]() | |
typedef unsigned int | CounterType |
![]() | |
initializing | |
uninitialized | |
initialized | |
runready | |
![]() | |
const unsigned long | uniqueId |
![]() | |
static void | registerRepository (IBPtr) |
static void | registerRepository (IBPtr, string newName) |
The HwDecayHandler
is the Herwig decay handler which administers the decays of unstable particles in Herwig.
It is derived from ThePEG::DecayHandler and includes a different handle method in order to simulate decays including spin correlations.
The handle method decays all particles in the current step, including spin correlations. Another feature of the DecayHandler is that it correctly handles mutlistep decays where a Decayer supplys intermediate decay products in addition to the outgoing particles.
Definition at line 39 of file HwDecayHandler.h.
|
inline |
Default constructor.
Definition at line 46 of file HwDecayHandler.h.
add the decay products of in intermediate particle produced in a decay
parent | the particle which has been decayed. |
s | the Step where decay products are inserted. |
Veto | if the Handler requires the current step to be discarded. |
Exception | if something goes wrong. |
|
inlineprotectedvirtual |
Make a simple clone of this object.
Reimplemented from ThePEG::DecayHandler.
Definition at line 113 of file HwDecayHandler.h.
|
inlineprotected |
Develop a stable particle.
Definition at line 139 of file HwDecayHandler.h.
|
protectedvirtual |
Initialize this object after the setup phase before saving an EventGenerator to disk.
InitException | if object could not be initialized properly. |
Reimplemented from ThePEG::InterfacedBase.
|
inlineprotectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::DecayHandler.
Definition at line 119 of file HwDecayHandler.h.
|
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. |
Reimplemented from ThePEG::DecayHandler.
Perform the decay of one unstable particle.
parent | the particle to be decayed. |
s | the Step where decay products are inserted. |
Veto | if the Handler requires the current step to be discarded. |
Exception | if something goes wrong. |
void Herwig::HwDecayHandler::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. |
void Herwig::HwDecayHandler::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
private |
Particles which should not be decayed.
Definition at line 162 of file HwDecayHandler.h.
|
private |
Vector to fill the set as an interface.
Definition at line 167 of file HwDecayHandler.h.
|
private |
Option for adding particles in a new Step.
Definition at line 157 of file HwDecayHandler.h.