herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::TwoOffShellCalculator Class Reference

Use WidthCalculatorBase objects to integrate over the mass of two external particles which can be off-shell for running width calculations. More...

#include <TwoOffShellCalculator.h>

Inheritance diagram for Herwig::TwoOffShellCalculator:

Public Member Functions

 TwoOffShellCalculator (int inloc, WidthCalculatorBasePtr inwidth, GenericMassGeneratorPtr inmass, Energy inmin2, Energy inmin1)
 Constructor which should be used setting all the required members.
 
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.
 
- Public Member Functions inherited from Herwig::WidthCalculatorBase
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.
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 

Protected Member Functions

Energy dGamma (Energy mass) const
 The integrand.
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 

Private Member Functions

TwoOffShellCalculatoroperator= (const TwoOffShellCalculator &)=delete
 Private and non-existent assignment operator.
 

Private Attributes

int _themass
 The second mass which is offshell.
 
Energy _minmass
 the minimum allowed mass
 
Energy _mother
 sum of the masses of the other decay products
 
WidthCalculatorBasePtr _oneoffwidth
 pointer to object calculating the width for one-off shell particle.
 
GenericMassGeneratorPtr _massptr
 pointer to object calculating the mass of the particle
 
GSLIntegrator _integrator
 integrator
 
Energy2 _scale
 the mass squared of the decaying particle
 

Friends

struct TwoOffShellIntegrand
 The TwoOffShellIntegrand class is a friend to allow access to the private members for the integration.
 

Additional Inherited Members

- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 

Detailed Description

Use WidthCalculatorBase objects to integrate over the mass of two external particles which can be off-shell for running width calculations.

See also
WidthCalculatorBase
TwoOffShellIntegrand

Definition at line 33 of file TwoOffShellCalculator.h.

Constructor & Destructor Documentation

◆ TwoOffShellCalculator()

Herwig::TwoOffShellCalculator::TwoOffShellCalculator ( int  inloc,
WidthCalculatorBasePtr  inwidth,
GenericMassGeneratorPtr  inmass,
Energy  inmin2,
Energy  inmin1 
)
inline

Constructor which should be used setting all the required members.

Parameters
inlocThe mass which is off-shell and to be integrated over.
inwidthPointer to the WidthGeneratorBase object which calculates the partial width for a given mass of the off-shell particle. This should be a OneOffShellCalculator instance.
inmassPointer to the GenericMassGenerator for the off-shell particle.
inmin1The minimum mass for the first off-shell particle.
inmin2The minimum mass for the second off-shell particle.

Definition at line 53 of file TwoOffShellCalculator.h.

Member Function Documentation

◆ dGamma()

Energy Herwig::TwoOffShellCalculator::dGamma ( Energy  mass) const
inlineprotected

The integrand.

Parameters
massThe mass of the second off-shell particle,
Returns
The differential rate.

Definition at line 105 of file TwoOffShellCalculator.h.

References _massptr, _oneoffwidth, _scale, and _themass.

◆ getMass()

Energy Herwig::TwoOffShellCalculator::getMass ( const int  imass) const
inlinevirtual

Get the mass of one of the decay products.

This must be implemented in classes inheriting from this one.

Parameters
imassThe mass required.
Returns
The mass required.

Implements Herwig::WidthCalculatorBase.

Definition at line 84 of file TwoOffShellCalculator.h.

References _oneoffwidth.

◆ otherMass()

Energy Herwig::TwoOffShellCalculator::otherMass ( const int  imass) const
inlinevirtual

Get the masses of all bar the one specified.

Used to get the limits for integration.

Parameters
imassThe particle not needed
Returns
The sum of the other masses.

Implements Herwig::WidthCalculatorBase.

Definition at line 94 of file TwoOffShellCalculator.h.

References _oneoffwidth.

◆ partialWidth()

Energy Herwig::TwoOffShellCalculator::partialWidth ( Energy2  scale) const
virtual

member to calculate the partial width.

Parameters
scaleThe mass squared for the decaying particle.
Returns
The partial width.

Implements Herwig::WidthCalculatorBase.

◆ resetMass()

void Herwig::TwoOffShellCalculator::resetMass ( int  imass,
Energy  mass 
)
inlinevirtual

Get the mass of one of the decay products.

This must be implemented in classes inheriting from this one.

Parameters
imassThe mass required.
massThe new value.
Returns
The mass required.

Implements Herwig::WidthCalculatorBase.

Definition at line 74 of file TwoOffShellCalculator.h.

References _oneoffwidth.

Friends And Related Function Documentation

◆ TwoOffShellIntegrand

friend struct TwoOffShellIntegrand
friend

The TwoOffShellIntegrand class is a friend to allow access to the private members for the integration.

Definition at line 39 of file TwoOffShellCalculator.h.

Member Data Documentation

◆ _integrator

GSLIntegrator Herwig::TwoOffShellCalculator::_integrator
private

integrator

Definition at line 149 of file TwoOffShellCalculator.h.

◆ _massptr

GenericMassGeneratorPtr Herwig::TwoOffShellCalculator::_massptr
private

pointer to object calculating the mass of the particle

Definition at line 144 of file TwoOffShellCalculator.h.

Referenced by dGamma().

◆ _minmass

Energy Herwig::TwoOffShellCalculator::_minmass
private

the minimum allowed mass

Definition at line 129 of file TwoOffShellCalculator.h.

◆ _mother

Energy Herwig::TwoOffShellCalculator::_mother
private

sum of the masses of the other decay products

Definition at line 134 of file TwoOffShellCalculator.h.

◆ _oneoffwidth

WidthCalculatorBasePtr Herwig::TwoOffShellCalculator::_oneoffwidth
private

pointer to object calculating the width for one-off shell particle.

Definition at line 139 of file TwoOffShellCalculator.h.

Referenced by dGamma(), getMass(), otherMass(), and resetMass().

◆ _scale

Energy2 Herwig::TwoOffShellCalculator::_scale
mutableprivate

the mass squared of the decaying particle

Definition at line 154 of file TwoOffShellCalculator.h.

Referenced by dGamma().

◆ _themass

int Herwig::TwoOffShellCalculator::_themass
private

The second mass which is offshell.

Definition at line 125 of file TwoOffShellCalculator.h.

Referenced by dGamma().


The documentation for this class was generated from the following file: