herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
Dipole
Kinematics
FILightKinematics.h
1
// -*- C++ -*-
2
//
3
// FILightKinematics.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_FILightKinematics_H
10
#define HERWIG_FILightKinematics_H
11
//
12
// This is the declaration of the FILightKinematics class.
13
//
14
15
#include "DipoleSplittingKinematics.h"
16
17
namespace
Herwig
{
18
19
using namespace
ThePEG
;
20
29
class
FILightKinematics
:
public
DipoleSplittingKinematics
{
30
31
public
:
32
36
FILightKinematics
();
37
38
public
:
39
43
virtual
Energy
ptMax
(Energy dScale,
44
double
emX,
double
specX,
45
const
DipoleIndex
& dIndex,
46
const
DipoleSplittingKernel
&)
const
;
47
51
virtual
Energy
QMax
(Energy dScale,
52
double
emX,
double
specX,
53
const
DipoleIndex
& dIndex,
54
const
DipoleSplittingKernel
&)
const
;
55
59
virtual
Energy
PtFromQ
(Energy scale,
const
DipoleSplittingInfo
&)
const
;
60
64
virtual
Energy
QFromPt
(Energy scale,
const
DipoleSplittingInfo
&)
const
;
65
69
virtual
pair<double,double>
zBoundaries
(Energy pt,
70
const
DipoleSplittingInfo
& dInfo,
71
const
DipoleSplittingKernel
& split)
const
;
72
78
virtual
bool
generateSplitting
(
double
kappa,
double
xi,
double
phi,
79
DipoleSplittingInfo
& dIndex,
80
const
DipoleSplittingKernel
&);
81
87
virtual
void
generateKinematics
(
const
Lorentz5Momentum& pEmitter,
88
const
Lorentz5Momentum& pSpectator,
89
const
DipoleSplittingInfo
& dInfo);
90
91
public
:
92
99
void
persistentOutput
(
PersistentOStream
& os)
const
;
100
106
void
persistentInput
(
PersistentIStream
& is,
int
version);
108
115
static
void
Init
();
116
117
protected
:
118
125
virtual
IBPtr
clone
()
const
;
126
131
virtual
IBPtr
fullclone
()
const
;
133
134
135
// If needed, insert declarations of virtual function defined in the
136
// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
137
138
139
private
:
140
145
static
ClassDescription<FILightKinematics>
initFILightKinematics
;
146
151
FILightKinematics
&
operator=
(
const
FILightKinematics
&) =
delete
;
152
153
};
154
155
}
156
157
#include "ThePEG/Utilities/ClassTraits.h"
158
159
namespace
ThePEG
{
160
165
template
<>
166
struct
BaseClassTrait
<
Herwig
::FILightKinematics,1> {
168
typedef
Herwig::DipoleSplittingKinematics
NthBase
;
169
};
170
173
template
<>
174
struct
ClassTraits
<
Herwig
::FILightKinematics>
175
:
public
ClassTraitsBase
<Herwig::FILightKinematics> {
177
static
string
className
() {
return
"Herwig::FILightKinematics"
; }
185
static
string
library
() {
return
"HwDipoleShower.so"
; }
186
};
187
190
}
191
192
#endif
/* HERWIG_FILightKinematics_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::FILightKinematics
FILightKinematics implements massless splittings off a final-initial dipole.
Definition:
FILightKinematics.h:29
Herwig::FILightKinematics::PtFromQ
virtual Energy PtFromQ(Energy scale, const DipoleSplittingInfo &) const
Return the pt given a virtuality.
Herwig::FILightKinematics::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::FILightKinematics::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::FILightKinematics::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::FILightKinematics::FILightKinematics
FILightKinematics()
The default constructor.
Herwig::FILightKinematics::QFromPt
virtual Energy QFromPt(Energy scale, const DipoleSplittingInfo &) const
Return the virtuality given a pt.
Herwig::FILightKinematics::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::FILightKinematics::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::FILightKinematics::zBoundaries
virtual pair< double, double > zBoundaries(Energy pt, const DipoleSplittingInfo &dInfo, const DipoleSplittingKernel &split) const
Return the boundaries on the momentum fraction.
Herwig::FILightKinematics::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::FILightKinematics::initFILightKinematics
static ClassDescription< FILightKinematics > initFILightKinematics
The static object used to initialize the description of this class.
Definition:
FILightKinematics.h:145
Herwig::FILightKinematics::operator=
FILightKinematics & operator=(const FILightKinematics &)=delete
The assignment operator is private and must never be called.
Herwig::FILightKinematics::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::FILightKinematics::ptMax
virtual Energy ptMax(Energy dScale, double emX, double specX, const DipoleIndex &dIndex, const DipoleSplittingKernel &) const
Return the maximum pt for the given dipole scale.
Herwig::FILightKinematics::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...
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