herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
Herwig::OneOffShellCalculator Class Reference

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

#include <OneOffShellCalculator.h>

Inheritance diagram for Herwig::OneOffShellCalculator:

Public Member Functions

 OneOffShellCalculator (int inloc, WidthCalculatorBasePtr inwidth, GenericMassGeneratorPtr inmass, Energy inmin)
 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 min) 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

OneOffShellCalculatoroperator= (const OneOffShellCalculator &)=delete
 Private and non-existent assignment operator.
 

Private Attributes

int _themass
 which mass is offshell.
 
Energy _minmass
 the minimum allowed mass.
 
WidthCalculatorBasePtr _onshellwidth
 pointer to object calculating the on-shell width.
 
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 OneOffShellIntegrand
 The OneOffShellIntegrand is a friend to allow access to the members needed for the integration without making the members public.
 

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 another WidthCalculatorBase object to integrate over the mass of on of the external particles which can be off-shell for running width calculations.

See also
WidthCalculatorBase
OneOffShellIntegrand

Definition at line 35 of file OneOffShellCalculator.h.

Constructor & Destructor Documentation

◆ OneOffShellCalculator()

Herwig::OneOffShellCalculator::OneOffShellCalculator ( int  inloc,
WidthCalculatorBasePtr  inwidth,
GenericMassGeneratorPtr  inmass,
Energy  inmin 
)
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.
inmassPointer to the GenericMassGenerator for the off-shell particle.
inminThe minimum mass for the off-shell particle.

Definition at line 55 of file OneOffShellCalculator.h.

Member Function Documentation

◆ dGamma()

Energy Herwig::OneOffShellCalculator::dGamma ( Energy  min) const
inlineprotected

The integrand.

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

Definition at line 106 of file OneOffShellCalculator.h.

◆ getMass()

Energy Herwig::OneOffShellCalculator::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 85 of file OneOffShellCalculator.h.

◆ otherMass()

Energy Herwig::OneOffShellCalculator::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 95 of file OneOffShellCalculator.h.

◆ partialWidth()

Energy Herwig::OneOffShellCalculator::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::OneOffShellCalculator::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 75 of file OneOffShellCalculator.h.


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