herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
WidthCalculatorBase.h
1// -*- C++ -*-
2//
3// WidthCalculatorBase.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4// Copyright (C) 2002-2019 The Herwig Collaboration
5//
6// Herwig is licenced under version 3 of the GPL, see COPYING for details.
7// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8//
9#ifndef HERWIG_WidthCalculatorBase_H
10#define HERWIG_WidthCalculatorBase_H
11//
12// This is the declaration of the WidthCalculatorBase class.
13//
15#include "ThePEG/Pointer/ReferenceCounted.h"
16#include "WidthCalculatorBase.fh"
17
18namespace Herwig {
19using namespace ThePEG;
20
30
31public:
32
37
44 virtual Energy partialWidth(Energy2 scale) const =0;
45
52 virtual void resetMass(int imass,Energy mass) =0;
53
60 virtual Energy getMass(const int imass) const= 0;
61
68 virtual Energy otherMass(const int imass) const=0;
69
70private:
71
76
77};
78}
79
80#endif /* HERWIG_WidthCalculatorBase_H */
The WidthCalculatorBase class is a base class to be used by classes which calculate partial widths fo...
virtual Energy otherMass(const int imass) const =0
Get the masses of all bar the one specified.
WidthCalculatorBase & operator=(const WidthCalculatorBase &)=delete
Private and non-existent assignment operator.
virtual Energy getMass(const int imass) const =0
Get the mass of one of the decay products.
virtual ~WidthCalculatorBase()
Destructor.
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 i...
virtual Energy partialWidth(Energy2 scale) const =0
Calculate the partial width.
-*- C++ -*-