herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
ShowerAlpha.h
1
// -*- C++ -*-
2
//
3
// ShowerAlpha.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_ShowerAlpha_H
10
#define HERWIG_ShowerAlpha_H
11
//
12
// This is the declaration of the ShowerAlpha class.
13
//
14
15
#include "ThePEG/Interface/Interfaced.h"
16
#include "ShowerAlpha.fh"
17
18
namespace
Herwig
{
19
20
using namespace
ThePEG
;
21
49
class
ShowerAlpha
:
public
Interfaced
{
50
51
public
:
52
58
ShowerAlpha
() :
_scaleFactor
( 1.0 ) {}
60
61
public
:
62
73
virtual
double
value
(
const
Energy2 scale)
const
= 0;
74
80
virtual
double
overestimateValue
()
const
= 0;
81
88
virtual
double
ratio
(
const
Energy2 scale,
double
factor=1.)
const
= 0;
89
97
double
scaleFactor
()
const
{
return
_scaleFactor
;}
98
105
virtual
inline
double
showerValue
(
const
Energy2 scale)
const
{
106
return
value
(scale);
107
}
108
114
virtual
inline
double
showerOverestimateValue
()
const
{
115
return
overestimateValue
();
116
}
117
124
virtual
inline
double
showerRatio
(
const
Energy2 scale,
double
factor=1.)
const
{
125
return
ratio
(scale,factor);
126
}
127
131
virtual
void
initialize
() {}
133
134
public
:
135
142
void
persistentOutput
(
PersistentOStream
& os)
const
;
143
149
void
persistentInput
(
PersistentIStream
& is,
int
version);
151
158
static
void
Init
();
159
160
private
:
161
166
ShowerAlpha
&
operator=
(
const
ShowerAlpha
&) =
delete
;
167
168
private
:
169
173
double
_scaleFactor
;
174
175
};
176
177
}
178
179
#endif
/* HERWIG_ShowerAlpha_H */
Herwig::ShowerAlpha
This class is the abstract class from which all types of running couplings used in the Showering deri...
Definition:
ShowerAlpha.h:49
Herwig::ShowerAlpha::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::ShowerAlpha::_scaleFactor
double _scaleFactor
The scale factor.
Definition:
ShowerAlpha.h:173
Herwig::ShowerAlpha::showerOverestimateValue
virtual double showerOverestimateValue() const
Virtual method, which should be overridden in a derived class to provide an overestimate approximatio...
Definition:
ShowerAlpha.h:114
Herwig::ShowerAlpha::operator=
ShowerAlpha & operator=(const ShowerAlpha &)=delete
The assignment operator is private and must never be called.
Herwig::ShowerAlpha::initialize
virtual void initialize()
Initialize this coupling.
Definition:
ShowerAlpha.h:131
Herwig::ShowerAlpha::ShowerAlpha
ShowerAlpha()
The default constructor.
Definition:
ShowerAlpha.h:58
Herwig::ShowerAlpha::ratio
virtual double ratio(const Energy2 scale, double factor=1.) const =0
Virtual method which returns the ratio of the running alpha value at the input scale to the overestim...
Herwig::ShowerAlpha::overestimateValue
virtual double overestimateValue() const =0
Virtual method, which should be overridden in a derived class to provide an overestimate approximatio...
Herwig::ShowerAlpha::showerRatio
virtual double showerRatio(const Energy2 scale, double factor=1.) const
Virtual method which returns the ratio of the running alpha value at the input scale to the overestim...
Definition:
ShowerAlpha.h:124
Herwig::ShowerAlpha::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::ShowerAlpha::showerValue
virtual double showerValue(const Energy2 scale) const
Virtual method that is supposed to return the running alpha value evaluated at the input scale.
Definition:
ShowerAlpha.h:105
Herwig::ShowerAlpha::value
virtual double value(const Energy2 scale) const =0
Methods to return the coupling and the scaleFactor.
Herwig::ShowerAlpha::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::ShowerAlpha::scaleFactor
double scaleFactor() const
It returns the factor that multiplies the scale argument, , of the running coupling.
Definition:
ShowerAlpha.h:97
ThePEG::Interfaced
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6