10 #define ThePEG_NoPDF_H
13 #include "ThePEG/PDF/PDFBase.h"
62 double l, Energy2 particleScale =
ZERO)
const;
116 struct ClassTraits<NoPDF>:
public ClassTraitsBase<NoPDF> {
118 static string className() {
return "ThePEG::NoPDF"; }
NoPDF inherits from PDFBase and represents particles without sub-structure.
static void Init()
Standard Init function used to initialize the interface.
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.
virtual bool canHandleParticle(tcPDPtr particle) const
Return true because we can handle any particle.
ClassTraitsType is an empty, non-polymorphic, base class.
virtual bool canHandle(tcPDPtr particle) const
Return true if canHandleParticle() and if the corresponding method for remnantHandler() returns true...
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
This is the main namespace within which all identifiers in ThePEG are declared.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
static NoPIOClassDescription< NoPDF > initNoPDF
Describe a concrete class without persistent data.
PDFBase is the base class for implementing parton density functions for particles with sub-structure...
RCPtr is a reference counted (smart) pointer.
virtual IBPtr clone() const
Make a simple clone of this object.
vector< cPDPtr > cPDVector
A vector of pointers to const ParticleData objects.
const ZeroUnit ZERO
ZERO can be used as zero for any unitful quantity.
NoPDF & operator=(const NoPDF &)
Private and non-existent assignment operator.
virtual cPDVector partons(tcPDPtr p) const
Simply return the particle.
static string className()
Return the name of class T.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
virtual double xfl(tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
The delta function.
BaseClassTraits describes the base classes of the templated class.