herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
Dipole
Base
DipoleEvolutionOrdering.h
1
// -*- C++ -*-
2
//
3
// DipoleEvolutionOrdering.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_DipoleEvolutionOrdering_H
10
#define HERWIG_DipoleEvolutionOrdering_H
11
//
12
// This is the declaration of the DipoleEvolutionOrdering class.
13
//
14
15
#include "ThePEG/Handlers/HandlerBase.h"
16
17
#include "Herwig/Shower/Dipole/Base/Dipole.h"
18
#include "Herwig/Shower/Dipole/Base/DipoleChain.h"
19
#include "Herwig/Shower/Dipole/Kernels/DipoleSplittingKernel.h"
20
21
namespace
Herwig
{
22
23
using namespace
ThePEG
;
24
33
class
DipoleEvolutionOrdering
:
public
HandlerBase
{
34
35
public
:
36
42
DipoleEvolutionOrdering
();
43
47
virtual
~DipoleEvolutionOrdering
();
49
50
public
:
51
56
virtual
bool
independentDipoles
()
const
{
return
false
; }
57
62
virtual
Energy
hardScale
(
tPPtr
emitter,
tPPtr
spectator,
63
double
emitterX,
double
spectatorX,
64
const
DipoleSplittingKernel
&,
65
const
DipoleIndex
&)
const
= 0;
66
72
virtual
void
setEvolutionScale
(Energy scale,
73
const
DipoleSplittingInfo
&,
74
DipoleChain
&,
75
pair<list<Dipole>::iterator,list<Dipole>::iterator>)
const
= 0;
76
82
virtual
void
setEvolutionScale
(Energy scale,
83
const
DipoleSplittingInfo
&,
84
DipoleChain
&,
85
list<Dipole>::iterator)
const
= 0;
86
90
virtual
Energy
evolutionScale
(
const
DipoleSplittingInfo
&,
91
const
DipoleSplittingKernel
&)
const
= 0;
92
97
virtual
Energy
maxPt
(Energy scale,
98
const
DipoleSplittingInfo
&,
99
const
DipoleSplittingKernel
&)
const
= 0;
100
101
public
:
102
109
void
persistentOutput
(
PersistentOStream
& os)
const
;
110
116
void
persistentInput
(
PersistentIStream
& is,
int
version);
118
125
static
void
Init
();
126
127
// If needed, insert declarations of virtual function defined in the
128
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
129
130
131
private
:
132
137
static
AbstractClassDescription<DipoleEvolutionOrdering>
initDipoleEvolutionOrdering
;
138
143
DipoleEvolutionOrdering
&
operator=
(
const
DipoleEvolutionOrdering
&) =
delete
;
144
145
};
146
147
}
148
149
#include "ThePEG/Utilities/ClassTraits.h"
150
151
namespace
ThePEG
{
152
157
template
<>
158
struct
BaseClassTrait
<
Herwig
::DipoleEvolutionOrdering,1> {
160
typedef
HandlerBase
NthBase
;
161
};
162
165
template
<>
166
struct
ClassTraits
<
Herwig
::DipoleEvolutionOrdering>
167
:
public
ClassTraitsBase
<Herwig::DipoleEvolutionOrdering> {
169
static
string
className
() {
return
"Herwig::DipoleEvolutionOrdering"
; }
177
static
string
library
() {
return
"HwDipoleShower.so"
; }
178
};
179
182
}
183
184
#endif
/* HERWIG_DipoleEvolutionOrdering_H */
Herwig::DipoleChain
The DipoleChain class is used by the dipole shower to represent a chain of dipoles.
Definition:
DipoleChain.h:29
Herwig::DipoleEvolutionOrdering
DipoleEvolutionOrdering defines a particular evolution algortihm for the dipole shower.
Definition:
DipoleEvolutionOrdering.h:33
Herwig::DipoleEvolutionOrdering::setEvolutionScale
virtual void setEvolutionScale(Energy scale, const DipoleSplittingInfo &, DipoleChain &, list< Dipole >::iterator) const =0
For the given performed splitting, dipole chain and dipole taking a recoil, set the next scale.
Herwig::DipoleEvolutionOrdering::hardScale
virtual Energy hardScale(tPPtr emitter, tPPtr spectator, double emitterX, double spectatorX, const DipoleSplittingKernel &, const DipoleIndex &) const =0
For the given dipole and splitting kernel return the hard scale.
Herwig::DipoleEvolutionOrdering::DipoleEvolutionOrdering
DipoleEvolutionOrdering()
The default constructor.
Herwig::DipoleEvolutionOrdering::~DipoleEvolutionOrdering
virtual ~DipoleEvolutionOrdering()
The destructor.
Herwig::DipoleEvolutionOrdering::maxPt
virtual Energy maxPt(Energy scale, const DipoleSplittingInfo &, const DipoleSplittingKernel &) const =0
Return the maximum pt corresponding to the given evolution scale.
Herwig::DipoleEvolutionOrdering::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::DipoleEvolutionOrdering::setEvolutionScale
virtual void setEvolutionScale(Energy scale, const DipoleSplittingInfo &, DipoleChain &, pair< list< Dipole >::iterator, list< Dipole >::iterator >) const =0
For the given performed splitting, dipole chain and dipoles originating from the splitting,...
Herwig::DipoleEvolutionOrdering::independentDipoles
virtual bool independentDipoles() const
Return true, if this ordering requests an independent dipole evolution.
Definition:
DipoleEvolutionOrdering.h:56
Herwig::DipoleEvolutionOrdering::operator=
DipoleEvolutionOrdering & operator=(const DipoleEvolutionOrdering &)=delete
The assignment operator is private and must never be called.
Herwig::DipoleEvolutionOrdering::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::DipoleEvolutionOrdering::evolutionScale
virtual Energy evolutionScale(const DipoleSplittingInfo &, const DipoleSplittingKernel &) const =0
For the given selected splitting return the evolution scale.
Herwig::DipoleEvolutionOrdering::initDipoleEvolutionOrdering
static AbstractClassDescription< DipoleEvolutionOrdering > initDipoleEvolutionOrdering
The static object used to initialize the description of this class.
Definition:
DipoleEvolutionOrdering.h:137
Herwig::DipoleEvolutionOrdering::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::DipoleIndex
DipoleIndex is used to index splitting generators for a particular dipole.
Definition:
DipoleSplittingInfo.h:35
Herwig::DipoleSplittingInfo
DipoleSplittingInfo contains all parameters to generate a full dipole splitting.
Definition:
DipoleSplittingInfo.h:209
Herwig::DipoleSplittingKernel
DipoleSplittingKernel is the base class for all kernels used within the dipole shower.
Definition:
DipoleSplittingKernel.h:41
ThePEG::AbstractClassDescription
ThePEG::HandlerBase
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::tPPtr
ThePEG::Ptr< Particle >::transient_pointer tPPtr
ThePEG::BaseClassTrait
ThePEG::BaseClassTrait::NthBase
int NthBase
ThePEG::ClassTraitsBase
ThePEG::ClassTraitsBase::className
static string className()
ThePEG::ClassTraitsBase::library
static string library()
ThePEG::ClassTraits
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6