Herwig 7.3.0
|
The MamboDecayer class inherits from the Decayer class in ThePEG and implements the algorithm of R.Kleiss and W.J.Stirling NPB 385 (1992) 413-432 for massive multi-particle phase-space decays. More...
#include <MamboDecayer.h>
Public Member Functions | |
MamboDecayer () | |
The default constructor. | |
virtual bool | accept (tcPDPtr parent, const tPDVector &children) const |
Check if this decayer can perfom the decay for a particular mode. | |
virtual ParticleVector | decay (const Particle &parent, const tPDVector &children) const |
Perform the decay of the particle to the specified decay products. | |
virtual void | dataBaseOutput (ofstream &os, bool header) const |
Output the setup information for the particle database. | |
![]() | |
HwDecayerBase () | |
The default constructor. | |
virtual bool | accept (const DecayMode &dm) const |
Check if this decayer can perfom the decay specified by the given decay mode. | |
virtual ParticleVector | decay (const DecayMode &dm, const Particle &p) const |
Perform a decay for a given DecayMode and a given Particle instance. | |
virtual POWHEGType | hasPOWHEGCorrection () |
Has a POWHEG style correction. | |
virtual bool | hasMECorrection () |
Has an old fashioned ME correction. | |
virtual void | initializeMECorrection (RealEmissionProcessPtr, double &, double &) |
Initialize the ME correction. | |
virtual RealEmissionProcessPtr | applyHardMatrixElementCorrection (RealEmissionProcessPtr) |
Apply the hard matrix element correction to a given hard process or decay. | |
virtual bool | softMatrixElementVeto (PPtr parent, PPtr progenitor, const bool &fs, const Energy &highestpT, const vector< tcPDPtr > &ids, const double &z, const Energy &scale, const Energy &pT) |
Apply the soft matrix element correction. | |
virtual RealEmissionProcessPtr | generateHardest (RealEmissionProcessPtr) |
Apply the POWHEG style correction. | |
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. | |
bool | initialize () const |
Access to the initialize variable. | |
bool | databaseOutput () const |
Access the database output variable. | |
![]() | |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
virtual bool | accept (const DecayMode &dm) const=0 |
virtual bool | needsFullStep () const |
virtual ParticleVector | decay (const DecayMode &dm, const Particle &p) const=0 |
virtual ParticleVector | decay (const DecayMode &dm, const Particle &p, Step &step) const |
virtual double | brat (const DecayMode &dm, const ParticleData &pd, double oldbrat) const |
virtual double | brat (const DecayMode &dm, const Particle &p, double oldbrat) const |
virtual ParticleVector | getChildren (const DecayMode &dm, const Particle &parent) const |
virtual void | finalBoost (const Particle &parent, const ParticleVector &children) const |
virtual void | setScales (const Particle &parent, const ParticleVector &children) const |
Ptr< Amplitude >::pointer | amplitude () const |
![]() | |
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 |
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. | |
void | fixRho (RhoDMatrix &) const |
Set rho to be diagonal if no correlations. | |
![]() | |
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) |
Bessel Functions. | |
double | _maxweight |
Maximum weight. | |
vector< double > | _a0 |
Store coefficents for aysymptotic expansion of \(\frac{I_0}{I_1}\). | |
vector< double > | _a1 |
Store data for aysymptotic expansion of the first derivative \(\frac{I_0}{I_1}\). | |
void | BesselFns (const long double x, long double &f, long double &fp) const |
Compute the values \(K_0(x)/K_1(x)\) and it's derivative using asymptotic expansion for large x values. | |
void | BesselIExpand (const long double x, long double &f, long double &fp) const |
Compute the values \(I_0(x)/I_1(x)\) and it's derivative using asymptotic expansion. | |
long double | BesselI0 (const long double x) const |
Modified Bessel function of first kind \(I_0(x)\). | |
long double | BesselI1 (const long double x) const |
Modified Bessel function of first kind \(I_1(x)\). | |
long double | BesselK0 (const long double x) const |
Modified Bessel function of second kind \(K_0(x)\). | |
long double | BesselK1 (const long double x) const |
Modified Bessel function of second kind \(K_1(x)\). | |
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 void | Init () |
The standard Init function used to initialize the interfaces. | |
Standard Interfaced functions. | |
virtual void | doinitrun () |
Initialize this object. | |
MamboDecayer & | operator= (const MamboDecayer &)=delete |
The assignment operator is private and must never be called. | |
double | calculateMomentum (vector< Lorentz5Momentum > &mom, Energy comEn) const |
Set array of mometum to particles. | |
void | colourConnections (const Particle &parent, ParticleVector &out) const |
Set up the colour connections for the decay. | |
Additional Inherited Members | |
![]() | |
enum | POWHEGType { No , ISR , FSR , Both } |
Virtual members to be overridden by inheriting classes which implement hard corrections. More... | |
![]() | |
enum | InitState |
![]() | |
typedef unsigned int | CounterType |
![]() | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
![]() | |
static void | Init () |
static ParticleVector | DecayParticle (tPPtr parent, Step &step, long maxtry=1000) |
![]() | |
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 MamboDecayer class inherits from the Decayer class in ThePEG and implements the algorithm of R.Kleiss and W.J.Stirling NPB 385 (1992) 413-432 for massive multi-particle phase-space decays.
Definition at line 27 of file MamboDecayer.h.
|
inline |
The default constructor.
Definition at line 34 of file MamboDecayer.h.
|
virtual |
Check if this decayer can perfom the decay for a particular mode.
parent | The decaying particle |
children | The decay products |
Implements Herwig::HwDecayerBase.
|
inlineprivate |
Compute the values \(K_0(x)/K_1(x)\) and it's derivative using asymptotic expansion for large x values.
x | The argument |
f | The value of the ratio |
fp | The value of the derivative ratio |
Definition at line 151 of file MamboDecayer.h.
References BesselIExpand(), BesselK0(), BesselK1(), and ThePEG::sqr().
|
inlineprivate |
Modified Bessel function of first kind \(I_0(x)\).
x | Argument of Bessel Function |
Definition at line 184 of file MamboDecayer.h.
References ThePEG::sqr(), and ThePEG::sqrt().
Referenced by BesselK0().
|
inlineprivate |
Modified Bessel function of first kind \(I_1(x)\).
x | Argument of Bessel Function |
Definition at line 204 of file MamboDecayer.h.
References ThePEG::sqr(), and ThePEG::sqrt().
Referenced by BesselK1().
|
inlineprivate |
Compute the values \(I_0(x)/I_1(x)\) and it's derivative using asymptotic expansion.
x | The argument |
f | The value of the ratio |
fp | The value of the derivative ratio |
Definition at line 169 of file MamboDecayer.h.
Referenced by BesselFns().
|
inlineprivate |
Modified Bessel function of second kind \(K_0(x)\).
x | Argument of Bessel Function |
Definition at line 224 of file MamboDecayer.h.
References BesselI0(), and ThePEG::sqrt().
Referenced by BesselFns().
|
inlineprivate |
Modified Bessel function of second kind \(K_1(x)\).
x | Argument of Bessel Function |
Definition at line 245 of file MamboDecayer.h.
References BesselI1(), and ThePEG::sqrt().
Referenced by BesselFns().
|
private |
Set array of mometum to particles.
mom | Momentum set to be distributed over phase-space |
comEn | The mass of the decaying particle |
|
inlineprotectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
Definition at line 95 of file MamboDecayer.h.
|
private |
Set up the colour connections for the decay.
parent | The incoming particle |
out | The decay products |
|
virtual |
Output the setup information for the particle database.
os | The stream to output the information to |
header | Whether or not to output the information for MySQL |
Implements Herwig::HwDecayerBase.
|
virtual |
Perform the decay of the particle to the specified decay products.
parent | The decaying particle |
children | The decay products |
Implements Herwig::HwDecayerBase.
|
protectedvirtual |
Initialize this object.
Called in the run phase just before a run begins.
Reimplemented from ThePEG::InterfacedBase.
|
inlineprotectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
Definition at line 101 of file MamboDecayer.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.
void Herwig::MamboDecayer::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::MamboDecayer::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
private |
Store coefficents for aysymptotic expansion of \(\frac{I_0}{I_1}\).
Definition at line 273 of file MamboDecayer.h.
Referenced by BesselIExpand().
|
private |
Store data for aysymptotic expansion of the first derivative \(\frac{I_0}{I_1}\).
Definition at line 279 of file MamboDecayer.h.
Referenced by BesselIExpand().
|
private |
Maximum weight.
Definition at line 268 of file MamboDecayer.h.