herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
Dipole
Base
DipoleChainOrdering.h
1
// -*- C++ -*-
2
//
3
// DipoleChainOrdering.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_DipoleChainOrdering_H
10
#define HERWIG_DipoleChainOrdering_H
11
//
12
// This is the declaration of the DipoleChainOrdering class.
13
//
14
15
#include "DipoleEvolutionOrdering.h"
16
17
namespace
Herwig
{
18
19
using namespace
ThePEG
;
20
29
class
DipoleChainOrdering
:
public
DipoleEvolutionOrdering
{
30
31
public
:
32
36
DipoleChainOrdering
();
37
38
public
:
39
44
virtual
Energy
hardScale
(
tPPtr
emitter,
tPPtr
spectator,
45
double
emitterX,
double
spectatorX,
46
const
DipoleSplittingKernel
&,
47
const
DipoleIndex
&)
const
;
48
54
virtual
void
setEvolutionScale
(Energy scale,
55
const
DipoleSplittingInfo
&,
56
DipoleChain
&,
57
pair<list<Dipole>::iterator,list<Dipole>::iterator>)
const
;
58
64
virtual
void
setEvolutionScale
(Energy scale,
65
const
DipoleSplittingInfo
&,
66
DipoleChain
&,
67
list<Dipole>::iterator)
const
;
68
73
virtual
Energy
evolutionScale
(
const
DipoleSplittingInfo
& split,
74
const
DipoleSplittingKernel
&)
const
;
75
80
virtual
Energy
maxPt
(Energy scale,
81
const
DipoleSplittingInfo
&,
82
const
DipoleSplittingKernel
&)
const
;
83
84
public
:
85
92
void
persistentOutput
(
PersistentOStream
& os)
const
;
93
99
void
persistentInput
(
PersistentIStream
& is,
int
version);
101
108
static
void
Init
();
109
110
protected
:
111
118
virtual
IBPtr
clone
()
const
;
119
124
virtual
IBPtr
fullclone
()
const
;
126
127
128
// If needed, insert declarations of virtual function defined in the
129
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
130
131
private
:
132
137
bool
virtualityOrdering
;
138
139
private
:
140
145
static
ClassDescription<DipoleChainOrdering>
initDipoleChainOrdering
;
146
151
DipoleChainOrdering
&
operator=
(
const
DipoleChainOrdering
&) =
delete
;
152
153
};
154
155
}
156
157
#include "ThePEG/Utilities/ClassTraits.h"
158
159
namespace
ThePEG
{
160
165
template
<>
166
struct
BaseClassTrait
<
Herwig
::DipoleChainOrdering,1> {
168
typedef
Herwig::DipoleEvolutionOrdering
NthBase
;
169
};
170
173
template
<>
174
struct
ClassTraits
<
Herwig
::DipoleChainOrdering>
175
:
public
ClassTraitsBase
<Herwig::DipoleChainOrdering> {
177
static
string
className
() {
return
"Herwig::DipoleChainOrdering"
; }
185
static
string
library
() {
return
"HwDipoleShower.so"
; }
186
};
187
190
}
191
192
#endif
/* HERWIG_DipoleChainOrdering_H */
Herwig::DipoleChainOrdering
DipoleChainOrdering performs ordering on complete colour singlet dipole chains.
Definition:
DipoleChainOrdering.h:29
Herwig::DipoleChainOrdering::maxPt
virtual Energy maxPt(Energy scale, const DipoleSplittingInfo &, const DipoleSplittingKernel &) const
Return the maximum pt corresponding to the given evolution scale.
Herwig::DipoleChainOrdering::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::DipoleChainOrdering::setEvolutionScale
virtual void setEvolutionScale(Energy scale, const DipoleSplittingInfo &, DipoleChain &, pair< list< Dipole >::iterator, list< Dipole >::iterator >) const
For the given performed splitting, dipole chain and dipoles originating from the splitting,...
Herwig::DipoleChainOrdering::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::DipoleChainOrdering::setEvolutionScale
virtual void setEvolutionScale(Energy scale, const DipoleSplittingInfo &, DipoleChain &, list< Dipole >::iterator) const
For the given performed splitting, dipole chain and dipole taking a recoil, set the next scale.
Herwig::DipoleChainOrdering::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::DipoleChainOrdering::virtualityOrdering
bool virtualityOrdering
True, if virtuality instead of pt ordering should be performed.
Definition:
DipoleChainOrdering.h:137
Herwig::DipoleChainOrdering::operator=
DipoleChainOrdering & operator=(const DipoleChainOrdering &)=delete
The assignment operator is private and must never be called.
Herwig::DipoleChainOrdering::DipoleChainOrdering
DipoleChainOrdering()
The default constructor.
Herwig::DipoleChainOrdering::hardScale
virtual Energy hardScale(tPPtr emitter, tPPtr spectator, double emitterX, double spectatorX, const DipoleSplittingKernel &, const DipoleIndex &) const
For the given dipole and splitting kernel return the hard scale.
Herwig::DipoleChainOrdering::initDipoleChainOrdering
static ClassDescription< DipoleChainOrdering > initDipoleChainOrdering
The static object used to initialize the description of this class.
Definition:
DipoleChainOrdering.h:145
Herwig::DipoleChainOrdering::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::DipoleChainOrdering::evolutionScale
virtual Energy evolutionScale(const DipoleSplittingInfo &split, const DipoleSplittingKernel &) const
For the given selected splitting return the evolution scale.
Herwig::DipoleChainOrdering::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
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::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::ClassDescription
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::tPPtr
ThePEG::Ptr< Particle >::transient_pointer tPPtr
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
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