herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
PDF
IncomingPhotonEvolver.h
1
// -*- C++ -*-
2
#ifndef HERWIG_IncomingPhotonEvolver_H
3
#define HERWIG_IncomingPhotonEvolver_H
4
//
5
// This is the declaration of the IncomingPhotonEvolver class.
6
//
7
8
#include "ThePEG/Handlers/StepHandler.h"
9
10
namespace
Herwig
{
11
12
using namespace
ThePEG
;
13
22
class
IncomingPhotonEvolver
:
public
StepHandler
{
23
24
public
:
25
31
IncomingPhotonEvolver
();
33
34
public
:
35
53
virtual
void
handle
(
EventHandler
& eh,
const
tPVector
& tagged,
54
const
Hint
& hint);
56
57
public
:
58
65
void
persistentOutput
(
PersistentOStream
& os)
const
;
66
72
void
persistentInput
(
PersistentIStream
& is,
int
version);
74
81
static
void
Init
();
82
83
protected
:
84
89
inline
double
getBeta
(
const
double
E,
const
double
q,
90
const
double
Ep,
const
double
qp)
const
91
{
return
(q*E-qp*Ep)/(
sqr
(qp)+
sqr
(E));}
92
93
protected
:
94
101
virtual
IBPtr
clone
()
const
;
102
107
virtual
IBPtr
fullclone
()
const
;
109
110
protected
:
111
119
virtual
void
doinit
();
121
122
private
:
123
128
IncomingPhotonEvolver
&
operator=
(
const
IncomingPhotonEvolver
&) =
delete
;
129
130
private
:
134
PDFPtr
PDF_
;
135
139
double
PDFMax_
;
140
144
double
PDFPower_
;
145
149
Energy
minpT_
;
150
154
Energy
minVirtuality_
;
155
160
unsigned
int
vetoTries_
;
161
165
unsigned
int
virtualityTries_
;
166
170
tcPDPtr
photon_
;
171
175
vector<tcPDPtr>
partons_
;
176
};
177
178
}
179
180
#endif
/* HERWIG_IncomingPhotonEvolver_H */
Herwig::IncomingPhotonEvolver
The IncomingPhotonEvolver class performs the backward evolution of a photon in a partonic process to ...
Definition:
IncomingPhotonEvolver.h:22
Herwig::IncomingPhotonEvolver::getBeta
double getBeta(const double E, const double q, const double Ep, const double qp) const
Compute boost parameter along z axis to get (Ep, any perp, qp) from (E, same perp,...
Definition:
IncomingPhotonEvolver.h:89
Herwig::IncomingPhotonEvolver::vetoTries_
unsigned int vetoTries_
Maximum number of attempts to generate the scale of the branching.
Definition:
IncomingPhotonEvolver.h:160
Herwig::IncomingPhotonEvolver::minVirtuality_
Energy minVirtuality_
The minimum space-like virtuality of the photon.
Definition:
IncomingPhotonEvolver.h:154
Herwig::IncomingPhotonEvolver::virtualityTries_
unsigned int virtualityTries_
Maximum number of attempts to regenerate the virtuality.
Definition:
IncomingPhotonEvolver.h:165
Herwig::IncomingPhotonEvolver::PDFMax_
double PDFMax_
The maximum value of the PDF for the sample.
Definition:
IncomingPhotonEvolver.h:139
Herwig::IncomingPhotonEvolver::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::IncomingPhotonEvolver::IncomingPhotonEvolver
IncomingPhotonEvolver()
The default constructor.
Herwig::IncomingPhotonEvolver::photon_
tcPDPtr photon_
Photon ParticleData object.
Definition:
IncomingPhotonEvolver.h:170
Herwig::IncomingPhotonEvolver::handle
virtual void handle(EventHandler &eh, const tPVector &tagged, const Hint &hint)
The main function called by the EventHandler class to perform a step.
Herwig::IncomingPhotonEvolver::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::IncomingPhotonEvolver::PDF_
PDFPtr PDF_
PDF set to use.
Definition:
IncomingPhotonEvolver.h:134
Herwig::IncomingPhotonEvolver::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::IncomingPhotonEvolver::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::IncomingPhotonEvolver::PDFPower_
double PDFPower_
The power for the sampling of the PDF.
Definition:
IncomingPhotonEvolver.h:144
Herwig::IncomingPhotonEvolver::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::IncomingPhotonEvolver::operator=
IncomingPhotonEvolver & operator=(const IncomingPhotonEvolver &)=delete
The assignment operator is private and must never be called.
Herwig::IncomingPhotonEvolver::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::IncomingPhotonEvolver::minpT_
Energy minpT_
The minimum starting scale for the evolution.
Definition:
IncomingPhotonEvolver.h:149
Herwig::IncomingPhotonEvolver::partons_
vector< tcPDPtr > partons_
Partons to backward evolve to.
Definition:
IncomingPhotonEvolver.h:175
ThePEG::EventHandler
ThePEG::Hint
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::StepHandler
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::tPVector
vector< tPPtr > tPVector
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
ThePEG::PDFPtr
ThePEG::Ptr< PDFBase >::pointer PDFPtr
ThePEG::sqr
constexpr auto sqr(const T &x) -> decltype(x *x)
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6