thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
PDF
NoPDF.h
1
// -*- C++ -*-
2
//
3
// NoPDF.h is a part of ThePEG - Toolkit for HEP Event Generation
4
// Copyright (C) 1999-2019 Leif Lonnblad
5
//
6
// ThePEG 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 ThePEG_NoPDF_H
10
#define ThePEG_NoPDF_H
11
// This is the declaration of the NoPDF class.
12
13
#include "ThePEG/PDF/PDFBase.h"
14
// #include "NoPDF.fh"
15
// #include "NoPDF.xh"
16
17
namespace
ThePEG
{
18
29
class
NoPDF
:
public
PDFBase
{
30
31
public
:
32
38
virtual
bool
canHandleParticle
(
tcPDPtr
particle)
const
;
39
44
virtual
bool
canHandle
(
tcPDPtr
particle)
const
;
45
51
virtual
bool
hasPoleIn1
(
tcPDPtr
particle,
tcPDPtr
parton)
const
;
52
56
virtual
cPDVector
partons
(
tcPDPtr
p)
const
;
57
61
virtual
double
xfl
(
tcPDPtr
particle,
tcPDPtr
parton,
Energy2
partonScale,
62
double
l,
Energy2
particleScale =
ZERO
)
const
;
64
65
public
:
66
70
static
void
Init
();
71
72
protected
:
73
80
virtual
IBPtr
clone
()
const
;
81
86
virtual
IBPtr
fullclone
()
const
;
88
89
private
:
90
94
static
NoPIOClassDescription<NoPDF>
initNoPDF
;
95
99
NoPDF
&
operator=
(
const
NoPDF
&) =
delete
;
100
101
};
102
107
template
<>
108
struct
BaseClassTrait
<
NoPDF
,1>:
public
ClassTraitsType
{
110
typedef
PDFBase
NthBase
;
111
};
112
115
template
<>
116
struct
ClassTraits<NoPDF>:
public
ClassTraitsBase<NoPDF> {
118
static
string
className
() {
return
"ThePEG::NoPDF"
; }
119
};
120
123
}
124
125
#endif
/* ThePEG_NoPDF_H */
ThePEG::NoPDF
NoPDF inherits from PDFBase and represents particles without sub-structure.
Definition:
NoPDF.h:29
ThePEG::NoPDF::operator=
NoPDF & operator=(const NoPDF &)=delete
Private and non-existent assignment operator.
ThePEG::NoPDF::partons
virtual cPDVector partons(tcPDPtr p) const
Simply return the particle.
ThePEG::NoPDF::canHandle
virtual bool canHandle(tcPDPtr particle) const
Return true if canHandleParticle() and if the corresponding method for remnantHandler() returns true.
ThePEG::NoPDF::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::NoPDF::initNoPDF
static NoPIOClassDescription< NoPDF > initNoPDF
Describe a concrete class without persistent data.
Definition:
NoPDF.h:94
ThePEG::NoPDF::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::NoPDF::Init
static void Init()
Standard Init function used to initialize the interface.
ThePEG::NoPDF::canHandleParticle
virtual bool canHandleParticle(tcPDPtr particle) const
Return true because we can handle any particle.
ThePEG::NoPDF::xfl
virtual double xfl(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
The delta function.
ThePEG::NoPDF::hasPoleIn1
virtual bool hasPoleIn1(tcPDPtr particle, tcPDPtr parton) const
Return true if this PDF has a pole at $x=1$ for the given particle and parton.
ThePEG::NoPIOClassDescription
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
Definition:
ClassDescription.h:381
ThePEG::PDFBase
PDFBase is the base class for implementing parton density functions for particles with sub-structure.
Definition:
PDFBase.h:40
ThePEG::Pointer::RCPtr
RCPtr is a reference counted (smart) pointer.
Definition:
RCPtr.h:60
ThePEG::Pointer::TransientConstRCPtr
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
Definition:
RCPtr.h:696
ThePEG::Qty< 0, 2, 0 >
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::ZERO
constexpr ZeroUnit ZERO
ZERO can be used as zero for any unitful quantity.
Definition:
PhysicalQty.h:35
ThePEG::cPDVector
vector< cPDPtr > cPDVector
A vector of pointers to const ParticleData objects.
Definition:
Containers.h:36
ThePEG::BaseClassTrait
BaseClassTraits describes the base classes of the templated class.
Definition:
ClassTraits.h:156
ThePEG::BaseClassTrait::NthBase
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
Definition:
ClassTraits.h:161
ThePEG::ClassTraitsBase::className
static string className()
Return the name of class T.
Definition:
ClassTraits.h:66
ThePEG::ClassTraitsType
ClassTraitsType is an empty, non-polymorphic, base class.
Definition:
ClassTraits.h:30
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6