herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
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. More...
 
Energy partialWidth (Energy2 scale) const
 member to calculate the partial width. More...
 
void resetMass (int imass, Energy mass)
 Get the mass of one of the decay products. More...
 
Energy getMass (const int imass) const
 Get the mass of one of the decay products. More...
 
Energy otherMass (const int imass) const
 Get the masses of all bar the one specified. More...
 
- Public Member Functions inherited from Herwig::WidthCalculatorBase
virtual ~WidthCalculatorBase ()
 Destructor.
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 

Protected Member Functions

Energy dGamma (Energy mass) const
 The integrand. More...
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const 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.

◆ 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.

◆ 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.

◆ 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.


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