Herwig 7.3.0
|
The BaryonWidthGenerator class is designed to automatically calculate the running width for a given particle using information from the decayModes and the Baryon1MesonDecayer to construct the running width. More...
#include <BaryonWidthGenerator.h>
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 void | dofinish () |
Finalize this object. | |
virtual void | rebind (const TranslationMap &trans) |
Rebind pointer to other Interfaced objects. | |
virtual IVector | getReferences () |
Return a vector of all pointers to Interfaced objects used in this object. | |
int | MEcode (int imode) const |
Matrix element code for a given mode. | |
double | MEcoupling (int imode) const |
Coupling for a given mode. | |
Energy | mass () const |
The on-shell mass of the particle. | |
bool | initialize () const |
Access to the decay modes. | |
bool | output () const |
Output option for use by the inheriting classes. | |
vector< tDMPtr > | decayModes () const |
Access to the DecayModes. | |
Energy | partial2BodyWidth (int iloc, Energy q) const |
The \(1\to2\) width for on-shell particles. | |
tPDPtr | particle () const |
Access to the particle dat for inheriting classes. | |
void | particle (tPDPtr in) |
Set the particle. | |
![]() | |
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. | |
vector< Baryon1MesonDecayerBasePtr > | _baryondecayers |
vector of pointers to the decayers | |
vector< int > | _modeloc |
Location of the decay mode in the decayer. | |
virtual void | doinit () |
Initialize this object after the setup phase before saving and EventGenerator to disk. | |
BaryonWidthGenerator & | operator= (const BaryonWidthGenerator &)=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. | |
virtual void | dataBaseOutput (ofstream &output, bool header=true) |
Output the initialisation info for the database. | |
virtual Energy | partial2BodyWidth (int iloc, Energy m0, Energy m1, Energy m2) const |
The \(1\to2\) width for outgoing particles which can be off-shell. | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
virtual void | setupMode (tcDMPtr mode, tDecayIntegratorPtr decayer, unsigned int imode) |
Perform the set up for a mode, this is called by the base class. | |
Additional Inherited Members | |
![]() | |
typedef Selector< tDMPtr > | DecayMap |
![]() | |
enum | InitState |
![]() | |
typedef unsigned int | CounterType |
![]() | |
GenericWidthGenerator () | |
Default constructor. | |
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 bool | accept (const ParticleData &part) const |
Return true if this width generator can handle the given particle type. | |
virtual Energy | width (const ParticleData &part, Energy m) const |
Calculate the width. | |
virtual DecayMap | rate (const ParticleData &part) const |
Initialize the given decay map for the given particle type. | |
virtual DecayMap | rate (const Particle &part) |
Return a decay map for a given particle instance. | |
virtual Energy | partialWidth (int iloc, Energy m) const |
The partial width for a given mode. | |
virtual pair< Energy, Energy > | width (Energy, const ParticleData &) const |
Return the total width and the sum of the partial widths for modes which are used. | |
virtual Length | lifeTime (const ParticleData &, Energy m, Energy w) const |
Given a particle type and a mass and a width of an instance of that particle type, generate a life time. | |
![]() | |
virtual bool | accept (const ParticleData &) const=0 |
Energy | width (const Particle &) const |
virtual Energy | width (const ParticleData &, Energy m) const=0 |
virtual Length | lifeTime (const ParticleData &, Energy m, Energy w) const |
virtual DecayMap | rate (const ParticleData &) const=0 |
virtual DecayMap | rate (const Particle &) |
![]() | |
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 void | Init () |
Standard Init function used to initialize the interfaces. | |
![]() | |
static void | Init () |
![]() | |
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 BaryonWidthGenerator class is designed to automatically calculate the running width for a given particle using information from the decayModes and the Baryon1MesonDecayer to construct the running width.
It inherits from the GenericWidthGenerator.
Definition at line 26 of file BaryonWidthGenerator.h.
|
inlineprotectedvirtual |
Make a simple clone of this object.
Reimplemented from Herwig::GenericWidthGenerator.
Definition at line 92 of file BaryonWidthGenerator.h.
|
virtual |
Output the initialisation info for the database.
output | The stream to output the information to |
header | output the header. |
Reimplemented from Herwig::GenericWidthGenerator.
|
protectedvirtual |
Initialize this object after the setup phase before saving and EventGenerator to disk.
InitException | if object could not be initialized properly. |
Reimplemented from Herwig::GenericWidthGenerator.
|
inlineprotectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from Herwig::GenericWidthGenerator.
Definition at line 98 of file BaryonWidthGenerator.h.
|
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.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
|
virtual |
The \(1\to2\) width for outgoing particles which can be off-shell.
iloc | The location of the mode in the list. |
m0 | The mass of the decaying particle. |
m1 | The mass of the first outgoing particle. |
m2 | The mass of the second outgoing particle. |
Reimplemented from Herwig::GenericWidthGenerator.
void Herwig::BaryonWidthGenerator::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::BaryonWidthGenerator::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
protectedvirtual |
Perform the set up for a mode, this is called by the base class.
mode | The decay mode |
decayer | The decayer for the mode. |
imode | The number of the mode. |
Reimplemented from Herwig::GenericWidthGenerator.
|
private |
vector of pointers to the decayers
Definition at line 127 of file BaryonWidthGenerator.h.
|
private |
Location of the decay mode in the decayer.
Definition at line 132 of file BaryonWidthGenerator.h.