herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
Dipole
Kinematics
IFLightKinematics.h
1
// -*- C++ -*-
2
//
3
// IFLightKinematics.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_IFLightKinematics_H
10
#define HERWIG_IFLightKinematics_H
11
//
12
// This is the declaration of the IFLightKinematics class.
13
//
14
15
#include "DipoleSplittingKinematics.h"
16
17
namespace
Herwig
{
18
19
using namespace
ThePEG
;
20
31
class
IFLightKinematics
:
public
DipoleSplittingKinematics
{
32
33
public
:
34
38
IFLightKinematics
();
39
40
public
:
41
45
virtual
Energy
ptMax
(Energy dScale,
46
double
emX,
double
specX,
47
const
DipoleIndex
&,
48
const
DipoleSplittingKernel
&)
const
;
49
53
virtual
Energy
QMax
(Energy dScale,
54
double
emX,
double
specX,
55
const
DipoleIndex
& dIndex,
56
const
DipoleSplittingKernel
&)
const
;
57
61
virtual
Energy
PtFromQ
(Energy scale,
const
DipoleSplittingInfo
&)
const
;
62
66
virtual
Energy
QFromPt
(Energy scale,
const
DipoleSplittingInfo
&)
const
;
67
71
virtual
pair<double,double>
zBoundaries
(Energy pt,
72
const
DipoleSplittingInfo
& dInfo,
73
const
DipoleSplittingKernel
& split)
const
;
74
80
virtual
bool
generateSplitting
(
double
kappa,
double
xi,
double
phi,
81
DipoleSplittingInfo
& dIndex,
82
const
DipoleSplittingKernel
&);
83
89
virtual
void
generateKinematics
(
const
Lorentz5Momentum& pEmitter,
90
const
Lorentz5Momentum& pSpectator,
91
const
DipoleSplittingInfo
& dInfo);
92
93
public
:
94
101
void
persistentOutput
(
PersistentOStream
& os)
const
;
102
108
void
persistentInput
(
PersistentIStream
& is,
int
version);
110
117
static
void
Init
();
118
119
protected
:
120
127
virtual
IBPtr
clone
()
const
;
128
133
virtual
IBPtr
fullclone
()
const
;
135
136
137
// If needed, insert declarations of virtual function defined in the
138
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
139
140
141
private
:
142
147
static
ClassDescription<IFLightKinematics>
initIFLightKinematics
;
148
153
IFLightKinematics
&
operator=
(
const
IFLightKinematics
&) =
delete
;
154
155
private
:
156
160
bool
theCollinearScheme
;
161
162
};
163
164
}
165
166
#include "ThePEG/Utilities/ClassTraits.h"
167
168
namespace
ThePEG
{
169
174
template
<>
175
struct
BaseClassTrait
<
Herwig
::IFLightKinematics,1> {
177
typedef
Herwig::DipoleSplittingKinematics
NthBase
;
178
};
179
182
template
<>
183
struct
ClassTraits
<
Herwig
::IFLightKinematics>
184
:
public
ClassTraitsBase
<Herwig::IFLightKinematics> {
186
static
string
className
() {
return
"Herwig::IFLightKinematics"
; }
194
static
string
library
() {
return
"HwDipoleShower.so"
; }
195
};
196
199
}
200
201
#endif
/* HERWIG_IFLightKinematics_H */
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
Herwig::DipoleSplittingKinematics
DipoleSplittingKinematics is the base class for dipole splittings as performed in the dipole shower.
Definition:
DipoleSplittingKinematics.h:41
Herwig::IFLightKinematics
IFLightKinematics implements massless splittings off an initial-final dipole.
Definition:
IFLightKinematics.h:31
Herwig::IFLightKinematics::operator=
IFLightKinematics & operator=(const IFLightKinematics &)=delete
The assignment operator is private and must never be called.
Herwig::IFLightKinematics::theCollinearScheme
bool theCollinearScheme
Wether or not to choose the ‘collinear’ scheme.
Definition:
IFLightKinematics.h:160
Herwig::IFLightKinematics::QFromPt
virtual Energy QFromPt(Energy scale, const DipoleSplittingInfo &) const
Return the virtuality given a pt.
Herwig::IFLightKinematics::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::IFLightKinematics::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::IFLightKinematics::PtFromQ
virtual Energy PtFromQ(Energy scale, const DipoleSplittingInfo &) const
Return the pt given a virtuality.
Herwig::IFLightKinematics::initIFLightKinematics
static ClassDescription< IFLightKinematics > initIFLightKinematics
The static object used to initialize the description of this class.
Definition:
IFLightKinematics.h:147
Herwig::IFLightKinematics::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::IFLightKinematics::generateSplitting
virtual bool generateSplitting(double kappa, double xi, double phi, DipoleSplittingInfo &dIndex, const DipoleSplittingKernel &)
Generate splitting variables given three random numbers and the momentum fractions of the emitter and...
Herwig::IFLightKinematics::ptMax
virtual Energy ptMax(Energy dScale, double emX, double specX, const DipoleIndex &, const DipoleSplittingKernel &) const
Return the maximum pt for the given dipole scale.
Herwig::IFLightKinematics::QMax
virtual Energy QMax(Energy dScale, double emX, double specX, const DipoleIndex &dIndex, const DipoleSplittingKernel &) const
Return the maximum virtuality for the given dipole scale.
Herwig::IFLightKinematics::generateKinematics
virtual void generateKinematics(const Lorentz5Momentum &pEmitter, const Lorentz5Momentum &pSpectator, const DipoleSplittingInfo &dInfo)
Generate the full kinematics given emitter and spectator momentum and a previously completeted Dipole...
Herwig::IFLightKinematics::zBoundaries
virtual pair< double, double > zBoundaries(Energy pt, const DipoleSplittingInfo &dInfo, const DipoleSplittingKernel &split) const
Return the boundaries on the momentum fraction.
Herwig::IFLightKinematics::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::IFLightKinematics::IFLightKinematics
IFLightKinematics()
The default constructor.
Herwig::IFLightKinematics::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::ClassDescription
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
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