herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
PDT
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
29
class
WidthCalculatorBase
:
public
Pointer::ReferenceCounted
{
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 */
ThePEG.h
Herwig::WidthCalculatorBase
The WidthCalculatorBase class is a base class to be used by classes which calculate partial widths fo...
Definition:
WidthCalculatorBase.h:29
Herwig::WidthCalculatorBase::otherMass
virtual Energy otherMass(const int imass) const =0
Get the masses of all bar the one specified.
Herwig::WidthCalculatorBase::operator=
WidthCalculatorBase & operator=(const WidthCalculatorBase &)=delete
Private and non-existent assignment operator.
Herwig::WidthCalculatorBase::getMass
virtual Energy getMass(const int imass) const =0
Get the mass of one of the decay products.
Herwig::WidthCalculatorBase::~WidthCalculatorBase
virtual ~WidthCalculatorBase()
Destructor.
Herwig::WidthCalculatorBase::resetMass
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...
Herwig::WidthCalculatorBase::partialWidth
virtual Energy partialWidth(Energy2 scale) const =0
Calculate the partial width.
ThePEG::Pointer::ReferenceCounted
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6