Herwig 7.3.0
|
The TwoBodyAllOnCalculator
class is a wrapped around the the simple two body decay matrix elements in the GenericWidthGenerator
class and is designed to allow these matrix elements to be integrated if the external particles can be off-shell.
More...
#include <TwoBodyAllOnCalculator.h>
Public Member Functions | |
TwoBodyAllOnCalculator (tGenericWidthGeneratorPtr inwidth, int imode, Energy m1, Energy m2) | |
Constructor. | |
Energy | partialWidth (Energy2 scale) const |
member to calculate the partial width. | |
void | resetMass (int imass, Energy mass) |
Get the mass of one of the decay products. | |
Energy | getMass (const int imass) const |
Get the mass of one of the decay products. | |
Energy | otherMass (const int imass) const |
Get the masses of all bar the one specified. | |
![]() | |
virtual | ~WidthCalculatorBase () |
Destructor. | |
virtual Energy | partialWidth (Energy2 scale) const =0 |
Calculate the partial width. | |
virtual void | resetMass (int imass, Energy mass)=0 |
Reset the mass of a particle (used to integrate over the mass.) This must be implemented in classes inheriting from this one. | |
virtual Energy | getMass (const int imass) const =0 |
Get the mass of one of the decay products. | |
virtual Energy | otherMass (const int imass) const =0 |
Get the masses of all bar the one specified. | |
![]() | |
CounterType | referenceCount () const |
Private Member Functions | |
TwoBodyAllOnCalculator & | operator= (const TwoBodyAllOnCalculator &)=delete |
Private and non-existent assignment operator. | |
Private Attributes | |
int | _mode |
the mode | |
Energy | _mass1 |
Mass of the first particle. | |
Energy | _mass2 |
Mass of the second particle. | |
GenericWidthGeneratorPtr | _widthgen |
the width generator | |
Friends | |
class | GenericWidthGenerator |
The GenericWidthGenerator class is a friend to allow easier access for the integration of the two body partial widths. | |
Additional Inherited Members | |
![]() | |
typedef unsigned int | CounterType |
![]() | |
const unsigned long | uniqueId |
![]() | |
ReferenceCounted (const ReferenceCounted &) | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
The TwoBodyAllOnCalculator
class is a wrapped around the the simple two body decay matrix elements in the GenericWidthGenerator
class and is designed to allow these matrix elements to be integrated if the external particles can be off-shell.
Definition at line 30 of file TwoBodyAllOnCalculator.h.
|
inline |
Constructor.
inwidth | Pointer to the GenericWidthGenerator class. |
imode | The mode in the GenericWidthGenerator class we are integrating |
m1 | The mass of the first particle. |
m2 | The mass of the second particle. |
Definition at line 49 of file TwoBodyAllOnCalculator.h.
|
inlinevirtual |
Get the mass of one of the decay products.
This must be implemented in classes inheriting from this one.
imass | The mass required. |
Implements Herwig::WidthCalculatorBase.
Definition at line 82 of file TwoBodyAllOnCalculator.h.
References _mass1, _mass2, and ThePEG::Exception::runerror.
|
inlinevirtual |
Get the masses of all bar the one specified.
Used to get the limits for integration.
imass | The particle not needed |
Implements Herwig::WidthCalculatorBase.
Definition at line 96 of file TwoBodyAllOnCalculator.h.
References _mass1, _mass2, and ThePEG::Exception::runerror.
|
virtual |
member to calculate the partial width.
scale | The mass squared for the decaying particle. |
Implements Herwig::WidthCalculatorBase.
|
inlinevirtual |
Get the mass of one of the decay products.
This must be implemented in classes inheriting from this one.
imass | The mass required. |
mass | The new value. |
Implements Herwig::WidthCalculatorBase.
Definition at line 68 of file TwoBodyAllOnCalculator.h.
References _mass1, _mass2, and ThePEG::Exception::runerror.
|
friend |
The GenericWidthGenerator class is a friend to allow easier access for the integration of the two body partial widths.
Definition at line 38 of file TwoBodyAllOnCalculator.h.
|
private |
Mass of the first particle.
Definition at line 121 of file TwoBodyAllOnCalculator.h.
Referenced by getMass(), otherMass(), and resetMass().
|
private |
Mass of the second particle.
Definition at line 126 of file TwoBodyAllOnCalculator.h.
Referenced by getMass(), otherMass(), and resetMass().
|
private |
the mode
Definition at line 116 of file TwoBodyAllOnCalculator.h.
|
private |
the width generator
Definition at line 131 of file TwoBodyAllOnCalculator.h.