herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
Herwig::TwoBodyAllOnCalculator Class Reference

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>

Inheritance diagram for Herwig::TwoBodyAllOnCalculator:

Public Member Functions

 TwoBodyAllOnCalculator (tGenericWidthGeneratorPtr inwidth, int imode, Energy m1, Energy m2)
 Constructor. 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
 

Private Member Functions

TwoBodyAllOnCalculatoroperator= (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

- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 

Detailed Description

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.

See also
TwoBodyAllOnCalculator

Definition at line 30 of file TwoBodyAllOnCalculator.h.

Constructor & Destructor Documentation

◆ TwoBodyAllOnCalculator()

Herwig::TwoBodyAllOnCalculator::TwoBodyAllOnCalculator ( tGenericWidthGeneratorPtr  inwidth,
int  imode,
Energy  m1,
Energy  m2 
)
inline

Constructor.

Parameters
inwidthPointer to the GenericWidthGenerator class.
imodeThe mode in the GenericWidthGenerator class we are integrating
m1The mass of the first particle.
m2The mass of the second particle.

Definition at line 49 of file TwoBodyAllOnCalculator.h.

Member Function Documentation

◆ getMass()

Energy Herwig::TwoBodyAllOnCalculator::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 82 of file TwoBodyAllOnCalculator.h.

References ThePEG::Exception::runerror.

◆ otherMass()

Energy Herwig::TwoBodyAllOnCalculator::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 96 of file TwoBodyAllOnCalculator.h.

References ThePEG::Exception::runerror.

◆ partialWidth()

Energy Herwig::TwoBodyAllOnCalculator::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::TwoBodyAllOnCalculator::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 68 of file TwoBodyAllOnCalculator.h.

References ThePEG::Exception::runerror.


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