herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
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 //
14 #include "ThePEG/Config/ThePEG.h"
15 #include "ThePEG/Pointer/ReferenceCounted.h"
16 #include "WidthCalculatorBase.fh"
17 
18 namespace Herwig {
19 using namespace ThePEG;
20 
30 
31 public:
32 
36  virtual ~WidthCalculatorBase();
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 
70 private:
71 
75  WidthCalculatorBase & operator=(const WidthCalculatorBase &) = delete;
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...
-*- C++ -*-