herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
SaSPhotonPDF.h
1// -*- C++ -*-
2#ifndef Herwig_SaSPhotonPDF_H
3#define Herwig_SaSPhotonPDF_H
4//
5// This is the declaration of the SaSPhotonPDF class.
6//
7
8#include "ThePEG/PDF/PDFBase.h"
9
10namespace Herwig {
11
12using namespace ThePEG;
13
20class SaSPhotonPDF: public PDFBase {
21
22public:
23
27 SaSPhotonPDF() : iset_(2), ip_(0) {}
28
29public:
30
37 virtual bool canHandleParticle(tcPDPtr particle) const;
38
43 virtual cPDVector partons(tcPDPtr particle) const;
44
51 virtual double xfl(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale,
52 double l, Energy2 particleScale = 0.0*GeV2) const;
53
62 virtual double xfvl(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale,
63 double l, Energy2 particleScale = 0.0*GeV2) const;
65
66
67public:
68
76
82 void persistentInput(PersistentIStream & is, int version);
84
91 static void Init();
92
93protected:
94
101 virtual IBPtr clone() const;
102
107 virtual IBPtr fullclone() const;
109
110private:
111
117
118private:
119
123 mutable int iset_;
124
128 mutable int ip_;
129
130};
131
132}
133
134#endif /* Herwig_SaSPhotonPDF_H */
The SaSPhotonPDF class provides an interface to the.
Definition: SaSPhotonPDF.h:20
virtual IBPtr clone() const
Make a simple clone of this object.
virtual double xfvl(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=0.0 *GeV2) const
The valence density.
static void Init()
The standard Init function used to initialize the interfaces.
SaSPhotonPDF & operator=(const SaSPhotonPDF &)=delete
The assignment operator is private and must never be called.
virtual cPDVector partons(tcPDPtr particle) const
Return the partons which this PDF may extract from the given particle.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual double xfl(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=0.0 *GeV2) const
The density.
virtual bool canHandleParticle(tcPDPtr particle) const
Return true if this PDF can handle the extraction of partons from the given particle.
int ip_
Scheme used to evaluate off-shell anomalous component.
Definition: SaSPhotonPDF.h:128
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
SaSPhotonPDF()
The default constructor.
Definition: SaSPhotonPDF.h:27
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
vector< cPDPtr > cPDVector