Herwig 7.3.0
|
The DecayConstructor class is an interfaced class that stores a vector of NBodyDecayConstructor objects and calls the appropriate function to create the decayers and decaymodes. More...
#include <DecayConstructor.h>
Public Member Functions | |
DecayConstructor () | |
The default constructor. | |
![]() | |
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 |
Protected Member Functions | |
Standard Interfaced functions. | |
virtual void | doinit () |
Initialize this object after the setup phase before saving an EventGenerator to disk. | |
![]() | |
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) |
Clone Methods. | |
vector< NBodyDecayConstructorBasePtr > | NBodyDecayConstructors_ |
Vector of references to the objects that will construct the N-Body decays. | |
vector< string > | _disableDMTags |
A list of DecayMode tags that are not to be created. | |
DecayRadiationGeneratorPtr | QEDGenerator_ |
The decay radiation generator to use for QED radiation. | |
double | _minBR |
Minimum allowed branching ratio. | |
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. | |
DecayConstructor & | operator= (const DecayConstructor &)=delete |
The assignment operator is private and must never be called. | |
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. | |
void | createDecayers (const vector< PDPtr > &particles, double minBR) |
Function to create decayers. | |
bool | disableDecayMode (string tag) const |
Check whether the decay mode given is one that should not be created. | |
DecayRadiationGeneratorPtr | QEDGenerator () |
QED Generator. | |
const vector< NBodyDecayConstructorBasePtr > & | decayConstructors () |
Vector of references to the objects that will construct the N-Body decays. | |
double | minimumBR () const |
Get minimum branching ratio. | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Additional Inherited Members | |
![]() | |
enum | InitState |
![]() | |
typedef unsigned int | CounterType |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
initializing | |
uninitialized | |
initialized | |
runready | |
![]() | |
const unsigned long | uniqueId |
![]() | |
static void | registerRepository (IBPtr) |
static void | registerRepository (IBPtr, string newName) |
The DecayConstructor class is an interfaced class that stores a vector of NBodyDecayConstructor objects and calls the appropriate function to create the decayers and decaymodes.
There is also an interface to add decay mode tags of the form a->b,c,...; which will not be created.
Definition at line 34 of file DecayConstructor.h.
|
inline |
The default constructor.
Definition at line 41 of file DecayConstructor.h.
|
protectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
void Herwig::DecayConstructor::createDecayers | ( | const vector< PDPtr > & | particles, |
double | minBR | ||
) |
Function to create decayers.
particles | vector of ParticleData pointers to particles contained in model |
minBR | minimum branching ratio for modes |
|
inline |
Vector of references to the objects that will construct the N-Body decays.
Definition at line 94 of file DecayConstructor.h.
References NBodyDecayConstructors_.
bool Herwig::DecayConstructor::disableDecayMode | ( | string | tag | ) | const |
Check whether the decay mode given is one that should not be created.
tag | The decay mode tag, a->b,c,d,...; |
|
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.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
|
static |
The standard Init function used to initialize the interfaces.
Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.
|
inline |
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void Herwig::DecayConstructor::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::DecayConstructor::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
inline |
|
private |
A list of DecayMode tags that are not to be created.
Definition at line 151 of file DecayConstructor.h.
|
private |
Minimum allowed branching ratio.
Definition at line 161 of file DecayConstructor.h.
Referenced by minimumBR().
|
private |
Vector of references to the objects that will construct the N-Body decays.
Definition at line 146 of file DecayConstructor.h.
Referenced by decayConstructors().
|
private |
The decay radiation generator to use for QED radiation.
Definition at line 156 of file DecayConstructor.h.
Referenced by QEDGenerator().